Flash prevents other audio being played

Hi Everyone,

I have a problem with flash, that I have had with pretty much all Linux distributions that I have used.

The problem is that whenever Adobe Flash is running, ether It can play audio, or anything else on my laptop can play audio. Which one does play audio depends on which gets there first. E.G. if my media player is running then the flash clip I’m watching won’t have sound, or if I’m on a website with flash on and I load banshee, banshee won’t be able to play sound.

I am running 64 bit OpenSUSE installed at 11.0 and I ran a zypper dup when 11.1 was released.

:~> uname -a
Linux winxpsp3-1295a9 2.6.25.18-0.2-default #1 SMP 2008-10-21 16:30:26 +0200 x86_64 x86_64 x86_64 GNU/Linux

I am running Adobe 64bit flash beta, version: LNX 10,0,21,1

Has anyone else experienced this, resolved, or at least knows what causes it, so I can look out for a fix for this issue in the future?

Thanks
Ehoni.

I think I solved this by removing the majority of the pulse audio things. (And maybe installing some alsa stuff…)

I’ll just mention the packages I’ve installed as I’m guessing you’ll end up with a working sound system as well.

So if you’re feeling adventurous you might want to uninstall everything ‘pulse’ with the exception of
libpulse0
libpulse0-32bit

and install (if not installed yet)
alsa
alsa-devel
alsa-firmware
alsa-oss
alsa-oss-32bit
alsa-plugins
alsa-plugins-32bit
alsa-utils

I recommend waiting for oldcpu (or someone else… but he seems to have the audio questions on these forums covered) to respond however…

A little bit more information…
rpm -qa | grep xine

:~> rpm -qa | grep xine
xinetd-2.3.14-115.1
phonon-backend-xine-4.1.3-71.2
libxine1-codecs-1.1.16-0.pm.0
libxine1-pulse-1.1.16-0.pm.0
xine-lib-32bit-1.1.12-8.1
amarok-xine-1.4.10-100.pm.1
libxine1-1.1.16-0.pm.0

rpm -qa | grep flash

:~> rpm -qa | grep flash
libflashsupport-000-67.1

rpm -qa | grep codec

:~> rpm -qa | grep codec
w32codec-all-20071007-0.pm.1
libxine1-codecs-1.1.16-0.pm.0
opensuse-codecs-installer-10.3.1-45.1
libavcodec51-0.4.9.15007-3.2
libavcodec52-0.4.9.16240svn-20081219.pm.2021
k3b-codecs-1.0.5-0.pm.7

rpm -qa | grep -i mplayer

:~> rpm -qa | grep -i mplayer
MPlayer-1.0rc2_r27637-3.pm.3

rpm -q MPlayer

:~> rpm -q MPlayer
MPlayer-1.0rc2_r27637-3.pm.3

rpm -q vlc

:~> rpm -q vlc
package vlc is not installed

This forum has a pretty stupid editing policy. Now I have lots of extra posts that could really have been in 1.

It looks like the flash beta is supposed to have support for PCM_PULSE PerfectSetup - PulseAudio - Trac

I get this message when flash plays a video when audio is being played.

:~> firefox
*** PULSEAUDIO: Unable to connect: Connection refused
*** PULSEAUDIO: Unable to connect: Connection refused
*** PULSEAUDIO: Unable to connect: Connection refused
*** PULSEAUDIO: Unable to connect: Connection refused
*** PULSEAUDIO: Unable to connect: Connection refused
*** PULSEAUDIO: Unable to connect: Connection refused
*** PULSEAUDIO: Unable to connect: Connection refused
*** PULSEAUDIO: Unable to connect: Connection refused
*** PULSEAUDIO: Unable to connect: Connection refused
*** PULSEAUDIO: Unable to connect: Connection refused
*** PULSEAUDIO: Unable to connect: Connection refused
*** PULSEAUDIO: Unable to connect: Connection refused
*** PULSEAUDIO: Unable to connect: Connection refused
*** PULSEAUDIO: Unable to connect: Connection refused

libflashsupport is 32bit, I’m not sure if this could cause a problem.

Just an update on this issue.

This issue is now resolved for me. To fix it I did a fresh install of OpenSUSE 11.1 from the Gnome Live CD, then installed flash. When it didn’t work, I installed the beta .so from the Adobe website into /usr/lib64/browser-plugins/

Bit of a cop out and doesn’t tell anyone what was wrong with it, but that’s what I did to resolve it.

Thank you. This was working for me. But I had to let pulseaudio-module-x11 and its dependencies installed otherwise Stardict would not work. Now, everything is OK. :slight_smile:

No it does not work in the end. It still have problems. I had to remove pulseaudio-module-x11 too. Now Stardict no longer work. I think that I will forget Linux and switch back to the Mac. After two years of fighting, I am tired.