Bugzilla – Bug 557840
After update to 11.2 no sound in Firefox together with any other program that uses sound
Last modified: 2009-12-07 15:13:03 UTC
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4) Gecko/20091016 SUSE/3.5.4-1.1.2 Firefox/3.5.4 Hi, I've just upgraded to openSUSE 11.2 on 4 computers. And on all of them I'm experiencing the same issue. When I have sound either in Amarok or in Skype then I do not have it in Firefox/flash. The problem is that flash does not use Pulseaudio. I've already found out how to make it use Pulseadio. The trick is ALSA_CONFIG_PATH=/etc/alsa-pulse.conf firefox After that everything works flawlessly. How can I change my system configuration so that flash uses Pulseaudio by default. (I want some better solution as creating script in /usr/bin...) And the reason why I'm actually posting here... Is this normal behavior after update? I'd expected that Firefox uses Pulseaudio by default. Does anyone experience this issu on <fresh> installation of 11.2? Thanks in advance, Roman Reproducible: Always Steps to Reproduce: 1. Open Amarok, play some song 2. Open Firefox, go to youtube and play some video with sound. Actual Results: There is sound from Amarok, but NO sound in Firefox/flash Expected Results: Sound from Amarok and Firefox/flash
KDE on 11.2 is supposed to run without pulseaudio as default. So it's the intended behavior. If you want to use PA as default, run "setup-pulseaudio --enable". Do you still have any problem?
Awesome, thank you for the work you do! I've added this precious info to the openSUSE wiki: http://en.opensuse.org/PulseAudio#openSUSE_11.2.2C_KDE_4.2 , hope you don't mind :) Still, if PA is not default, then sound shouldn't be blocked with Firefox/flash.. Regards, Roman
Well.. it's not that simple as it was. And I've noticed it only now. Your script setup-pulseaudio --enable adds some environment variables to /etc/environment. There are following problems with this: 1. pam_env(su:setcred): non-alphanumeric key 'alias aumix=padsp aumix' in /etc/environment', ignoring pam_env(su:setcred): non-alphanumeric key 'alias sox=padsp sox' in /etc/environment', ignoring pam_env(su:setcred): non-alphanumeric key 'alias timidity=timidity -Oe' in /etc/environment', ignoring So these aliases are not created at all. 2. pam_env sets these variables ONLY IF I log in with kdm. If I have AUTOLOGIN, these variables WON'T be set AT ALL. So now can I answer your question.. NO: with autologin set it does not work. Please feel free to ask me any other questions.
Ah, the one in 11.2 is still buggy. Remove these aliases once. Then, try to update the pulseaudio package on OBS multimedia:libs repo and run setup-pulseaudio --disable again. I recommend you to add the repo and simply update all via zypper. There are lots of other fixes/updates since 11.2 release, too.
Ok, as I see now, you just do not create those aliases there. But it solves only the first problem. The second one remains. If I have autologin enabled then my /etc/environment file will not be processed by pam_env. And that's why environment variable $ALSA_CONFIG_PATH won't be not set.
Hm, the second problem looks like an issue of KDM in general. Care to open another bugzilla entry? Thanks.
Of course, https://bugzilla.novell.com/show_bug.cgi?id=558898 Thanks for help.
Thanks. /etc/environment issue is a dupe of bug 547384. Let's close as duplicated. *** This bug has been marked as a duplicate of bug 547384 ***