From: Justin The Cynical on
On 7/17/10 11:02 AM, Ron Johnson wrote:
> Hi,
>
> My Google-fu must not be up to snuff, because I've Googled much without
> any luck.
>
> USB Audio
> 32-bit Sid
> ALSA 1.0.23+dfsg-1
> Flash 10.1r53 (from adobe.com)
> Iceweasel 3.6.4-1 (experimental)
> vlc 1.1.0
> users are in group audio
>
> Sound plays fine from local sources but not from Flash/Iceweasel. (Yes,
> Flash *video* works.)
>
> Any thoughts on how to solve this would be much appreciated, since
> otherwise my wife will insist on moving back to Windows.

Try this:

http://www.macewan.org/2006/06/01/howto-firefox-flash-video-sound-on-ubuntu-linux-dapper/

IIRC, I had this problem on an old Linux install I was using for MythTV,
and it did come down to a lack of OSS support with the installed ALSA.

(And I googled for 'linux flash sound' and that was the first hit :-) )


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4C42DF92.9070400(a)penguinness.org
From: Ron Johnson on
On 07/18/2010 06:03 AM, Justin The Cynical wrote:
[snip]
>
> Try this:
>
> http://www.macewan.org/2006/06/01/howto-firefox-flash-video-sound-on-ubuntu-linux-dapper/
>
> IIRC, I had this problem on an old Linux install I was using for MythTV,
> and it did come down to a lack of OSS support with the installed ALSA.
>
> (And I googled for 'linux flash sound' and that was the first hit :-) )
>

Is that 4yo post regarding Flash v7 or v9?

--
Seek truth from facts.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4C42FFF2.8070000(a)cox.net
From: Camaleón on
On Sat, 17 Jul 2010 18:41:35 -0500, Ron Johnson wrote:

> On 07/17/2010 05:57 PM, Camaleón wrote:

>> Wait, is the USB device a headset or an external sound card?
>
> Speakers. But effectively big headsets.
>
>> I say that
>> beacuse of this:
>>
>> http://www.google.com/webhp?hl=en#hl=en&q=firefox+flash+headset+sound
+linux&fp=6c67857170793776
>>
>>
> They all reference asoundconf which has apparently been deprecated for
> PA.

Uh? No, there are many reports about flash outputing sound to the wrong
audio device, even using PA:

http://forum.sabayon.org/viewtopic.php?f=56&t=18983

It's even documented in Ubuntu wiki:

https://wiki.ubuntu.com/PulseAudio#Firefox/Flash%20and%20PulseAudio

>> Maybe is not just Flash the only app having no sound in Iceweasel.
>>
>>
> MP3s play just fine.

Then the problem is just affecting flash plugin within Iceweasel. I'd
follow the suggestions made by Florian.

Mmm... have you tested with another browser (i.e., Epiphany,
Konqueror...)?

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/pan.2010.07.18.14.48.19(a)gmail.com
From: Ron Johnson on
On 07/18/2010 09:48 AM, Camale�n wrote:
> On Sat, 17 Jul 2010 18:41:35 -0500, Ron Johnson wrote:
>> On 07/17/2010 05:57 PM, Camale�n wrote:
>
>>> Wait, is the USB device a headset or an external sound card?
>>
>> Speakers. But effectively big headsets.
>>
>>> I say that
>>> beacuse of this:
>>>
>>> http://www.google.com/webhp?hl=en#hl=en&q=firefox+flash+headset+sound
> +linux&fp=6c67857170793776
>>>
>>>
>> They all reference asoundconf which has apparently been deprecated for
>> PA.
>
> Uh? No, there are many reports about flash outputing sound to the wrong
> audio device, even using PA:
>
> http://forum.sabayon.org/viewtopic.php?f=56&t=18983
>

$ apt-file search libflashsupport
acroread:
/usr/lib/Adobe/Reader9/Reader/intellinux/lib/libflashsupport.so

libflashsupport doesn't really seem to exist anymore.

Anyway, I don't use PA.

> It's even documented in Ubuntu wiki:
>
> https://wiki.ubuntu.com/PulseAudio#Firefox/Flash%20and%20PulseAudio
>
>>> Maybe is not just Flash the only app having no sound in Iceweasel.
>>>
>>>
>> MP3s play just fine.
>
> Then the problem is just affecting flash plugin within Iceweasel. I'd
> follow the suggestions made by Florian.
>

Haven't had a chance.

<pause>

Just sent that email.

> Mmm... have you tested with another browser (i.e., Epiphany,
> Konqueror...)?
>

Good thought, but no luck. Same in epiphany-browser (webkit)
2.30.2-3 as with IW.

--
Seek truth from facts.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4C433E52.7010502(a)cox.net
From: Florian Kulzer on
On Sun, Jul 18, 2010 at 12:44:10 -0500, Ron Johnson wrote:
> On 07/18/2010 03:54 AM, Florian Kulzer wrote:
> >On Sat, Jul 17, 2010 at 18:41:35 -0500, Ron Johnson wrote:
> >>On 07/17/2010 05:57 PM, Camaleón wrote:
> >>>On Sat, 17 Jul 2010 17:13:35 -0500, Ron Johnson wrote:
> >>>>On 07/17/2010 04:30 PM, Camaleón wrote:
> >>>
> >>>>>Run "alsamixer" and check the volume for all the channels :-?
> >>>>>
> >>>>>
> >>>>First thing I did.
> >>>>
> >>>>Note, though, that for USB Audio there are only three channels: Bass,
> >>>>Treble, PCM.
> >>>>
> >>>>No "Master". That may very well be the problem, but I don't know what
> >>>>to do about it.

[...]

> >>>Maybe is not just Flash the only app having no sound in Iceweasel.
> >>>
> >>
> >>MP3s play just fine.
> >
> >Knowing which audio devices are grabbed by which processes might shed
> >some light on the situation; I would be interested to see the output of
> >
> > lsof +c0 $(find /dev/ -group audio)
> >
> >both when flashplayer tries and fails to play sound and when other
> >plugins of iceweasel do so successfully.
> >
>
> Attached are 3 files.
>
> I'm sure it's relevant (and I deeply apologize for forgetting about
> this) that sound only plays *at all* when I've got this ~/.asoundrc
> file:
>
> $ cat .asoundrc
> pcm.!default {
> type hw
> card Device
> }

Strace shows that the plugin does try to access ~/.asoundrc, but I don't
know what it makes of the information in that file. (I don't use
~/.asoundrc at the moment.)

> >Another test would be if killing the pulseaudio daemon makes the sound
> >devices accessible to flashplayer.
>
> I don't use PA.

OK, I misinterpreted your earlier remark about PA.

> >Also, which value of ICEWEASEL_DSP is set in /etc/iceweasel/iceweaselrc?
>
> "none"

That has been working for me for years.

> $ lsof +c0 $(find /dev/ -group audio)
> COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
> mixer_applet2 2193 ron 21r CHR 116,9 0t0 3204 /dev/snd/controlC0
> aqualung 3251 ron mem CHR 116,8 3201 /dev/snd/pcmC0D0p
> aqualung 3251 ron 4r CHR 116,8 0t0 3201 /dev/snd/pcmC0D0p

> $ lsof +c0 $(find /dev/ -group audio)
> COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
> mixer_applet2 2193 ron 21r CHR 116,9 0t0 3204 /dev/snd/controlC0

> $ cat dsp.quiet.txt
> lsof +c0 $(find /dev/ -group audio)
> COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
> mixer_applet2 2193 ron 21r CHR 116,9 0t0 3204 /dev/snd/controlC0

Everything is normal with aqualung, but it looks like flashplayer does
not even try to play audio. On my Sid systems it is not bothered at all
by the fact that kmix has /dev/snd/controlC0 open, it simply uses
/dev/snd/pcmC0D0p and /dev/snd/timer as needed.

You could run iceweasel under strace:

strace -f -efile -o iceweasel-flash.strace iceweasel

Let a flash video play silently for a few seconds and then close the
browser. Afterwards you can check what has been accessed:

grep -E 'a(lsa|sound)|/dev/(a?dsp|audio|mixer|snd)' iceweasel-flash.strace

Before you break out the big guns, though, you can try to set
ICEWEASEL_DSP to "aoss" (assuming you have "oss-compat" installed), or
maybe installing flashplugin-nonfree-extrasound will help, or switching
from flashplugin-nonfree to flashplayer-mozilla, or vice versa. (I did
not read the entire thread, maybe some of these things were already
suggested.)

--
Regards, |
Florian |


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/20100718210518.GA6132(a)isar.localhost