You are not logged in.
Hello, I have two users on my Arch and on the second user there is no sound in firefox. Deadbeef for example works fine.
There is no error or output when starting firefox via terminal.
Deadbeef works fine.
Groups of main account: wheel bumblebee vboxusers users
Groups of second account (named kratos): users bumblebee vboxusers kratos
Maybe there is a missing grup or some groups beeing wrong? I have no idea
Thanks !
btw the sound previously worked already...
Setup 1: Thinkpad T14s G3, 14" FHD - R7 6850U - 32GB RAM - 2TB Solidigm P44 Pro NVME
Setup 2: Thinkpad X1E G1, 15.6" FHD - i7-8850H - 32GB RAM - NVIDIA GTX 1050Ti - 2x 1TB Samsung 970 Pro NVME
Accessories: Filco Majestouch TKL MX-Brown Mini Otaku, Benq XL2420T (144Hz), Lo(w)gitech G400, Puretrak Talent, Sennheiser HD800S + Meier Daccord FF + Meier Classic FF
Offline
No suggestions. Are you using Pulseaudio? I also note that the working user is a member of wheel; try (at least temporarily) adding kratos to wheel.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Yes I am using pulseaudio + GNOME. Firefox is enabled in the "sound options" of GNOME.
Adding the user to wheel didn't fix the issue
Setup 1: Thinkpad T14s G3, 14" FHD - R7 6850U - 32GB RAM - 2TB Solidigm P44 Pro NVME
Setup 2: Thinkpad X1E G1, 15.6" FHD - i7-8850H - 32GB RAM - NVIDIA GTX 1050Ti - 2x 1TB Samsung 970 Pro NVME
Accessories: Filco Majestouch TKL MX-Brown Mini Otaku, Benq XL2420T (144Hz), Lo(w)gitech G400, Puretrak Talent, Sennheiser HD800S + Meier Daccord FF + Meier Classic FF
Offline
What are you playing in firefox? If it is a flash based site it will be using ALSA, and to properly handle ALSA with pulse you will want the pulseaudio-alsa and alsa-plugin packages.
Offline
I had thought that as well, but the first user has no issues (if I understand correctly) it should be systemwide. That is why I was looking at the user's groups.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
I tried youtube videos or vimeo.
Alsa packages are installed and in any case, the sound works well with the main user. But only the second user has problems.
Setup 1: Thinkpad T14s G3, 14" FHD - R7 6850U - 32GB RAM - 2TB Solidigm P44 Pro NVME
Setup 2: Thinkpad X1E G1, 15.6" FHD - i7-8850H - 32GB RAM - NVIDIA GTX 1050Ti - 2x 1TB Samsung 970 Pro NVME
Accessories: Filco Majestouch TKL MX-Brown Mini Otaku, Benq XL2420T (144Hz), Lo(w)gitech G400, Puretrak Talent, Sennheiser HD800S + Meier Daccord FF + Meier Classic FF
Offline
Have you changed any other relevant configuration files such that they are different from stock Arch Linux?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Have you changed any other relevant configuration files such that they are different from stock Arch Linux?
Not that I know of. And even then...what sense does it make that deadbeef and system sounds work but e.g. firefox not.
Setup 1: Thinkpad T14s G3, 14" FHD - R7 6850U - 32GB RAM - 2TB Solidigm P44 Pro NVME
Setup 2: Thinkpad X1E G1, 15.6" FHD - i7-8850H - 32GB RAM - NVIDIA GTX 1050Ti - 2x 1TB Samsung 970 Pro NVME
Accessories: Filco Majestouch TKL MX-Brown Mini Otaku, Benq XL2420T (144Hz), Lo(w)gitech G400, Puretrak Talent, Sennheiser HD800S + Meier Daccord FF + Meier Classic FF
Offline
Are you logged out of your first user? Post
sudo fuser -v /dev/snd/*
pacmd list-sinks
pacmd list-sink-inputs
while attempting to play something on the second user
If there's still a session for your first user, it makes sense in so far that the first user will be blocking access to the card, although pulseaudio should handle the switching properly, do you have a .asoundrc in either user's home directories?
Last edited by V1del (2016-10-15 23:09:42)
Offline
Are you logged out of your first user? Post
sudo fuser -v /dev/snd/* pacmd list-sinks pacmd list-sink-inputs
while attempting to play something on the second user
If there's still a session for your first user, it makes sense in so far that the first user will be blocking access to the card, although pulseaudio should handle the switching properly, do you have a .asoundrc in either user's home directories?
I have tried rebooting, logging directly into the 2nd user and playing smth in firefox -> still no sound.
So the main user wasn't logged in at all.
Anyway, here are the outputs:
link: https://dpaste.de/vut7
or below:
kratos@_____:~$ su root
Password:
[root@_____ kratos]# fuser -v /dev/snd/*
USER PID ACCESS COMMAND
/dev/snd/controlC0: gdm 682 F.... pulseaudio
kratos 1464 F.... pulseaudio
/dev/snd/controlC1: gdm 682 F.... pulseaudio
kratos 1464 F.... pulseaudio
/dev/snd/pcmC0D3p: kratos 1464 F...m pulseaudio
[root@_____ kratos]# su kratos
kratos@_____:~$ pacmd list-sinks
2 sink(s) available.
index: 0
name: <alsa_output.pci-0000_00_03.0.hdmi-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: RUNNING
suspend cause:
priority: 9950
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: yes
current latency: 23.03 ms
max request: 4 KiB
max rewind: 344 KiB
monitor source: 0
sample spec: s16le 2ch 48000Hz
channel map: front-left,front-right
Stereo
used by: 1
linked by: 1
configured latency: 25.00 ms; range is 0.50 .. 1837.33 ms
card: 0 <alsa_card.pci-0000_00_03.0>
module: 6
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "HDMI 0"
alsa.id = "HDMI 0"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "3"
alsa.card = "0"
alsa.card_name = "HDA Intel HDMI"
alsa.long_card_name = "HDA Intel HDMI at 0xf7a1c000 irq 37"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:03.0"
sysfs.path = "/devices/pci0000:00/0000:00:03.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "0c0c"
device.product.name = "Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller"
device.form_factor = "internal"
device.string = "hdmi:0"
device.buffering.buffer_size = "352768"
device.buffering.fragment_size = "176384"
device.access_mode = "mmap+timer"
device.profile.name = "hdmi-stereo"
device.profile.description = "Digital Stereo (HDMI)"
device.description = "Built-in Audio Digital Stereo (HDMI)"
alsa.mixer_name = "Intel Haswell HDMI"
alsa.components = "HDA:80862807,80860101,00100000"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
active port: <hdmi-output-0>
* index: 1
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: 30284 / 46% / -20.12 dB, front-right: 30284 / 46% / -20.12 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 1
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 .. 2000.00 ms
card: 1 <alsa_card.pci-0000_00_1b.0>
module: 7
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC3661 Analog"
alsa.id = "ALC3661 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "1"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xf7a18000 irq 35"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "8c20"
device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
device.form_factor = "internal"
device.string = "front:1"
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 ALC3661"
alsa.components = "HDA:10ec0668,102805fe,00100003"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
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: no)
properties:
device.icon_name = "audio-headphones"
active port: <analog-output-speaker>
kratos@_____:~$ pacmd list-sink-inputs
1 sink input(s) available.
index: 0
driver: <protocol-native.c>
flags: START_CORKED
state: RUNNING
sink: 0 <alsa_output.pci-0000_00_03.0.hdmi-stereo>
volume: front-left: 49015 / 75% / -7.57 dB, front-right: 49015 / 75% / -7.57 dB
balance 0.00
muted: no
current latency: 65.00 ms
requested latency: 25.00 ms
sample spec: float32le 2ch 48000Hz
channel map: front-left,front-right
Stereo
resample method: copy
module: 9
client: 10 <CubebUtils>
properties:
media.name = "AudioStream"
application.name = "CubebUtils"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "31"
application.process.id = "1553"
application.process.user = "kratos"
application.process.host = "_____"
application.process.binary = "firefox"
application.language = "en_US.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "7bbb0d29c32b42fe98f9d35461f403ff"
application.process.session_id = "c2"
application.icon_name = "firefox"
module-stream-restore.id = "sink-input-by-application-name:CubebUtils"
No .asoundrc in any of the users home directory
Thanks for helping !
Setup 1: Thinkpad T14s G3, 14" FHD - R7 6850U - 32GB RAM - 2TB Solidigm P44 Pro NVME
Setup 2: Thinkpad X1E G1, 15.6" FHD - i7-8850H - 32GB RAM - NVIDIA GTX 1050Ti - 2x 1TB Samsung 970 Pro NVME
Accessories: Filco Majestouch TKL MX-Brown Mini Otaku, Benq XL2420T (144Hz), Lo(w)gitech G400, Puretrak Talent, Sennheiser HD800S + Meier Daccord FF + Meier Classic FF
Offline
You are playing to the HDMI output, I have a hunch that you want to play to your speakers instead:
pacmd move-sink-input 0 alsa_output.pci-0000_00_1b.0.analog-stereo #Verify that first number by looking at the sink-input index from pacmd list-sink-inputs
this should be reflected in GNOME's sound settings somewhere, if it isn't use pavucontrol, it would have shown you this discrepancy on first glance (and also allow switching).
Last edited by V1del (2016-10-16 14:09:47)
Offline
I ran the commands again (in case I previously really had mistakenly switched the output to HDMI). This time the output is set to "speakers":
kratos@_____:~$ pacmd list-sinks
2 sink(s) available.
index: 0
name: <alsa_output.pci-0000_00_03.0.hdmi-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: RUNNING
suspend cause:
priority: 9950
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: yes
current latency: 21.77 ms
max request: 4 KiB
max rewind: 344 KiB
monitor source: 0
sample spec: s16le 2ch 48000Hz
channel map: front-left,front-right
Stereo
used by: 1
linked by: 1
configured latency: 25.00 ms; range is 0.50 .. 1837.33 ms
card: 0 <alsa_card.pci-0000_00_03.0>
module: 6
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "HDMI 0"
alsa.id = "HDMI 0"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "3"
alsa.card = "0"
alsa.card_name = "HDA Intel HDMI"
alsa.long_card_name = "HDA Intel HDMI at 0xf7a1c000 irq 37"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:03.0"
sysfs.path = "/devices/pci0000:00/0000:00:03.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "0c0c"
device.product.name = "Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller"
device.form_factor = "internal"
device.string = "hdmi:0"
device.buffering.buffer_size = "352768"
device.buffering.fragment_size = "176384"
device.access_mode = "mmap+timer"
device.profile.name = "hdmi-stereo"
device.profile.description = "Digital Stereo (HDMI)"
device.description = "Built-in Audio Digital Stereo (HDMI)"
alsa.mixer_name = "Intel Haswell HDMI"
alsa.components = "HDA:80862807,80860101,00100000"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
active port: <hdmi-output-0>
* index: 1
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: 30284 / 46% / -20.12 dB, front-right: 30284 / 46% / -20.12 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 1
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: 1 <alsa_card.pci-0000_00_1b.0>
module: 7
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC3661 Analog"
alsa.id = "ALC3661 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "1"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xf7a18000 irq 36"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "8c20"
device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
device.form_factor = "internal"
device.string = "front:1"
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 ALC3661"
alsa.components = "HDA:10ec0668,102805fe,00100003"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
ports:
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: no)
properties:
device.icon_name = "audio-headphones"
active port: <analog-output-speaker>
kratos@_____:~$ pacmd list-sink-inputs
1 sink input(s) available.
index: 0
driver: <protocol-native.c>
flags: START_CORKED
state: RUNNING
sink: 0 <alsa_output.pci-0000_00_03.0.hdmi-stereo>
volume: front-left: 48884 / 75% / -7.64 dB, front-right: 48884 / 75% / -7.64 dB
balance 0.00
muted: no
current latency: 55.00 ms
requested latency: 25.00 ms
sample spec: float32le 2ch 48000Hz
channel map: front-left,front-right
Stereo
resample method: copy
module: 9
client: 10 <CubebUtils>
properties:
media.name = "AudioStream"
application.name = "CubebUtils"
native-protocol.peer = "UNIX socket client"
native-protocol.version = "31"
application.process.id = "7282"
application.process.user = "kratos"
application.process.host = "_____"
application.process.binary = "firefox"
application.language = "en_US.UTF-8"
window.x11.display = ":1"
application.process.machine_id = "7bbb0d29c32b42fe98f9d35461f403ff"
application.process.session_id = "c3"
application.icon_name = "firefox"
module-stream-restore.id = "sink-input-by-application-name:CubebUtils"
HDMI isn't even connected and the GNOME Sound settings as well as the extension "GNOME Sound Output Chooser" show that "speakers" is set as output. Also, when going into "sound settings" and "testing speakers" it correctly plays on the left/right speakers of my laptop. Still no sound in firefox :S
Setup 1: Thinkpad T14s G3, 14" FHD - R7 6850U - 32GB RAM - 2TB Solidigm P44 Pro NVME
Setup 2: Thinkpad X1E G1, 15.6" FHD - i7-8850H - 32GB RAM - NVIDIA GTX 1050Ti - 2x 1TB Samsung 970 Pro NVME
Accessories: Filco Majestouch TKL MX-Brown Mini Otaku, Benq XL2420T (144Hz), Lo(w)gitech G400, Puretrak Talent, Sennheiser HD800S + Meier Daccord FF + Meier Classic FF
Offline
Try pavucontrol and try adjusting the output settings with it.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
No your firefox stream is still set to HDMI, pulseaudio can selectively point applications to a specific output, at some point you or some ALSA update might have changed that to HDMI for firefox ONLY, that's why the rest works and firefox doesn't. As mentioned use pavucontrol, or the command I've given above, while running and playing something in firefox.
Offline
Thanks guys, you are awesome !
As soon as I installed pavucontrol, the output that was showing "speakers" instantly jumped to "HDMI"... so I set it back to speaker and now everything works
Weird bug though.
Setup 1: Thinkpad T14s G3, 14" FHD - R7 6850U - 32GB RAM - 2TB Solidigm P44 Pro NVME
Setup 2: Thinkpad X1E G1, 15.6" FHD - i7-8850H - 32GB RAM - NVIDIA GTX 1050Ti - 2x 1TB Samsung 970 Pro NVME
Accessories: Filco Majestouch TKL MX-Brown Mini Otaku, Benq XL2420T (144Hz), Lo(w)gitech G400, Puretrak Talent, Sennheiser HD800S + Meier Daccord FF + Meier Classic FF
Offline
I don't think this is a bug, iirc (i don't use GNOME) gnome's sound center doesn't show the per application stream. But will move all active streams on click (it might have been resolvable by simply clicking on the speakers, despite them already being chosen). Sometimes, especially on i.e. alsa-utils updates, it might be that the identifier for the sound card changes. If firefox was started in that timeframe it's possible that it defaulted to HDMI, saved that choice for the firefox stream and didn't change it. However nice to hear we resolved this don't forget to mark as [SOLVED] by editing your initial post's title.
Offline