You are not logged in.

#1 2014-09-23 20:56:36

thealchemist
Member
Registered: 2014-02-16
Posts: 4

[SOLVED] No audio in Firefox through integrated speakers

Hello everyone,


as it is my first post in the forum I want to compliment all of you who spend so much time supporting newbies like me.

I am using Arch Linux  on a Vaio Pro  for a while now and everything is fine for me but running videos or audio streams (Flash and HTML5) in Firefox. Any other Program I tried (Epiphany, Midori, VLC, Totem, Rhythmbox, Gnome sound test) work fine. Also Firefox sound works through HDMI connection but not on my PCH sound card.

I already tried changing the default sound card via

# /etc/modprobe.d
options snd_hda_intel index=1,0 

with success – sound cards are swapped (as recognised in alsamixer --> F6). According to this and that thread it solves the issue but in my case Firefox is still mute (bound to HDMI sound). I also depend on Pulseaudio because of using Gnome (some time ago I was messing around removing pulseaudio like implied here from Gnome but didnt get it done).
Last thing I tried was running my machine on a related distro (Manjaro Gnome live pendrive) and everything works fine. So it should be possible to get it running in my Arch install. While comparing Manjaro and my System I did not find a audio-"related" package missing in mine, so I assume the last pieces of the puzzle should be hidden in configuration.

But I haven't got any clue where to look for it.


System: Vaio Pro SVP1321C5E
some terminal output (sorry, I hope it's still readable with German locale)

$ lspci -vnn | grep -A 1 -i audio
-----------------------------------
00:03.0 Audio device [0403]: Intel Corporation Haswell-ULT HD Audio Controller [8086:0a0c] (rev 09)
	Subsystem: Sony Corporation Device [104d:90b6]
--
00:1b.0 Audio device [0403]: Intel Corporation 8 Series HD Audio Controller [8086:9c20] (rev 04)
	Subsystem: Sony Corporation Device [104d:90b6]
$ 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=PCH
    HDA Intel PCH, ALC286 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC286 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC286 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC286 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC286 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC286 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC286 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC286 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=HDMI,DEV=0
    HDA Intel HDMI, HDMI 0
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
    HDA Intel HDMI, HDMI 1
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
    HDA Intel HDMI, HDMI 2
    HDMI Audio Output
**** Liste der Hardware-Geräte (PLAYBACK) ****
Karte 0: PCH [HDA Intel PCH], Gerät 0: ALC286 Analog [ALC286 Analog]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 1: HDMI [HDA Intel HDMI], Gerät 3: HDMI 0 [HDMI 0]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 1: HDMI [HDA Intel HDMI], Gerät 7: HDMI 1 [HDMI 1]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 1: HDMI [HDA Intel HDMI], Gerät 8: HDMI 2 [HDMI 2]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
$ for i in /proc/asound/card[0-9]*; do echo "--- $i ---";amixer -c $(cat $i/id); done;
--------------------------------------
--- /proc/asound/card0 ---
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 116 [91%] [-5.50dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 0 [0%] [-63.50dB] [off]
  Front Right: Playback 0 [0%] [-63.50dB] [off]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 127 [100%] [0.00dB] [on]
  Front Right: Playback 126 [99%] [-0.50dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 127
  Front Left: Capture 91 [72%] [12.00dB] [on]
  Front Right: Capture 91 [72%] [12.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Headset Mic',0
  Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Playback channels: Front Left - Front Right
  Capture channels: Mono
  Limits: Playback 0 - 31
  Mono: Capture [off]
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Headset Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Internal Mic',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [on]
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
--- /proc/asound/card1 ---
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

Last edited by thealchemist (2014-09-24 23:41:02)

Offline

#2 2014-09-24 11:46:42

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

Re: [SOLVED] No audio in Firefox through integrated speakers

make sure that the necessary gst-packages (namely gst-libav but including good, bad, ugly etc wouldn't hurt) are installed. output of

fuser -v /dev/snd/*

while sound isn't working in firefox would be good too

Last edited by V1del (2014-09-24 14:53:52)

Offline

#3 2014-09-24 21:55:48

thealchemist
Member
Registered: 2014-02-16
Posts: 4

Re: [SOLVED] No audio in Firefox through integrated speakers

Hello thanks for replying...

gst-libav and gst-plugins had already been installed – except for *-ugly.

so outputs without and with *-ugly plugin:

$ fuser -v /dev/snd/*
                     BEN.        PID ZUGR.  BEFEHL
/dev/snd/controlC0:  user        648 F.... pulseaudio
/dev/snd/controlC1:  user        648 F.... pulseaudio
/dev/snd/pcmC1D3p:   user        648 F...m pulseaudio

$ fuser -v /dev/snd/*            # after installing gst-plugins-ugly
                     BEN.        PID ZUGR.  BEFEHL
/dev/snd/controlC0:  user        648 F.... pulseaudio
/dev/snd/controlC1:  user        648 F.... pulseaudio
/dev/snd/pcmC0D0p:   user        648 F...m pulseaudio
/dev/snd/pcmC1D3p:   user        648 F...m pulseaudio

Offline

#4 2014-09-24 23:39:23

thealchemist
Member
Registered: 2014-02-16
Posts: 4

Re: [SOLVED] No audio in Firefox through integrated speakers

Hey you kind of pushed my nose into the Wiki --> Pulseaudio#Troubleshooting.

It has been a bad config file.


[SOLVED]

Last edited by thealchemist (2014-09-24 23:39:58)

Offline

#5 2014-09-25 07:49:39

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

Re: [SOLVED] No audio in Firefox through integrated speakers

Yeah that would've been my next guess after seeing that fuser outputs what its supposed to, glad you found  it yourself

Offline

Board footer

Powered by FluxBB