Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

Sounds? Yes, But One Per Time!

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
smurfed
n00b
n00b
Posts: 8
Joined: Wed Apr 13, 2005 6:32 pm

Sounds? Yes, But One Per Time!

  • Quote

Post by smurfed » Fri May 06, 2005 2:03 pm

Hello. I'm new to the whole thing and both ALSA and OSS architectures are a little blurry to me

I have an A7N8X motherboard. With a nvidia chipset. And I cannot hear 2 sonds at the same moment, example: if i'm listening to an mp3 with xmms, i cannot hear the notify sounds of aMSN or hear a flash animation in firefox.The same with mplayer: if im watching a video, i cannot hear any other sound.

I have alsa compiled in my kernel. And i also emerged all the files necessary to work. I really dont know what to do to make it works. :oops:
Top
ruben-
Apprentice
Apprentice
Posts: 197
Joined: Tue Nov 09, 2004 7:01 pm

  • Quote

Post by ruben- » Fri May 06, 2005 2:27 pm

http://gentoo-wiki.com/HOWTO_ALSA_sound_mixer_aka_dmix

- Ruben
Top
smurfed
n00b
n00b
Posts: 8
Joined: Wed Apr 13, 2005 6:32 pm

  • Quote

Post by smurfed » Fri May 06, 2005 2:32 pm

lspci | grep -i audio

Code: Select all

0000:00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev a1)
root@smurfed smurf #
cat /etc/modules.d/alsa

Code: Select all

# Alsa 0.9.X kernel modules' configuration file.
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.4 2004/11/16 01:31:22 eradicator Exp $

# ALSA portion
# OSS/Free portion

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.8 ---
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
# --- END: Generated by ALSACONF, do not edit. ---

And im using kernel 2.6.11-gentoo-r6.

---
ruben- wrote:http://gentoo-wiki.com/HOWTO_ALSA_sound_mixer_aka_dmix

- Ruben
Ruben, i've been through this HOWTO already. But the problem remains :?
Top
xafan
n00b
n00b
Posts: 13
Joined: Tue Apr 19, 2005 2:17 am

  • Quote

Post by xafan » Sat May 07, 2005 10:01 am

All the same for me, I've done that HOWTO as well.
Top
ruben-
Apprentice
Apprentice
Posts: 197
Joined: Tue Nov 09, 2004 7:01 pm

  • Quote

Post by ruben- » Sat May 07, 2005 10:47 am

Are your apps set to use ALSA output?

- Ruben
Top
xafan
n00b
n00b
Posts: 13
Joined: Tue Apr 19, 2005 2:17 am

  • Quote

Post by xafan » Sun May 08, 2005 2:14 am

ruben- wrote:Are your apps set to use ALSA output?

- Ruben
I'm not sure about Firefox but I know XMMS is using alsa output.
Top
Flandry
n00b
n00b
Posts: 52
Joined: Fri Feb 27, 2004 4:55 am
Location: Boston, MA

  • Quote

Post by Flandry » Sun May 08, 2005 3:45 am

Mine is doing the same thing. All of the sounds are queued up, and come out one at a time. It's annoying. I'm using a Turtle Beach Santa Cruz card.
Top
chunderbunny
Veteran
Veteran
User avatar
Posts: 1281
Joined: Mon May 31, 2004 11:28 am
Location: 51°24'27" N, 0°57'15" W

  • Quote

Post by chunderbunny » Sun May 08, 2005 11:18 am

Well for Nforce users you can always use the proprietary Nvidia driver rather than the OSS driver. To use it you have to disable ALSA in your kernel and enable OSS (but don't enable nay OSS drivers). Then emerge nforce-audio (I think the ~arch version is best so you might want to unmask it) which will give you hardware mixing and a nicer sound.

The downsides are
a) it's a propritary driver.
b) you have to remember to re-emerge the driver every tiem you upgrade your kernel
c) the driver has a few bugs which means it won't work with a few apps (skype is probably the most annoying)
Top
gwolf
Guru
Guru
User avatar
Posts: 374
Joined: Thu May 05, 2005 9:07 am
Location: Estonia

  • Quote

Post by gwolf » Sun May 08, 2005 11:48 am

I had the same problem and got it working by using esound instead of alsa directly.
Top
hawk072
n00b
n00b
Posts: 10
Joined: Fri Jul 16, 2004 1:10 pm

  • Quote

Post by hawk072 » Mon May 09, 2005 1:52 am

Flandry wrote:Mine is doing the same thing. All of the sounds are queued up, and come out one at a time. It's annoying. I'm using a Turtle Beach Santa Cruz card.
The Turtle Beach Santa Cruz can use hardware mixing, no need for dmix. To enable it, make sure you have CONFIG_SND_CS46XX_NEW_DSP=y set in your kernel .config file.

I use the Santa Cruz and it works great. I disabled the onboard NForce2 sound on my Abit NF7-S.
Top
Arainach
l33t
l33t
User avatar
Posts: 609
Joined: Thu Jul 08, 2004 2:30 am

  • Quote

Post by Arainach » Mon May 09, 2005 3:09 am

Presuming what hawk said is true (I have no experience with Turtle Beach cards), follow his advice and stick to hardware mixing. dmix can work but it's just a pain to configure and doesn't always work. I had it semi-working and finally just gave in, disabled my onboard sound and bought an Audigy2 ZS. I love it. About a trillion mixing channels which I can control individually on the fly, great sound quality, and it's as simple as compiling the emu10k1 driver into my kernel; no other thinking necessary.
Gentoo: Stage3 w/ NPTL & udev, gcc 3.4.4 full rebuild
Kernel: 2.6.15-gentoo-r1 w/ 1G-Lowmem Patch
System: Athlon XP 2.2Ghz/1GB Corsair Value/160GB, 250GB WD IDE/128MB GeForce 6800/Sony 17" Trinitron G200 @ 1280x1024x75Hz
Top
placeholder
Advocate
Advocate
Posts: 2500
Joined: Sat Feb 07, 2004 12:15 am

  • Quote

Post by placeholder » Mon May 09, 2005 3:19 am

I use the nVidia proprietary drivers and I get Dolby Digital sound through my receiver, so recompiling it for new kernels is definitely worth it. I also do not use Skype though, so therefore I have no issues with it. You also only need sound support because adding OSS support just allows you to select drivers for OSS if the ones for your card are in the kernel. Cheers.
Top
xafan
n00b
n00b
Posts: 13
Joined: Tue Apr 19, 2005 2:17 am

  • Quote

Post by xafan » Tue May 10, 2005 2:14 am

I just unemerged ALSA packages, added OSS to kernel compile (module), removed the ALSA tag from USE in make.conf, reemerged with newuse and then emerged nforce-audio.

....Still won't work....
Top
chunderbunny
Veteran
Veteran
User avatar
Posts: 1281
Joined: Mon May 31, 2004 11:28 am
Location: 51°24'27" N, 0°57'15" W

  • Quote

Post by chunderbunny » Tue May 10, 2005 10:03 am

Did you modprobe nvsound? Did you completely remove all ALSA parts of the kernel?
Top
Post Reply

14 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic