You are not logged in.

#1 2016-08-13 14:29:30

muddy
Member
Registered: 2016-08-10
Posts: 17

[Solved] Firefox No Sound (Everything else has sound)

Greetings all,

New Arch install, ironing out some issues.
As the title says only firefox has no sound, I've spend all morning on this and have fixed all my audio issues and tested every application and even Chromium all have
normally working sound, except Firefox.
During my testing I found the command :

$ printenv MOZ_PLUGIN_PATH
/usr/lib/mozilla/plugins

revealed I indeed had no such folder so I created it, re-installed firefox/ffmpeg/flash etc and rebooted, still no sound.
Ran firefox from cli and no output other than it was loading.
Watched Journelctl for any messages and nothing.

If needed asound.conf is

pcm.!default {
	type hw
	card 0
}

ctl.!default {
	type hw           
	card 0
}

I did notice in my old install had totem plugin files in the /usr/lib/mozilla/plugin directory.
Since I'm using xfce and not gnome I do not have totem installed.
I'm not asking anyone to fix it, really would love to figure it out myself but I'm stumped where I might find the clues to resolve it.
Have searched ddg and google as well as these forums and nothing seems to fit this particular issue.
Not sure if it's relevant since sound in general works, outside of firefox but using FiiO Q1 USB DAC.


*Edit*
of course I stumble arcoss this after I post
https://bbs.archlinux.org/viewtopic.php?id=206629
will try the fixes and report back

*Edit 2*
removed ~/.asoundrc and now flash sound works in firefox but not html5 or mp3 etc.
Still working ..

*Final Edit*
Victory!
It all works now.
Adding the slave section from the above thread post#9 made the difference.
Also found adding my aplay -L output as comment to my /etc/asound.conf file helped
in seeing what part was called what.

cat /etc/asound.conf 
pcm.!default {
	type hw
	card 0
}

ctl.!default {
	type hw           
	card 0
}

pcm.!default {
    type plug
    slave.pcm "hw:Q1"
}


#sysdefault:CARD=Q1
#    FiiO USB DAC Q1, USB Audio
#    Default Audio Device
#front:CARD=Q1,DEV=0
#    FiiO USB DAC Q1, USB Audio
#    Front speakers
#surround21:CARD=Q1,DEV=0
#    FiiO USB DAC Q1, USB Audio
#    2.1 Surround output to Front and Subwoofer speakers
#surround40:CARD=Q1,DEV=0
#    FiiO USB DAC Q1, USB Audio
#    4.0 Surround output to Front and Rear speakers
#surround41:CARD=Q1,DEV=0
#    FiiO USB DAC Q1, USB Audio
#    4.1 Surround output to Front, Rear and Subwoofer speakers
#surround50:CARD=Q1,DEV=0
#    FiiO USB DAC Q1, USB Audio
#    5.0 Surround output to Front, Center and Rear speakers
#surround51:CARD=Q1,DEV=0
#    FiiO USB DAC Q1, USB Audio
#    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
#surround71:CARD=Q1,DEV=0
#    FiiO USB DAC Q1, USB Audio
#    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
#iec958:CARD=Q1,DEV=0
#    FiiO USB DAC Q1, USB Audio
#    IEC958 (S/PDIF) Digital Audio Output

Last edited by muddy (2016-08-13 15:20:00)

Offline

Board footer

Powered by FluxBB