You are not logged in.
After having some troubles with alsa I managed to fix this once and for all. The problem was I could not run flash+firefox and some other application that uses sound, like xmms or mplayer.
After investigating this problem on my old laptop, searching this forum and the wiki I finally found the final solution which was not described in the other topics, so here it is:
Add to /etc/rc.conf:
MODULES=(... !snd-pcm-oss)
(don't add the dots ofcourse)
The problem with flash is that it defaults to oss if it can find oss. So no matter if you have alsa, flash will prefer oss and oss will block /dev/dsp and no other program can play any sound. If there is no oss device available, flash will use alsa and all problems are gone. No need for a dmix setup or configuring other programs, just disable the old oss system.
Hope this helps someone!
Offline
Thanks, I will try this. I have dmix setup right and can play from multiple sources, but sometimes something goes wrong anyway and mpd will halt and not start again until everything is closed and I even have some applications with no sound unless everything else is off even with aoss.
Offline
Thanks for that!
I also was having some minor issues with Tuxpaint (painting for kids) blocking all other sounds, so we could not paint and listen to the music at the same time So, will give this a try.
Offline
Funny there are so many threads going on for sound..or maybe i am noticing them more because I just changed over from ALSA to OSS. OSSv4 allows multiple apps to use the soundcard. Also, the quality is much better than ALSA, IMHO.
You might also want to consider OSS and give it a whirl.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
@Inxsible: OSS doesn't work with AC'97 and HDAudio right? Isn't that pretty much all sound cards built in the motherboard? All I got from it was thuds when toggling mute, and that is when I did see green lights in the volume of the config.
Offline
@Inxsible: OSS doesn't work with AC'97 and HDAudio right? Isn't that pretty much all sound cards built in the motherboard? All I got from it was thuds when toggling mute, and that is when I did see green lights in the volume of the config.
Yeah...I too have a stupid HDAudio integrated sound card, and when I used oss sound goes only to the front speakers. I'll wait until the situation with oss stabilizes and more support is added, and then I'll try it. Anyway, I need a new sound card. Can anyone recomend any good sound cards that would work good with oss and aren't so expensive?
Edit: I dont record stuff, so i dont need a sound card with lots of input options.
Last edited by KRTac (2009-04-11 01:17:07)
Offline
@Inxsible: OSS doesn't work with AC'97 and HDAudio right? Isn't that pretty much all sound cards built in the motherboard? All I got from it was thuds when toggling mute, and that is when I did see green lights in the volume of the config.
Yes it doesn't. Fortunately or unfortunately (depending on how you look at it) -- i have a 9 yr old laptop which doesn't have HDAudio.
How would I check if mine is AC'97?
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
OSS should work with AC97 and surelly does work with HDAudio codecs, my notebook has such a codec and it works perfectly and with a lot more quality than with alsa.
As for multichannel I don't know, never tried it myself, when I have time I may give it a go on my desktop pc.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Funny there are so many threads going on for sound..or maybe i am noticing them more because I just changed over from ALSA to OSS. OSSv4 allows multiple apps to use the soundcard. Also, the quality is much better than ALSA, IMHO.
You might also want to consider OSS and give it a whirl.
I think this link http://www.linuxhardware.org/article.ph … /06/179255 provides some very interesting insight into the OSS/ALSA matter
R.
Offline
OSS should work with AC97 and surely does work with HDAudio codecs
Hah. What people ALWAYS forget is that every soundcard is *different*. HDA isn't a "standard". If it were, there wouldn't be a zillion sound threads where people moan about some weird sound issue, and don't even bother to state which of the thousands of different soundcards they have.
While I'm on the subject, people should be directing ALSA bugs to the ALSA bugzilla.
Offline
Inxsible wrote:Funny there are so many threads going on for sound..or maybe i am noticing them more because I just changed over from ALSA to OSS. OSSv4 allows multiple apps to use the soundcard. Also, the quality is much better than ALSA, IMHO.
You might also want to consider OSS and give it a whirl.
I think this link http://www.linuxhardware.org/article.ph … /06/179255 provides some very interesting insight into the OSS/ALSA matter
R.
That artilce was posted in 2001...lots of changes since then
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
R00KIE wrote:OSS should work with AC97 and surely does work with HDAudio codecs
Hah. What people ALWAYS forget is that every soundcard is *different*. HDA isn't a "standard". If it were, there wouldn't be a zillion sound threads where people moan about some weird sound issue, and don't even bother to state which of the thousands of different soundcards they have.
While I'm on the subject, people should be directing ALSA bugs to the ALSA bugzilla.
Actually it is a standard, the problem is that it is too flexible. What happens is that each manufacturer decides how to connect things to the chip's inputs/outputs. Because the jacks are retaskable, this is, an input can become an output and vice-versa and each manufacturer connects things the way it sees fit this causes problems.
Then to sort it all out proprietary drivers are used that know exactly what connects where and how to configure the codec to make it all work.
Just search the web and the forums and you will see that. That's why you can pass so many models to the intel-hda driver and why some people have no sound at all when using the default config and others just don't have jack sensing working properly.
Edit: corrected some typos.
Last edited by R00KIE (2009-04-11 22:56:17)
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Thanks, I will try this later
Excuse my poor english
Offline
About OSS sound cards, my HDA card doesn't work, but I have an old emu10k1 Sound Blaster Live 5.1, is it worth trying OSS out? Do you think an old Live 5.1 with OSS would be better than a present HDA builtin with ALSA?
Last edited by Procyon (2009-04-12 18:33:58)
Offline
About OSS sound cards, my HDA card doesn't work, but I have an old emu10k1 Sound Blaster Live 5.1, is it worth trying OSS out? Do you think an old Live 5.1 with OSS would be better than a present HDA builtin with ALSA?
Try it out. if you don't like it, you could always change it back.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Procyon wrote:About OSS sound cards, my HDA card doesn't work, but I have an old emu10k1 Sound Blaster Live 5.1, is it worth trying OSS out? Do you think an old Live 5.1 with OSS would be better than a present HDA builtin with ALSA?
Try it out. if you don't like it, you could always change it back.
Turned out it was broken, the computer wouldn't even boot with something plugged into it. It was scary. Everything is working fine again now using ALSA.
Offline
This thread inspired me to try OSS with my HDA card. However, none of my usb headsets worked, which means it's useless to me.
On topic: Thanks for the tip about flash! I'll definitely use this.
Cthulhu For President!
Offline
This thread inspired me to try OSS with my HDA card. However, none of my usb headsets worked, which means it's useless to me.
On topic: Thanks for the tip about flash! I'll definitely use this.
Yup, usb sound devices do not work on oss yet.
Last edited by Inxsible (2009-04-13 00:25:24)
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Just to confirm
MODULES=(... !snd-pcm-oss)
or
MODULES=(... !snd_pcm_oss)
?
Offline
Just to confirm
MODULES=(... !snd-pcm-oss)
?
This one
lsmod reports snd_pcm_oss but the module is actually called snd-pcm-oss
Offline
I try with MODULES=(!snd-pcm-oss) and reboot my pc, but still it doesn't work. In fact, i have been follow the instruction from http://wiki.archlinux.org/index.php/All … ng_system.:
If you are still having problems: I see a lot of posts about flash + other programs that use sound. This happens because flash uses the alsa oss emulation instead of real alsa. The fix is easy, just disable oss (almost all programs are converted to alsa these days) by blacklisting the oss module in /etc/rc.conf in the MODULES section: !snd-pcm-oss
I can only listen or flash or amarok (it depends of what program i run first).
here my .asoundrc, thanks.
pcm.!dmix {
type plug
slave {
pcm surround71
channels 8
}
}
pcm.!default {
type plug
slave.pcm "dmix"
slave.channels 8
route_policy duplicate
}
Offline