Bug 557840 - After update to 11.2 no sound in Firefox together with any other program that uses sound
Summary: After update to 11.2 no sound in Firefox together with any other program that...
Status: RESOLVED DUPLICATE of bug 547384
Alias: None
Product: openSUSE 11.2
Classification: openSUSE
Component: Sound (show other bugs)
Version: Final
Hardware: i686 openSUSE 11.2
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Takashi Iwai
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-23 20:04 UTC by Roman Byshko
Modified: 2009-12-07 15:13 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Byshko 2009-11-23 20:04:41 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
Comment 1 Takashi Iwai 2009-11-23 20:33:50 UTC
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?
Comment 2 Roman Byshko 2009-11-23 21:24:21 UTC
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
Comment 3 Roman Byshko 2009-11-27 14:11:38 UTC
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.
Comment 4 Takashi Iwai 2009-11-27 14:21:29 UTC
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.
Comment 5 Roman Byshko 2009-11-27 15:47:40 UTC
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.
Comment 6 Takashi Iwai 2009-11-27 15:54:15 UTC
Hm, the second problem looks like an issue of KDM in general.
Care to open another bugzilla entry?  Thanks.
Comment 7 Roman Byshko 2009-11-27 16:14:15 UTC
Of course,

https://bugzilla.novell.com/show_bug.cgi?id=558898

Thanks for help.
Comment 8 Takashi Iwai 2009-12-07 15:13:03 UTC
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 ***