I’m having an annoying trouble with my laptop: when my Flash Plugin crashes (say, when watching a Youtube video) it leaves me with no audio in my machine; no audio for videos, no audio for my songs, no audio in my games, no audio at all. It gets fixed when I reload my machine (not even when I reload Firefox); I haven’t been able to find another way to fix it.
So I would like to ask two questions:
How can I recover my audio when the Plugin crashes without reloading the entire machine?
Is there a way to get rid of the Flash Plugin and still be able to watch videos and do all (or, at least, most) of the stuff the Plugin allows you to do?
Well, I had a similar problem in an earlier openSUSE version on one system. (not anymore on 12.3 though)
Back then, enabling pulseaudio fixed it for me.
So try to enable it if it is disabled. Otherwise try to disable it. Maybe that helps?
YaST->Hardware->Sound, click on “Other” in the bottom-right part of the window and select “PulseAudio Configuration”.
Logout/login (or a reboot) is required for that to take effect.
How can I recover my audio when the Plugin crashes without reloading the entire machine?
“sudo rcalsasound restart” could help.
Is there a way to get rid of the Flash Plugin and still be able to watch videos and do all (or, at least, most) of the stuff the Plugin allows you to do?
On 2013-09-08 02:16, wolfi323 wrote:
>
> linmach89;2583391 Wrote:
>> I’m having an annoying trouble with my laptop: when my Flash Plugin
>> crashes (say, when watching a Youtube video) it leaves me with no audio
>> in my machine; no audio for videos, no audio for my songs, no audio in
>> my games, no audio at all. It gets fixed when I reload my machine (not
>> even when I reload Firefox); I haven’t been able to find another way to
>> fix it.
>>
> Well, I had a similar problem in an earlier openSUSE version on one
> system. (not anymore on 12.3 though)
> Back then, enabling pulseaudio fixed it for me.
Same thing happened to me.
One of the things that pulse does is allowing several applications to
access the audio system at the same time; previously only one
application could, and the rest had to wait. If flash dies without
releasing audio, no one could use audio (I think it was the pcm device).
I don’t know if there is a way to tell the kernel to force release a device.
Pulse solved the problem for me.
>> 2. Is there a way to get rid of the Flash Plugin and still be able to
>> watch videos and do all (or, at least, most) of the stuff the Plugin
>> allows you to do?
> In the case of youtube, there is:
> ‘YouTube’ (http://www.youtube.com/html5)
Interesting…
–
Cheers / Saludos,
Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)
linmach89 wrote:
>
> Hello People.
>
> I’m having an annoying trouble with my laptop: when my Flash Plugin
> crashes (say, when watching a Youtube video) it leaves me with no audio
> in my machine; no audio for videos, no audio for my songs, no audio in
> my games, no audio at all. It gets fixed when I reload my machine (not
> even when I reload Firefox); I haven’t been able to find another way to
> fix it.
>
> So I would like to ask two questions:
>
> 1. How can I recover my audio when the Plugin crashes without reloading
> the entire machine?
>
> 2. Is there a way to get rid of the Flash Plugin and still be able to
> watch videos and do all (or, at least, most) of the stuff the Plugin
> allows you to do?
>
> Thanks in advance.
>
> P.D.: I use openSUSE 12.2.
>
>
You can always disable flash plugin in the browser and use html5 in youtube.
(OR) Try Gnash(alternative flash implementation) from the repo.
It works well with youtube for me.
While this is true, alsa does have the dmix plugin (should be enabled by default) for a while now which does the same, i.e. allowing several programs to access the soundcard simultaneously.
One problem is though, that it doesn’t work with the OSS compatibility layer, so if a program uses OSS for sound, it will effectively block all other programs despite the dmix plugin.
And for some reason I never found out, on that one system flash did block all other programs as well.
I never had this problem on another system with a different sound card, and it works well now on 12.3 and already on 12.2 (I had to disable pulseaudio then because music in dosbox somehow got distorted by it…)
So maybe it was driver related?
On 2013-09-08 17:06, wolfi323 wrote:
>
> robin_listas;2583394 Wrote:
>> One of the things that pulse does is allowing several applications to
>> access the audio system at the same time; previously only one
>> application could, and the rest had to wait. If flash dies without
>> releasing audio, no one could use audio (I think it was the pcm device).
> While this is true, alsa does have the dmix plugin (should be enabled by
> default) for a while now which does the same, i.e. allowing several
> programs to access the soundcard simultaneously.
About time
> One problem is though, that it doesn’t work with the OSS compatibility
> layer, so if a program uses OSS for sound, it will effectively block all
> other programs despite the dmix plugin.
Exactly.
> And for some reason I never found out, on that one system flash did
> block all other programs as well.
> I never had this problem on another system with a different sound card,
Some cards allow multiple access. Mine could block with different
applications.
> and it works well now on 12.3 and already on 12.2 (I had to disable
> pulseaudio then because music in dosbox somehow got distorted by it…)
> So maybe it was driver related?
Hardware related, rather, I think. Or both.
–
Cheers / Saludos,
Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)
As an alternative to the system flash and Firefox, you might try Chromium and the newer version of flash provided via the separate chromium-pepper-flash package, if this is available for 12.2
There are pros and cons to using pepper-flash. It’s a newer version (since as of Flash 11.2 Adobe ceased new Linux versions), which is nice - but I’ve had it become a bit of a resource hog on some systems.
Further, if you disable pepper in chrome://plugins, it may not actually disable it. Attempting to start chrome with --disable-bundled-ppapi-flash seems to be ignored, as well as if it is added to /etc/default/chromium.
So, if you decide to not use pepper-flash with Chrome (and use your system flash version instead), then you can just remove the pepper flash package.
But it might be worth test driving to see what you think.
[QUOTE=wolfi323;2583392]Well, I had a similar problem in an earlier openSUSE version on one system. (not anymore on 12.3 though)
Back then, enabling pulseaudio fixed it for me.
So try to enable it if it is disabled. Otherwise try to disable it. Maybe that helps?
YaST->Hardware->Sound, click on “Other” in the bottom-right part of the window and select “PulseAudio Configuration”.
Logout/login (or a reboot) is required for that to take effect.
Well I installed PulseAudio and checked the box saying “Enable PulseAudio Support” but i’m still having the same problem. Today the Flash Plugin started behaving strangely and instantly I lost all audio in my machine. Do you have any other idea on why this is happening?
But do you have “alsa-plugins-pulse” installed as well?
And pulse plugins (if available) for other software you use, f.e. “vlc-aout-pulse” for vlc (this one especially if you’re using KDE with phonon-backend-vlc).
> Well I installed PulseAudio and checked the box saying “Enable
> PulseAudio Support” but i’m still having the same problem. Today the
> Flash Plugin started behaving strangely and instantly I lost all audio
> in my machine. Do you have any other idea on why this is happening?
Ensure that Flash is coming out via pulse, not bypassing it.
There is a multimedia volume control named “pulseaudio volume control”.
When there is sound playing, in the “playback” tab there should be an
entry for each application currently running with sound. With flash
running, it is labeled “ALSA plug-in [firefox]: ALSA Playback”
If this is not visible, you are not using pulse.
–
Cheers / Saludos,
Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)