View previous topic :: View next topic |
Author |
Message |
SemmZemm n00b
Joined: 05 Jul 2013 Posts: 62 Location: France, Russia
|
Posted: Mon Oct 27, 2014 12:29 am Post subject: [SOLVED] google-chrome (stable): no audio in flash |
|
|
Hi,
I was using ALSA for a long time - audio in Flash worked.
After I switched to pulseaudio+ALSA (needed Skype) - audio in Flash worked.
Now I unmerged pulseaudio and I'm using apulse for Skype. Audio in Flash doesn't work.
I have this in my .asoundrc:
Code: |
defaults.pcm.!card PCH
defaults.pcm.!device 0
|
which corresponds to my aplay -L output.
What am I doing wrong?
Flash in firefox works perfectly.
Last edited by SemmZemm on Mon Oct 27, 2014 12:46 pm; edited 1 time in total |
|
Back to top |
|
|
Navar Guru
Joined: 20 Aug 2012 Posts: 353
|
Posted: Mon Oct 27, 2014 1:06 am Post subject: |
|
|
Hi SemmZemm,
If PCH is the naming on your first soundcard, you probably don't need that .asoundrc as the defaults in /usr/share/alsa/alsa.conf will just default to hw:0,0.
Have you tried disabling Chrome's pepperflash and instead using the system installed flash plugin firefox is using?
Suggestion: using lsof grepping chrome and see what it's using from alsa (asound) and pulse. I'm not a pulse user, but having tsched=0 in /etc/pulse/* has caused issues for others before.
Google-chrome binary may be still trying to use pulse library routines (libpulse.so.0). |
|
Back to top |
|
|
SemmZemm n00b
Joined: 05 Jul 2013 Posts: 62 Location: France, Russia
|
Posted: Mon Oct 27, 2014 3:18 am Post subject: |
|
|
Hi, Navar.
Navar wrote: | If PCH is the naming on your first soundcard, you probably don't need that .asoundrc as the defaults in /usr/share/alsa/alsa.conf will just default to hw:0,0. |
It was my last resort. At the beginning I had no .asoundrc
Navar wrote: | Have you tried disabling Chrome's pepperflash and instead using the system installed flash plugin firefox is using? |
I tried to disable pepperflash but I don't know how to enable system flash plugin. Isn't it because it's npapi. Chrome doesn't support npapi anymore, only ppapi
Navar wrote: | Suggestion: using lsof grepping chrome and see what it's using from alsa (asound) and pulse. I'm not a pulse user, but having tsched=0 in /etc/pulse/* has caused issues for others before. |
Indeed, it uses both libasound.so and libpulse.so. Last one is installed with media-sound/apulse-0.1.2 which I need for skype.
Is there a way to force chrome use ALSA instead of apulse? |
|
Back to top |
|
|
Navar Guru
Joined: 20 Aug 2012 Posts: 353
|
Posted: Mon Oct 27, 2014 11:56 am Post subject: |
|
|
Build -pulseaudio chromium instead? Hexedit libpulse.so.0 in chrome binary? ... |
|
Back to top |
|
|
SemmZemm n00b
Joined: 05 Jul 2013 Posts: 62 Location: France, Russia
|
Posted: Mon Oct 27, 2014 12:30 pm Post subject: |
|
|
Navar wrote: | Build -pulseaudio chromium instead? Hexedit libpulse.so.0 in chrome binary? ... |
chromium.. I like too much some proprietary chrome stuff.
But thank you for the idea with hexedit. It works now. Works for me as temporary workaround. I hope it will be fixed in the future versions.
Thank you a lot! |
|
Back to top |
|
|
Navar Guru
Joined: 20 Aug 2012 Posts: 353
|
Posted: Mon Oct 27, 2014 12:37 pm Post subject: |
|
|
You're welcome. Although I was hoping to offer a better option than a hack. Maybe mark the topic solved as others may well benefit from this and/or find a better workaround. |
|
Back to top |
|
|
SemmZemm n00b
Joined: 05 Jul 2013 Posts: 62 Location: France, Russia
|
Posted: Mon Oct 27, 2014 1:00 pm Post subject: |
|
|
Navar wrote: | You're welcome. Although I was hoping to offer a better option than a hack. Maybe mark the topic solved as others may well benefit from this and/or find a better workaround. |
I'm not even sure it's a bug. Chrome tries to use pulse by default. I have apulse which is reduced version of pulse, installed just to support skype. It's possible that it doesn't support everything chrome needs. |
|
Back to top |
|
|
nopicnic n00b
Joined: 12 Nov 2014 Posts: 2
|
Posted: Wed Nov 12, 2014 7:14 pm Post subject: |
|
|
well, I guess it is because I never had pulseaudio installed, and since I installed apulse (for the same reasons) sound doesn't work at all in google-chrome, and works just fine with everything else (skype, firefox, vlc,,...). I suggest to change the subject as it appears to be a apulse bug and to report it to apulse devs (they at least will identify the problem...) |
|
Back to top |
|
|
nopicnic n00b
Joined: 12 Nov 2014 Posts: 2
|
|
Back to top |
|
|
Navar Guru
Joined: 20 Aug 2012 Posts: 353
|
Posted: Sat Nov 15, 2014 10:32 am Post subject: |
|
|
Eh, maybe. One dev responded with the same suggestion I had to disable pulseaudio flag on chromium. But they overlooked anyone using the google-chrome blob depending on it (for those who don't wish the build chromium route). I think a better upstream solution (that Google most likely won't do) is a command line switch to disable pulseaudio use. |
|
Back to top |
|
|
|