You are not logged in.

#1 2017-06-20 08:30:58

Starfish
Member
From: Germany
Registered: 2015-10-21
Posts: 134

[SOLVED] No sound in firefox since last upgrade

Hello there,

the title says it all. When I play videos online, there is no sound, which is presumably related to my last upgrade:

$ pacman -Qi firefox | grep -i "install date"
Install Date    : Mon 19 Jun 2017 02:50:00 PM CEST
$ pacman -Qi flashplugin | grep -i "install date"
Install Date    : Mon 19 Jun 2017 02:50:00 PM CEST

I followed the instructions of this topic https://wiki.archlinux.org/index.php/Br … leshooting and got

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC293 Analog [ALC293 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Since there is only a card 0 in my case, I added the following file

$ cat ~/.asoundrc
pcm.!default {                                                                   
    type hw                                                                      
    card 0                                                                       
}                                                                                
                                                                                 
ctl.!default {                                                                   
    type hw                                                                      
    card 0                                                                       
}

which does not help either.

When I play music with my media player, the sound works just fine.

Any help is appreciated.

Last edited by Starfish (2017-06-20 08:51:26)


"Yesterday is history, tomorrow is a mystery, but today is a gift. That is why it is called the present." - Master Oogway

Offline

#2 2017-06-20 08:36:31

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] No sound in firefox since last upgrade

Version of pulseaudio?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-06-20 08:51:07

Starfish
Member
From: Germany
Registered: 2015-10-21
Posts: 134

Re: [SOLVED] No sound in firefox since last upgrade

jasonwryan wrote:

Version of pulseaudio?

Uhhmmm... None. I just installed it for the first time, restarted my PC and now it works. Much obliged :-)

Can you tell me why I could live without it before?


"Yesterday is history, tomorrow is a mystery, but today is a gift. That is why it is called the present." - Master Oogway

Offline

#4 2017-06-20 08:57:51

adesh
Member
Registered: 2016-10-05
Posts: 167

Re: [SOLVED] No sound in firefox since last upgrade

Earlier you were using ALSA. But recently Firefox has dropped  ALSA support, now it hard-depends on PulseAudio.

Offline

#5 2017-06-20 09:00:57

Starfish
Member
From: Germany
Registered: 2015-10-21
Posts: 134

Re: [SOLVED] No sound in firefox since last upgrade

adesh wrote:

Earlier you were using ALSA. But recently Firefox has dropped  ALSA support, now it hard-depends on PulseAudio.

Thanks!


"Yesterday is history, tomorrow is a mystery, but today is a gift. That is why it is called the present." - Master Oogway

Offline

#6 2017-06-20 12:52:47

RalphCorderoy
Member
Registered: 2017-01-25
Posts: 27

Re: [SOLVED] No sound in firefox since last upgrade

adesh wrote:

Earlier you were using ALSA. But recently Firefox has dropped  ALSA support, now it hard-depends on PulseAudio.

I've the same problem after upgrading firefox 53.0.3-1 -> 54.0-1.
Looking at `pacman -Qi firefox' it says

Depends On      : ... alsa-lib
Optional Deps   : ... pulseaudio: Audio support

There's no [installed] on the pulseaudio line, and I don't have it installed.

Does this mean the package's meta-data is incorrect and pulseaudio should not be optional?

Offline

#7 2017-06-20 14:01:14

adesh
Member
Registered: 2016-10-05
Posts: 167

Re: [SOLVED] No sound in firefox since last upgrade

RalphCorderoy wrote:

Does this mean the package's meta-data is incorrect and pulseaudio should not be optional?

PulseAudio is required only for sound support, otherwise without it the browser is fully functional.

Offline

#8 2017-06-20 14:08:25

RalphCorderoy
Member
Registered: 2017-01-25
Posts: 27

Re: [SOLVED] No sound in firefox since last upgrade

But alsa-lib still needs to be mandatory?

Offline

#9 2017-06-21 10:08:54

adesh
Member
Registered: 2016-10-05
Posts: 167

Re: [SOLVED] No sound in firefox since last upgrade

RalphCorderoy wrote:

But alsa-lib still needs to be mandatory?

Not completely sure about that. Someone more knowledgeable might answer that. Or try to get the answer from package maintainer.

Offline

Board footer

Powered by FluxBB