You are not logged in.

#1 2024-12-10 13:57:04

HydroDiOxide
Member
Registered: 2007-10-06
Posts: 103

No sound in browser (YouTube, Rumble), playing crashes sound

I've running Gnome on a X390 ThinkPad. Recently I've started having issues with playing videos in my browsers (Brave, Firefox, Chromium). Videos just won't start and when trying to play a video, my system sound crashes and video in programs like Kodi becomes laggy as well. The volume up/down sounds stop working as well. I'm not sure how to troubleshoot this.


"Overspecialize and you breed in weakness..." Major Motoko Kusanagi

Offline

#2 2024-12-10 16:13:02

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,447

Re: No sound in browser (YouTube, Rumble), playing crashes sound

What's your audio daemon/setup? Symptoms sound like pulse/pipewire conflicts and/or (resulting from that) a broken sound daemon cache. Whil{}e reproducing post

sudo fuser -v /dev/snd/*
systemctl --user status pipewire{,-pulse} wireplumber pulseaudio
pactl list cards
pactl list sinks
pactl list sink-inputs

wrapped in [code][/code] tags (also define "recently", almost certainly with an update, which, which packages were part of said update)

Offline

#3 2024-12-10 16:37:27

HydroDiOxide
Member
Registered: 2007-10-06
Posts: 103

Re: No sound in browser (YouTube, Rumble), playing crashes sound

Thanks for the reply. I'm not really sure when this started, but I'd say a week or three ago, probably after an update as I it was working fine previously. Both pipewire and pulseaudio are installed.

 sudo fuser -v /dev/snd/*                               
[sudo] password for hEEE: 
                                 USER        PID ACCESS COMMAND
/dev/snd/controlC0:  hEEE     1612 F.... wireplumber
                                 hEEE     1619 F.... pulseaudio
/dev/snd/seq:            hEEE     1611 F.... pipewire
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: enabled)
     Active: active (running) since Tue 2024-12-10 17:18:50 CET; 9min ago
 Invocation: 83a16d5d3754415d8e4ba033cde85adc
TriggeredBy: ● pipewire.socket
   Main PID: 1611 (pipewire)
      Tasks: 3 (limit: 9108)
     Memory: 4.3M (peak: 4.5M)
        CPU: 41ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─1611 /usr/bin/pipewire

dec 10 17:18:50 X390 systemd[1101]: Started PipeWire Multimedia Service.

● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Tue 2024-12-10 17:18:50 CET; 9min ago
 Invocation: 1b76779aadde4273a796c56d1fa87fe6
   Main PID: 1612 (wireplumber)
      Tasks: 6 (limit: 9108)
     Memory: 9.2M (peak: 9.7M)
        CPU: 521ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─1612 /usr/bin/wireplumber

dec 10 17:18:50 X390 systemd[1101]: Started Multimedia Service Session Manager.
dec 10 17:18:50 X390 wireplumber[1612]: wp-internal-comp-loader: Loading profile 'main'
dec 10 17:18:51 X390 wireplumber[1612]: wp-device: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
dec 10 17:18:51 X390 wireplumber[1612]: s-monitors-libcamera: PipeWire's libcamera SPA plugin is missing or broken. Some camera types may not be supported.

● pulseaudio.service - Sound Service
     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; preset: enabled)
     Active: active (running) since Tue 2024-12-10 17:18:51 CET; 9min ago
 Invocation: 7ebfe62742bc42bfaae771c2ac74bf37
TriggeredBy: ● pulseaudio.socket
   Main PID: 1619 (pulseaudio)
      Tasks: 8 (limit: 9108)
     Memory: 12.1M (peak: 12.4M)
        CPU: 197ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pulseaudio.service
             ├─1619 /usr/bin/pulseaudio --daemonize=no --log-target=journal
             └─1676 /usr/lib/pulse/gsettings-helper

dec 10 17:28:02 X390 pulseaudio[1619]: Failed to create sink input: sink is suspended.
dec 10 17:28:02 X390 pulseaudio[1619]: Failed to create sink input: sink is suspended.
dec 10 17:28:02 X390 pulseaudio[1619]: Failed to create sink input: sink is suspended.
dec 10 17:28:02 X390 pulseaudio[1619]: Failed to create sink input: sink is suspended.
dec 10 17:28:02 X390 pulseaudio[1619]: Failed to create sink input: sink is suspended.
dec 10 17:28:02 X390 pulseaudio[1619]: Failed to create sink input: sink is suspended.
dec 10 17:28:02 X390 pulseaudio[1619]: Failed to create sink input: sink is suspended.
dec 10 17:28:02 X390 pulseaudio[1619]: Failed to create sink input: sink is suspended.
dec 10 17:28:02 X390 pulseaudio[1619]: Failed to create sink input: sink is suspended.
dec 10 17:28:02 X390 pulseaudio[1619]: Failed to create sink input: sink is suspended.
Card #0
	Name: alsa_card.pci-0000_00_1f.3
	Driver: module-alsa-card.c
	Owner Module: 6
	Properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xc3d3c000 irq 173"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "9dc8"
		device.product.name = "Cannon Point-LP High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Profiles:
		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 32833, available: yes)
		output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 39268, available: yes)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 39333, available: yes)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
		output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5965, available: yes)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 865, available: yes)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 865, available: yes)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: yes)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: yes)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: yes)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: yes)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: yes)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: yes)
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: output:analog-stereo+input:analog-stereo
	Ports:
		analog-input-internal-mic: Internal Microphone (type: Mic, priority: 8900, latency offset: 0 usec, availability unknown)
			Properties:
				device.icon_name = "audio-input-microphone"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo
		analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "audio-input-microphone"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo
		analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, availability unknown)
			Properties:
				device.icon_name = "audio-speakers"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "audio-headphones"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71, output:hdmi-surround71+input:analog-stereo
		hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1, output:hdmi-surround71-extra1+input:analog-stereo
		hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, not available)
			Properties:
				device.icon_name = "video-display"
			Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2, output:hdmi-surround71-extra2+input:analog-stereo
Sink #0
	State: SUSPENDED
	Name: alsa_output.pci-0000_00_1f.3.analog-stereo
	Description: Built-in Audio Analog Stereo
	Driver: module-alsa-card.c
	Sample Specification: s16le 2ch 44100Hz
	Channel Map: front-left,front-right
	Owner Module: 6
	Mute: no
	Volume: front-left: 2624 /   4% / -83,85 dB,   front-right: 2624 /   4% / -83,85 dB
	        balance 0,00
	Base Volume: 65536 / 100% / 0,00 dB
	Monitor Source: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC257 Analog"
		alsa.id = "ALC257 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xc3d3c000 irq 173"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "9dc8"
		device.product.name = "Cannon Point-LP High Definition Audio Controller"
		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"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Ports:
		analog-output-speaker: Speakers (type: Speaker, priority: 10000, availability unknown)
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, not available)
	Active Port: analog-output-speaker
	Formats:
		pcm

pactl list sink-inputs returns nothing.


"Overspecialize and you breed in weakness..." Major Motoko Kusanagi

Offline

#4 2024-12-10 17:47:58

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,447

Re: No sound in browser (YouTube, Rumble), playing crashes sound

You're conflicting on wireplumber and pulseaudio, install pipewire-pulse, say yes to the removal of pulseaudio.

Offline

#5 2024-12-10 21:39:49

HydroDiOxide
Member
Registered: 2007-10-06
Posts: 103

Re: No sound in browser (YouTube, Rumble), playing crashes sound

That fixed it. Thank you so much.

Would you mind explaining what pointed you to the solution so I can learn from it? And can it be that this wasn't causing issues previously? I can't recall installing any new package related to either pulseaudio or pipewire lately.


"Overspecialize and you breed in weakness..." Major Motoko Kusanagi

Offline

#6 2024-12-11 01:32:58

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,447

Re: No sound in browser (YouTube, Rumble), playing crashes sound

The main check to look out for this are the systemctl status and fuser commands. Both show you're running both of them at the same time and both want to act as a pulseaudio server to audio clients - this situation is always problematic. If this really only happened recently, chances are you didn't have pipewire/wireplumber installed yet and some update started requiring wireplumber for some reason, chances are things start to depend on this more since pipewire is primarily vital for screen sharing on wayland or from flatpaks  (or you were just lucky, the underlying issue is ultimately a race condition on which of the two "pulseaudio servers" gets the client first, if pulseaudio wins, you'll get audio, if wireplumber wins you get no audio since the pipewire-pulse layer is missing)

You can technically have wireplumber and pulseaudio coexist (see: https://wiki.archlinux.org/title/WirePl … ntegration ), but with pipewire being much more actively developed and with commercial backing it's likely pulse is more and more only really an option still for some very specific usecases (... though pipewire should™ be able to cover most if not all of them)

Offline

#7 2024-12-11 08:01:30

HydroDiOxide
Member
Registered: 2007-10-06
Posts: 103

Re: No sound in browser (YouTube, Rumble), playing crashes sound

Thank you for the explanation. That helps a lot.


"Overspecialize and you breed in weakness..." Major Motoko Kusanagi

Offline

#8 2024-12-11 18:22:40

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,447

Re: No sound in browser (YouTube, Rumble), playing crashes sound

Glad to hear, please consider marking as [SOLVED] by editing the title in your first post (might have to shorten it a bit).

Last edited by V1del (2024-12-11 18:23:00)

Offline

Board footer

Powered by FluxBB