You are not logged in.

#1 2017-06-20 12:18:47

echacko
Member
Registered: 2017-03-01
Posts: 4

[SOLVED] Firefox 54 Sound not working

I updated Firefox recently to firefox 54 and after that sound stopped working. After some search I found out that I needed to install PulseAudio so did that too. Even after installing pulseaudio, firefox is not play any sounds.

pacman -Qs pulse
local/libpulse 10.0-3
    A featureful, general-purpose sound server (client library)
local/paprefs 0.9.10-6
    A simple GTK-based configuration dialog for PulseAudio
local/pulseaudio 10.0-3
    A featureful, general-purpose sound server
local/pulseaudio-alsa 2-3
    ALSA Configuration for PulseAudio
local/pulseaudio-equalizer 10.0-3
    Equalizer for PulseAudio
local/pulseaudio-gconf 10.0-3
    GConf support for PulseAudio
local/pulseaudio-jack 10.0-3
    Jack support for PulseAudio
local/pulseaudio-zeroconf 10.0-3
    Zeroconf support for PulseAudio
 pamixer --list-sinks
Sinks:
0 "alsa_output.pci-0000_00_1b.0.analog-stereo" "Built-in Audio Analog Stereo"
1 "combined" "Simultaneous output to Built-in Audio Analog Stereo"
pamixer --get-volume
50

 

After I installed pulseaudio now my musicplayer is also not having any sound.

Please help.

Last edited by echacko (2017-06-21 02:03:38)

Offline

#2 2017-06-20 13:30:56

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,722

Re: [SOLVED] Firefox 54 Sound not working

What's the output of

sudo fuser -v /dev/snd/*
pacmd list-sinks
pacmd list-sink-inputs
aplay -lL

while trying to play something back?

Online

#3 2017-06-20 14:06:06

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

Re: [SOLVED] Firefox 54 Sound not working

You might need to reboot the system.

Offline

#4 2017-06-20 14:19:16

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,919

Re: [SOLVED] Firefox 54 Sound not working

Or install apulse / apulse-git from aur if you prefer to stick with alsa


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2017-06-20 14:36:28

echacko
Member
Registered: 2017-03-01
Posts: 4

Re: [SOLVED] Firefox 54 Sound not working

V1del wrote:

What's the output of

sudo fuser -v /dev/snd/*
pacmd list-sinks
pacmd list-sink-inputs
aplay -lL

while trying to play something back?

 sudo fuser -v /dev/snd/*
[sudo] password for echacko: 
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  echacko    9578 F.... pulseaudio
pacmd list-sinks

2 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9959
	volume: front-left: 32846 /  50% / -18.00 dB,   front-right: 32846 /  50% / -18.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: yes
	current latency: 0.00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 0
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 1837.50 ms
	card: 0 <alsa_card.pci-0000_00_1b.0>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC888 Analog"
		alsa.id = "ALC888 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel MID"
		alsa.long_card_name = "HDA Intel MID at 0xfb120000 irq 27"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "3b56"
		device.product.name = "5 Series/3400 Series Chipset High Definition Audio"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		alsa.mixer_name = "Realtek ALC888"
		alsa.components = "HDA:10ec0888,80860036,00100202 HDA:80862804,80860036,00100000"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: no)
			properties:
				
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-speaker>
    index: 1
	name: <combined>
	driver: <module-combine-sink.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 1000
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 34 KiB
	max rewind: 0 KiB
	monitor source: 2
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 200.00 ms
	module: 13
	properties:
		device.class = "filter"
		device.description = "Simultaneous output to Built-in Audio Analog Stereo"
		device.icon_name = "audio-card"
pacmd list-sink-inputs
0 sink input(s) available.
aplay -lL
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=MID
    HDA Intel MID, ALC888 Analog
    Default Audio Device
front:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Analog
    Front speakers
surround21:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=MID,DEV=0
    HDA Intel MID, ALC888 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=MID,DEV=0
    HDA Intel MID, HDMI 0
    HDMI Audio Output
**** List of PLAYBACK Hardware Devices ****
card 0: MID [HDA Intel MID], device 0: ALC888 Analog [ALC888 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: MID [HDA Intel MID], device 1: ALC888 Digital [ALC888 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: MID [HDA Intel MID], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Tried rebooting, nothing happened. Will try install apulse.

Offline

#6 2017-06-20 14:39:41

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,722

Re: [SOLVED] Firefox 54 Sound not working

Are you attempting to play something during these outputs? Neither pulse nor ALSA registers any playback, terminal output of Firefox/your music player?

Online

#7 2017-06-20 15:01:13

echacko
Member
Registered: 2017-03-01
Posts: 4

Re: [SOLVED] Firefox 54 Sound not working

V1del wrote:

Are you attempting to play something during these outputs? Neither pulse nor ALSA registers any playback, terminal output of Firefox/your music player?

Now I am playing something

pacmd list-sink-inputs
2 sink input(s) available.
    index: 1
	driver: <protocol-native.c>
	flags: START_CORKED 
	state: RUNNING
	sink: 0 <alsa_output.pci-0000_00_1b.0.analog-stereo>
	volume: front-left: 55821 /  85% / -4.18 dB,   front-right: 55821 /  85% / -4.18 dB
	        balance 0.00
	muted: no
	current latency: 57.33 ms
	requested latency: 25.00 ms
	sample spec: float32le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	resample method: copy
	module: 9
	client: 44 <Firefox>
	properties:
		media.name = "AudioStream"
		application.name = "Firefox"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.process.id = "815"
		application.process.user = "echacko"
		application.process.host = "ebin-pc"
		application.process.binary = "firefox"
		application.language = "en_US.utf8"
		window.x11.display = ":0"
		application.process.machine_id = "be6c02d94947477aa35d9badc91de26a"
		application.process.session_id = "c2"
		application.icon_name = "firefox"
		module-stream-restore.id = "sink-input-by-application-name:Firefox"
    index: 3
	driver: <protocol-native.c>
	flags: 
	state: RUNNING
	sink: 0 <alsa_output.pci-0000_00_1b.0.analog-stereo>
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 288.50 ms
	requested latency: 4.99 ms
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	resample method: speex-float-1
	module: 9
	client: 197 <ALSA plug-in [cmus]>
	properties:
		media.name = "ALSA Playback"
		application.name = "ALSA plug-in [cmus]"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.process.id = "2140"
		application.process.user = "echacko"
		application.process.host = "ebin-pc"
		application.process.binary = "cmus"
		application.language = "C"
		window.x11.display = ":0"
		application.process.machine_id = "be6c02d94947477aa35d9badc91de26a"
		application.process.session_id = "c2"
		module-stream-restore.id = "sink-input-by-application-name:ALSA plug-in [cmus]"

Last edited by echacko (2017-06-20 15:08:12)

Offline

#8 2017-06-20 15:18:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,722

Re: [SOLVED] Firefox 54 Sound not working

Ah it's in your previous output:

name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9959
	volume: front-left: 32846 /  50% / -18.00 dB,   front-right: 32846 /  50% / -18.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: yes

Do you see what's off? I do, execute:

pacmd set-sink-mute alsa_output.pci-0000_00_1b.0.analog-stereo off 

I suggest you might want to accompany that pamixer with  pavucontrol or another GUI pulse mixer they would've shown you this at first glance.

Last edited by V1del (2017-06-20 17:01:29)

Online

#9 2017-06-20 17:44:48

echacko
Member
Registered: 2017-03-01
Posts: 4

Re: [SOLVED] Firefox 54 Sound not working

V1del wrote:

Do you see what's off? I do, execute:

pacmd set-sink-mute alsa_output.pci-0000_00_1b.0.analog-stereo off 

I suggest you might want to accompany that pamixer with  pavucontrol or another GUI pulse mixer they would've shown you this at first glance.

Yes, now I see. Thanks a lot!! Actually I did check if it was muted using pamixer, and I think I unmuted it using pamixer.   

I am wondering why did Mozilla went and disbaled ALSA support and made peoples lives miserable. Now I had to install pulseaudio just to listen to youtube. Also I had to go and change my shortcuts so that they work with pulseaudio.

Offline

#10 2017-06-20 17:53:06

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,722

Re: [SOLVED] Firefox 54 Sound not working

Pulseaudio is far easier and less troublesome to implement for developers and with the limited manpower they have at their disposal they choose to support the easier API and it gives one some neat features that an application developer doesn't have to care about anymore e.g. automatic switching of your favorite playback device (e.g. you plug in an USB/Bluetooth headset or a HDMI audio receiver) all of your sound can be immediately redirected to those new devices. Implementing this with plain ALSA requires a substantial effort, with pulseaudio you don't even know that it happened)

If your thread is [SOLVED] please mark it as such by editing the title in your initial post.

Online

Board footer

Powered by FluxBB