You are not logged in.

#1 2026-06-26 16:08:41

redshoe
Member
Registered: 2015-12-16
Posts: 254

Audio device 'stuck' when trying to play a media after boot [Solved]

Once my computer is boot and when I try to play youtube video or play sound files such as mp3, I can click on the play button but the media would not play. This gets resolve only after when I select different audio profile in Pulseaudio controller. This problem is on going for me for months and I would finally like to solve it somehow. It happened on my system that has USB sound card (audio interface), and I recently noticed that the same thing is happening for my laptop as well (just built-in internal sound card). So, I am suspecting that this problem is related to Pulseaudio updates at some point in time because I did not have this issue couple months back.

Where should I look first to solve this issue?

Thanks.

Last edited by redshoe (2026-06-26 16:58:20)

Offline

#2 2026-06-26 16:26:30

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,259

Re: Audio device 'stuck' when trying to play a media after boot [Solved]

Make sure you don't have conflicting sound servers running first and foremost

systemctl --user status pipewire{,-pulse} wireplumber pulseaudio

needs to either show wireplumber or pulseaudio existing, if they are both running then you'll have a logical conflict between which service tries to handle the incoming request, in which case you should lean towards preferring pipewire-pulse instead of pulseaudio, because the former is much more actively maintained.

If that isn't it, what output do you get from

sudo fuser -v /dev/snd/*
pactl list cards
pactl list sinks
pactl list sink-inputs

before and after the fix

Last edited by V1del (2026-06-26 16:27:12)

Offline

#3 2026-06-26 16:37:05

redshoe
Member
Registered: 2015-12-16
Posts: 254

Re: Audio device 'stuck' when trying to play a media after boot [Solved]

For

systemctl --user status pipewire{,-pulse} wireplumber pulseaudio

I get nothing..


Failed to connect to user scope bus via local transport: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=<user>@.host --user to connect to bus of other user)

And for the series of commands you recommended I get the following

For

sudo fuser -v /dev/snd/*

I get


                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  angke       670 F.... pulseaudio
                     angke       757 F.... wireplumber
/dev/snd/controlC1:  angke       670 F.... pulseaudio
                     angke       757 F.... wireplumber
/dev/snd/seq:        angke       756 F.... pipewire

For

pactl list cards
Card #0
	Name: alsa_card.pci-0000_05_00.1
	Driver: module-alsa-card.c
	Owner Module: 6
	Properties:
		alsa.card = "0"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xc0688000 irq 85"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:05:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:05:00.1/sound/card0"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "15de"
		device.product.name = "Raven/Raven2/Fenghuang HDMI/DP Audio Controller"
		device.string = "0"
		device.description = "Raven/Raven2/Fenghuang HDMI/DP Audio Controller"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: off
	Ports:
		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-surround, output:hdmi-surround71
		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-surround-extra1, output:hdmi-surround71-extra1
		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-surround-extra2, output:hdmi-surround71-extra2

Card #1
	Name: alsa_card.pci-0000_05_00.6
	Driver: module-alsa-card.c
	Owner Module: 7
	Properties:
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xc0680000 irq 86"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:05:00.6"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:05:00.6/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "15e3"
		device.product.name = "Ryzen HD Audio Controller"
		device.string = "1"
		device.description = "Ryzen HD Audio Controller"
		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)
		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
		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
		analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, not available)
			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, available)
			Properties:
				device.icon_name = "audio-headphones"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo

For

pactl list sinks

I get

Sink #8
	State: SUSPENDED
	Name: alsa_output.pci-0000_05_00.6.analog-stereo
	Description: Ryzen HD Audio Controller Analog Stereo
	Driver: module-alsa-card.c
	Sample Specification: s16le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 7
	Mute: no
	Volume: front-left: 26852 /  41% / -23.25 dB,   front-right: 26852 /  41% / -23.25 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.pci-0000_05_00.6.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 = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xc0680000 irq 86"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:05:00.6"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:05:00.6/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "15e3"
		device.product.name = "Ryzen HD Audio Controller"
		device.string = "front:1"
		device.buffering.buffer_size = "352768"
		device.buffering.fragment_size = "176384"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Ryzen HD Audio Controller Analog Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Ports:
		analog-output-speaker: Speakers (type: Speaker, priority: 10000, not available)
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, available)
	Active Port: analog-output-headphones
	Formats:
		pcm

Lastly, for

pactl list sink-inputs

I get nothing.

Offline

#4 2026-06-26 16:57:47

redshoe
Member
Registered: 2015-12-16
Posts: 254

Re: Audio device 'stuck' when trying to play a media after boot [Solved]

Ahh. I think I got what you mean. I removed all pulseaudio related packages and now it is working well. Thanks.

Offline

Board footer

Powered by FluxBB