You are not logged in.

#1 2025-02-26 13:46:35

freedomd1v3
Member
Registered: 2020-12-01
Posts: 12

SOLVED Pipewire - output is always "Headphones", sound goes to speaker

Yesterday sound started to work weird: I plugged my headphones to jack port, and in the beginning it started playing on both speaker and headphones. After re-plugging headphones issue seemed to resolved itself, however today after booting my Linux system sound always goes to speaker, even when headphones are plugged in.

Jack port isn't faulty: on Windows everything works fine. If I try to remove all pipewire-related packages and use vanilla alsa, sound goes to both headphones and speaker upon plugging headphones in.
UPD: The issue also appears when using vanilla pulseaudio.

I've tried to downgrade the Linux kernel, alsa-card-profiles package, different pipewire packages, etc., but nothing seems to work. I've also tried setting multiple different parameters to "snd-hda-intel", removing ~./config/pulse/cookie, /var/lib/alsa/asound.state, and yet nothing resolved the issue.

I believe downgrading also would not help, since the system was not upgraded for last 2 weeks or so, and the issue appeared only yesterday.

Is there a way to somehow reset all settings related to sound? Including ones of alsa, pulseaudio (pipewire-pulse), etc.?

Thanks a lot.

Laptop is ThinkPad E14 Gen 5 (AMD). Also, here's the output of wpctl:

PipeWire 'pipewire-0' [1.2.7, freedomd1v3@Eternity, cookie:290934745]
└─ Clients:
        32. WirePlumber                         [1.2.7, freedomd1v3@Eternity, pid:1573]
        33. pipewire                            [1.2.7, freedomd1v3@Eternity, pid:1574]
        35. waybar                              [1.2.7, freedomd1v3@Eternity, pid:1456]
        36. waybar                              [1.2.7, freedomd1v3@Eternity, pid:1456]
        48. WirePlumber [export]                [1.2.7, freedomd1v3@Eternity, pid:1573]
        54. Blueman                             [1.2.7, freedomd1v3@Eternity, pid:1506]
        87. wpctl                               [1.2.7, freedomd1v3@Eternity, pid:3927]
       130. xdg-desktop-portal-wlr              [1.2.7, freedomd1v3@Eternity, pid:2523]
       131. Google Chrome input                 [1.2.7, freedomd1v3@Eternity, pid:2897]

Audio
├─ Devices:
│      49. Renoir Radeon High Definition Audio Controller [alsa]
│      50. Family 17h/19h/1ah HD Audio Controller [alsa]
│ 
├─ Sinks:
│  *   34. Family 17h/19h/1ah HD Audio Controller Headphones [vol: 0.40]
│      62. Renoir Radeon High Definition Audio Controller HDMI / DisplayPort 3 Output [vol: 1.00]
│      63. Renoir Radeon High Definition Audio Controller HDMI / DisplayPort 2 Output [vol: 1.00]
│      64. Renoir Radeon High Definition Audio Controller HDMI / DisplayPort 1 Output [vol: 1.00]
│ 
├─ Sources:
│  *   45. Family 17h/19h/1ah HD Audio Controller Digital Microphone [vol: 1.00]
│      47. Family 17h/19h/1ah HD Audio Controller Headphones Stereo Microphone [vol: 1.00]
│ 
├─ Filters:
│ 
└─ Streams:

Video
├─ Devices:
│      55. Integrated Camera                   [v4l2]
│      56. Integrated Camera                   [v4l2]
│      57. Integrated Camera                   [v4l2]
│      58. Integrated Camera                   [v4l2]
│ 
├─ Sinks:
│ 
├─ Sources:
│  *   83. Integrated Camera (V4L2)           
│      85. Integrated Camera (V4L2)           
│ 
├─ Filters:
│ 
└─ Streams:

Settings
└─ Default Configured Devices:

Last edited by freedomd1v3 (2025-02-26 18:33:10)

Offline

#2 2025-02-26 14:58:55

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,960

Re: SOLVED Pipewire - output is always "Headphones", sound goes to speaker

You'll want to remove ~/.local/state/wireplumber and restart pipewire{-pulse,wireplumber}

Offline

#3 2025-02-26 15:30:58

freedomd1v3
Member
Registered: 2020-12-01
Posts: 12

Re: SOLVED Pipewire - output is always "Headphones", sound goes to speaker

V1del wrote:

You'll want to remove ~/.local/state/wireplumber and restart pipewire{-pulse,wireplumber}

Thanks for the reply. Tried doing this, but it also didn't help sad

Offline

#4 2025-02-26 17:32:30

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,960

Re: SOLVED Pipewire - output is always "Headphones", sound goes to speaker

What's the general behavior you want? Sound only out of headphones unless not plugged then to speaker or always to both? Since you mention Windows and sound being a very common victim of that make sure fast boot is disabled. What do you get from

pactl list cards
pactl list sinks
amixer -c0

post these wrapped in [code][/code]  code tags.

Another way to generally reset state (especially if Windows fast boot was still active) is to do a

sudo alsactl init

Last edited by V1del (2025-02-26 17:34:15)

Offline

#5 2025-02-26 17:55:41

freedomd1v3
Member
Registered: 2020-12-01
Posts: 12

Re: SOLVED Pipewire - output is always "Headphones", sound goes to speaker

V1del wrote:

What's the general behavior you want? Sound only out of headphones unless not plugged then to speaker or always to both?

Well, when headphones are plugged in, I'd like to have sound only coming from them (so that speaker doesn't produce any), and, when headphones are not plugged in, I'd like to have sound coming from speaker.

That was the behavior (the default one I believe) for some 8 months of this Arch Linux installation, but it all broke recently after the installation of Windows 11.
What I currently have, is that sound is always coming from the speaker, and not from the headphones, even when they are connected.

V1del wrote:

Since you mention Windows and sound being a very common victim of that make sure fast boot is disabled

It may actually be related to Windows. However I've made sure to disable fast boot and hibernation as the first thing after I got Windows installed.

V1del wrote:

pactl list cards

Card #179
	Name: alsa_card.pci-0000_04_00.1
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.card.longname = "HD-Audio Generic at 0xfd3c8000 irq 80"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.path = "hw:0"
		api.alsa.split-enable = "true"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		api.dbus.ReserveDevice1.Priority = "-20"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:04:00.1"
		device.description = "Renoir Radeon High Definition Audio Controller"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_04_00.1"
		device.nick = "HD-Audio Generic"
		device.plugged.usec = "13104818"
		device.product.id = "0x1637"
		device.product.name = "Renoir Radeon High Definition Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:04:00.1/sound/card0"
		device.vendor.id = "0x1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		media.class = "Audio/Device"
		spa.object.id = "2"
		factory.id = "15"
		client.id = "79"
		object.id = "80"
		object.serial = "179"
		object.path = "alsa:acp:Generic"
		alsa.card = "0"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xfd3c8000 irq 80"
		alsa.driver_name = "snd_hda_intel"
		alsa.mixer_name = "ATI R6xx HDMI"
		alsa.components = "HDA:1002aa01,00aa0100,00100700"
		alsa.id = "Generic"
		device.string = "0"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		HiFi: Play HiFi quality Music (sinks: 3, sources: 0, priority: 11600, available: yes)
		pro-audio: Pro Audio (sinks: 3, sources: 0, priority: 1, available: yes)
	Active Profile: HiFi
	Ports:
		[Out] HDMI3: HDMI / DisplayPort 3 Output (type: HDMI, priority: 1300, latency offset: 0 usec, availability group: HDMI/DP,pcm=8, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "HDMI/DP,pcm=8"
				device.icon_name = "video-display"
				card.profile.port = "0"
			Part of profile(s): HiFi
		[Out] HDMI2: HDMI / DisplayPort 2 Output (type: HDMI, priority: 1200, latency offset: 0 usec, availability group: HDMI/DP,pcm=7, available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "HDMI/DP,pcm=7"
				device.icon_name = "video-display"
				card.profile.port = "1"
				device.product.name = "24SA2Y"
			Part of profile(s): HiFi
		[Out] HDMI1: HDMI / DisplayPort 1 Output (type: HDMI, priority: 1100, latency offset: 0 usec, availability group: HDMI/DP,pcm=3, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "HDMI/DP,pcm=3"
				device.icon_name = "video-display"
				card.profile.port = "2"
			Part of profile(s): HiFi

Card #180
	Name: alsa_card.pci-0000_04_00.6
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "1"
		api.alsa.card.longname = "HD-Audio Generic at 0xfd3c0000 irq 81"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.path = "hw:1"
		api.alsa.split-enable = "true"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		api.dbus.ReserveDevice1.Priority = "-20"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:04:00.6"
		device.description = "Family 17h/19h/1ah HD Audio Controller"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_04_00.6"
		device.nick = "HD-Audio Generic"
		device.plugged.usec = "13157395"
		device.product.id = "0x15e3"
		device.product.name = "Family 17h/19h/1ah HD Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:04:00.6/sound/card1"
		device.vendor.id = "0x1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		media.class = "Audio/Device"
		spa.object.id = "4"
		factory.id = "15"
		client.id = "79"
		object.id = "78"
		object.serial = "180"
		object.path = "alsa:acp:Generic_1"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xfd3c0000 irq 81"
		alsa.driver_name = "snd_hda_intel"
		alsa.mixer_name = "Conexant CX8070"
		alsa.components = "HDA:14f11f86,17aa50d5,00100100"
		alsa.id = "Generic_1"
		device.string = "1"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		HiFi: Play HiFi quality Music (sinks: 1, sources: 2, priority: 8500, available: yes)
		pro-audio: Pro Audio (sinks: 1, sources: 1, priority: 1, available: yes)
	Active Profile: HiFi
	Ports:
		[Out] Headphones: Headphones (type: Headphones, priority: 200, latency offset: 0 usec, availability group: Headphone, availability unknown)
			Properties:
				port.type = "headphones"
				port.availability-group = "Headphone"
				device.icon_name = "audio-headphones"
				card.profile.port = "0"
			Part of profile(s): HiFi
		[In] Mic2: Headphones Stereo Microphone (type: Mic, priority: 200, latency offset: 0 usec, availability group: Mic, not available)
			Properties:
				port.type = "mic"
				port.availability-group = "Mic"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "1"
			Part of profile(s): HiFi
		[In] Mic1: Digital Microphone (type: Mic, priority: 100, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "mic"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "2"
			Part of profile(s): HiFi
V1del wrote:

pactl list sinks

Sink #187
	State: IDLE
	Name: alsa_output.pci-0000_04_00.6.HiFi__Headphones__sink
	Description: Family 17h/19h/1ah HD Audio Controller Headphones
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 20724 /  32% / -30.00 dB,   front-right: 20724 /  32% / -30.00 dB
	       balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.pci-0000_04_00.6.HiFi__Headphones__sink.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.class = "generic"
		alsa.components = "HDA:14f11f86,17aa50d5,00100100"
		alsa.device = "0"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "CX8070 Analog"
		alsa.long_card_name = "HD-Audio Generic at 0xfd3c0000 irq 81"
		alsa.mixer_device = "_ucm0003.hw:Generic_1"
		alsa.mixer_name = "Conexant CX8070"
		alsa.name = "CX8070 Analog"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.sync.id = "00000000:00000000:00000000:00000000"
		api.alsa.card.longname = "HD-Audio Generic at 0xfd3c0000 irq 81"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.open.ucm = "true"
		api.alsa.path = "hw:Generic_1"
		api.alsa.pcm.card = "1"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "0"
		device.api = "alsa"
		device.class = "sound"
		device.id = "78"
		device.profile.description = "Headphones"
		device.profile.name = "HiFi: Headphones: sink"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Family 17h/19h/1ah HD Audio Controller"
		node.name = "alsa_output.pci-0000_04_00.6.HiFi__Headphones__sink"
		node.nick = "CX8070 Analog"
		node.pause-on-idle = "false"
		object.path = "alsa:acp:Generic_1:0:playback"
		port.group = "playback"
		priority.driver = "1000"
		priority.session = "1000"
		factory.id = "19"
		clock.quantum-limit = "8192"
		client.id = "79"
		node.driver = "true"
		node.loop.name = "data-loop.0"
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "73"
		object.serial = "187"
		node.max-latency = "16384/48000"
		api.alsa.period-size = "1024"
		api.alsa.period-num = "32"
		api.alsa.headroom = "0"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "1"
		api.alsa.split-enable = "true"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		api.dbus.ReserveDevice1.Priority = "-20"
		device.bus = "pci"
		device.bus_path = "pci-0000:04:00.6"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_04_00.6"
		device.nick = "HD-Audio Generic"
		device.plugged.usec = "13157395"
		device.product.id = "0x15e3"
		device.product.name = "Family 17h/19h/1ah HD Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:04:00.6/sound/card1"
		device.vendor.id = "0x1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		spa.object.id = "4"
		device.string = "1"
	Ports:
		[Out] Headphones: Headphones (type: Headphones, priority: 200, availability group: Headphone, availability unknown)
	Active Port: [Out] Headphones
	Formats:
		pcm

Sink #194
	State: IDLE
	Name: alsa_output.pci-0000_04_00.1.HiFi__HDMI3__sink
	Description: Renoir Radeon High Definition Audio Controller HDMI / DisplayPort 3 Output
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	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
	Monitor Source: alsa_output.pci-0000_04_00.1.HiFi__HDMI3__sink.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "0"
		alsa.card_name = "HD-Audio Generic"
		alsa.class = "generic"
		alsa.components = "HDA:1002aa01,00aa0100,00100700"
		alsa.device = "8"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "HDMI 2"
		alsa.long_card_name = "HD-Audio Generic at 0xfd3c8000 irq 80"
		alsa.mixer_device = "_ucm0001.hw:Generic"
		alsa.mixer_name = "ATI R6xx HDMI"
		alsa.name = "HDMI 2"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.sync.id = "00000000:00000000:00000000:00000000"
		api.alsa.card.longname = "HD-Audio Generic at 0xfd3c8000 irq 80"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.open.ucm = "true"
		api.alsa.path = "hw:Generic,8"
		api.alsa.pcm.card = "0"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "0"
		device.api = "alsa"
		device.class = "sound"
		device.id = "80"
		device.profile.description = "HDMI / DisplayPort 3 Output"
		device.profile.name = "HiFi: HDMI3: sink"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Renoir Radeon High Definition Audio Controller"
		node.name = "alsa_output.pci-0000_04_00.1.HiFi__HDMI3__sink"
		node.nick = "HDMI 2"
		node.pause-on-idle = "false"
		object.path = "alsa:acp:Generic:0:playback"
		port.group = "playback"
		priority.driver = "616"
		priority.session = "616"
		factory.id = "19"
		clock.quantum-limit = "8192"
		client.id = "79"
		node.driver = "true"
		node.loop.name = "data-loop.0"
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "83"
		object.serial = "194"
		node.max-latency = "16384/48000"
		api.alsa.period-size = "1024"
		api.alsa.period-num = "32"
		api.alsa.headroom = "0"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.split-enable = "true"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		api.dbus.ReserveDevice1.Priority = "-20"
		device.bus = "pci"
		device.bus_path = "pci-0000:04:00.1"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_04_00.1"
		device.nick = "HD-Audio Generic"
		device.plugged.usec = "13104818"
		device.product.id = "0x1637"
		device.product.name = "Renoir Radeon High Definition Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:04:00.1/sound/card0"
		device.vendor.id = "0x1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		spa.object.id = "2"
		device.string = "0"
	Ports:
		[Out] HDMI3: HDMI / DisplayPort 3 Output (type: HDMI, priority: 1300, availability group: HDMI/DP,pcm=8, not available)
	Active Port: [Out] HDMI3
	Formats:
		pcm

Sink #195
	State: IDLE
	Name: alsa_output.pci-0000_04_00.1.HiFi__HDMI2__sink
	Description: Renoir Radeon High Definition Audio Controller HDMI / DisplayPort 2 Output
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	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
	Monitor Source: alsa_output.pci-0000_04_00.1.HiFi__HDMI2__sink.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "0"
		alsa.card_name = "HD-Audio Generic"
		alsa.class = "generic"
		alsa.components = "HDA:1002aa01,00aa0100,00100700"
		alsa.device = "7"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "HDMI 1"
		alsa.long_card_name = "HD-Audio Generic at 0xfd3c8000 irq 80"
		alsa.mixer_device = "_ucm0001.hw:Generic"
		alsa.mixer_name = "ATI R6xx HDMI"
		alsa.name = "24SA2Y"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.sync.id = "00000000:00000000:00000000:00000000"
		api.alsa.card.longname = "HD-Audio Generic at 0xfd3c8000 irq 80"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.open.ucm = "true"
		api.alsa.path = "hw:Generic,7"
		api.alsa.pcm.card = "0"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "1"
		device.api = "alsa"
		device.class = "sound"
		device.id = "80"
		device.profile.description = "HDMI / DisplayPort 2 Output"
		device.profile.name = "HiFi: HDMI2: sink"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Renoir Radeon High Definition Audio Controller"
		node.name = "alsa_output.pci-0000_04_00.1.HiFi__HDMI2__sink"
		node.nick = "24SA2Y"
		node.pause-on-idle = "false"
		object.path = "alsa:acp:Generic:1:playback"
		port.group = "playback"
		priority.driver = "632"
		priority.session = "632"
		factory.id = "19"
		clock.quantum-limit = "8192"
		client.id = "79"
		node.driver = "true"
		node.loop.name = "data-loop.0"
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "70"
		object.serial = "195"
		node.max-latency = "16384/48000"
		api.alsa.period-size = "1024"
		api.alsa.period-num = "32"
		api.alsa.headroom = "0"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.split-enable = "true"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		api.dbus.ReserveDevice1.Priority = "-20"
		device.bus = "pci"
		device.bus_path = "pci-0000:04:00.1"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_04_00.1"
		device.nick = "HD-Audio Generic"
		device.plugged.usec = "13104818"
		device.product.id = "0x1637"
		device.product.name = "Renoir Radeon High Definition Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:04:00.1/sound/card0"
		device.vendor.id = "0x1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		spa.object.id = "2"
		device.string = "0"
	Ports:
		[Out] HDMI2: HDMI / DisplayPort 2 Output (type: HDMI, priority: 1200, availability group: HDMI/DP,pcm=7, available)
	Active Port: [Out] HDMI2
	Formats:
		pcm

Sink #196
	State: IDLE
	Name: alsa_output.pci-0000_04_00.1.HiFi__HDMI1__sink
	Description: Renoir Radeon High Definition Audio Controller HDMI / DisplayPort 1 Output
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	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
	Monitor Source: alsa_output.pci-0000_04_00.1.HiFi__HDMI1__sink.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "0"
		alsa.card_name = "HD-Audio Generic"
		alsa.class = "generic"
		alsa.components = "HDA:1002aa01,00aa0100,00100700"
		alsa.device = "3"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "HDMI 0"
		alsa.long_card_name = "HD-Audio Generic at 0xfd3c8000 irq 80"
		alsa.mixer_device = "_ucm0001.hw:Generic"
		alsa.mixer_name = "ATI R6xx HDMI"
		alsa.name = "HDMI 0"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.sync.id = "00000000:00000000:00000000:00000000"
		api.alsa.card.longname = "HD-Audio Generic at 0xfd3c8000 irq 80"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.open.ucm = "true"
		api.alsa.path = "hw:Generic,3"
		api.alsa.pcm.card = "0"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "2"
		device.api = "alsa"
		device.class = "sound"
		device.id = "80"
		device.profile.description = "HDMI / DisplayPort 1 Output"
		device.profile.name = "HiFi: HDMI1: sink"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Renoir Radeon High Definition Audio Controller"
		node.name = "alsa_output.pci-0000_04_00.1.HiFi__HDMI1__sink"
		node.nick = "HDMI 0"
		node.pause-on-idle = "false"
		object.path = "alsa:acp:Generic:2:playback"
		port.group = "playback"
		priority.driver = "696"
		priority.session = "696"
		factory.id = "19"
		clock.quantum-limit = "8192"
		client.id = "79"
		node.driver = "true"
		node.loop.name = "data-loop.0"
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "65"
		object.serial = "196"
		node.max-latency = "16384/48000"
		api.alsa.period-size = "1024"
		api.alsa.period-num = "32"
		api.alsa.headroom = "0"
		api.acp.auto-port = "false"
		api.acp.auto-profile = "false"
		api.alsa.card = "0"
		api.alsa.split-enable = "true"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		api.dbus.ReserveDevice1.Priority = "-20"
		device.bus = "pci"
		device.bus_path = "pci-0000:04:00.1"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_04_00.1"
		device.nick = "HD-Audio Generic"
		device.plugged.usec = "13104818"
		device.product.id = "0x1637"
		device.product.name = "Renoir Radeon High Definition Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:04:00.1/sound/card0"
		device.vendor.id = "0x1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		spa.object.id = "2"
		device.string = "0"
	Ports:
		[Out] HDMI1: HDMI / DisplayPort 1 Output (type: HDMI, priority: 1100, availability group: HDMI/DP,pcm=3, not available)
	Active Port: [Out] HDMI1
	Formats:
		pcm
V1del wrote:

amixer -c0

alsamixer detects three sounds cards, those two produce at least some output:

amixer -c0

Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
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 [off]
amixer -c1

Simple mixer control 'Master',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 74
  Mono:
  Front Left: Playback 44 [59%] [-30.00dB] [on]
  Front Right: Playback 44 [59%] [-30.00dB] [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 'Mic ACP LED',0
  Capabilities: cswitch cswitch-joined
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control '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 'Beep',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 7
  Mono: Playback 3 [43%] [-16.00dB] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 80
  Front Left: Capture 48 [60%] [-26.00dB] [off]
  Front Right: Capture 48 [60%] [-26.00dB] [off]
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 89 [74%] [14.50dB]
  Front Right: Capture 89 [74%] [14.50dB]
V1del wrote:

sudo alsactl init

Tried doing that and also to restart wireplumber, pipewire{,-pulse} afterwards, however audio is still broken.
I've also tried to replace wireplumber with pipewire-media-session, but it doesn't change anything.

Thanks for help!

Last edited by freedomd1v3 (2025-02-26 17:59:50)

Offline

#6 2025-02-26 18:32:38

freedomd1v3
Member
Registered: 2020-12-01
Posts: 12

Re: SOLVED Pipewire - output is always "Headphones", sound goes to speaker

UPD: Holy moly, the sound is back!

What was needed was to update the UEFI firmware.

Special thanks to @V1del, much appreciated!

UPD2: It turns out Windows sets up the devices very aggressively (and also selfishly tongue). In my case, after using Windows, sound cards are in very weird state in Linux, when headphones and speakers seem to be concatenated together, and output is available only to speakers. If you find some similar weird behavior, try to shut down your device completely, and only then boot Linux up.

Last edited by freedomd1v3 (2025-02-26 19:50:50)

Offline

#7 2025-02-27 17:08:05

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,960

Re: SOLVED Pipewire - output is always "Headphones", sound goes to speaker

Yes Windows breaking devices is normal, see the link I posted for disabling fast boot: https://wiki.archlinux.org/title/Dual_b … ibernation

Offline

Board footer

Powered by FluxBB