You are not logged in.

#1 2024-10-27 17:52:20

nimaaskarian
Member
Registered: 2022-11-19
Posts: 11

pipewire randomly mutes and sets my headphones volume to 0

I have some AUX headphones connected to my front panel audio; and I use pipewire. When a new device is detected pipewire mutes and sets my headphone volume to 0; also mutes Master of my card. it also happens randomly time to time; and always when I launch a game using Wine.
I have to go use alsamixer to unmute and volume=100 it (as I couldn't find a way to fix this non-interactively using amixer).

Switching to pulseaudio is not an option; I've switched to pipewire 2 years ago, and I haven't had a problem with pipewire since a couple of months ago. And I don't want to use pulseaudio as its buggy.

Last edited by nimaaskarian (2024-10-27 17:56:37)

Offline

#2 2024-10-27 21:15:01

seth
Member
Registered: 2012-09-03
Posts: 58,659

Re: pipewire randomly mutes and sets my headphones volume to 0

Do you https://wiki.archlinux.org/title/PipeWi … new_device or does https://wiki.archlinux.org/title/PipeWi … ot_working help (you're using wireplumber, not pipewire-media-session, are you?)

Offline

#3 2024-10-27 21:53:56

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

Re: pipewire randomly mutes and sets my headphones volume to 0

For the strange wine inference. Is lib32-libpulse and lib32-libpipewire installed? They are just optionals but quite vital for proper pipewire/pulseaudio in a wine context.

Offline

#4 2024-10-28 10:20:53

nimaaskarian
Member
Registered: 2022-11-19
Posts: 11

Re: pipewire randomly mutes and sets my headphones volume to 0

V1del wrote:

For the strange wine inference. Is lib32-libpulse and lib32-libpipewire installed? They are just optionals but quite vital for proper pipewire/pulseaudio in a wine context.

Thanks for the reply. Yes, they're both installed

Last edited by nimaaskarian (2024-10-28 10:30:37)

Offline

#5 2024-10-28 10:27:48

nimaaskarian
Member
Registered: 2022-11-19
Posts: 11

Re: pipewire randomly mutes and sets my headphones volume to 0

seth wrote:

Do you https://wiki.archlinux.org/title/PipeWi … new_device or does https://wiki.archlinux.org/title/PipeWi … ot_working help (you're using wireplumber, not pipewire-media-session, are you?)

Thank you for your time.

Yes. I'm using wireplumber.
Added the content mentioned in https://wiki.archlinux.org/title/PipeWi … new_device to my `~/.config/pipewire/pipewire-pulse.conf.d/switch-on-connect.conf` and removed the wireplumber directory according to https://wiki.archlinux.org/title/PipeWi … ot_working.
But the issue still persists.

Last edited by nimaaskarian (2024-10-28 10:31:07)

Offline

#6 2024-10-28 10:32:54

nimaaskarian
Member
Registered: 2022-11-19
Posts: 11

Re: pipewire randomly mutes and sets my headphones volume to 0

and a strange thing is that pulseaudio says my headphones are "unplugged' but it works perfectly fine (except for the usual pulseaudio bugs). Also with pipewire/wireplumber I have to set it to "Pro audio" in pulsemixer for it to work

Last edited by nimaaskarian (2024-10-28 10:33:36)

Offline

#7 2024-10-28 13:23:07

seth
Member
Registered: 2012-09-03
Posts: 58,659

Re: pipewire randomly mutes and sets my headphones volume to 0

Added the content mentioned

No, the idea was actually that such configuration would switch away from your HPs.

Do you get the very same behavior w/ a fresh user account?

Offline

#8 2024-10-28 14:38:21

nimaaskarian
Member
Registered: 2022-11-19
Posts: 11

Re: pipewire randomly mutes and sets my headphones volume to 0

seth wrote:

No, the idea was actually that such configuration would switch away from your HPs.

Sorry, I wasn't paying attention. Such configuration wasn't present at the moment.

seth wrote:

Do you get the very same behavior w/ a fresh user account?

On a fresh user that only used pulsemixer to set the audio card on the "Pro audio", the problem persists.

Offline

#9 2024-10-28 15:14:01

seth
Member
Registered: 2012-09-03
Posts: 58,659

Re: pipewire randomly mutes and sets my headphones volume to 0

and a strange thing is that pulseaudio says my headphones are "unplugged'

Perpetually or only after a new device is detected?
Do you get the same behavior w/ the LTS kernel?

Offline

#10 2024-10-28 15:53:45

nimaaskarian
Member
Registered: 2022-11-19
Posts: 11

Re: pipewire randomly mutes and sets my headphones volume to 0

seth wrote:

Perpetually or only after a new device is detected?

Perpetually. I don't connect any new devices. There's only my hdmi card ("Navi 21/23 HDMI/DP Audio Controller") which I don't use the sound device of it and my monitor is always connected.

seth wrote:

Do you get the same behavior w/ the LTS kernel?

Using the LTS kernel, I can use alsamixer to volume up and unmute my headphones; and would actually unmute the wine games (w/ the zen kernel isn't like this. the game'd get muted with no way of turning on the audio).
But using pulseaudio and my headphones being "unplugged" (and not being able to use the headphones unless its "Pro audio" w/ pipewire) still persists; And the annoying behavior of it getting muted when a wine game is opened (or randomly from time to time) still persists.

Last edited by nimaaskarian (2024-10-28 15:54:38)

Offline

#11 2024-10-28 18:32:49

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

Re: pipewire randomly mutes and sets my headphones volume to 0

All of this sounds very peculiar, during issue reproduction what output do you get from

sudo fuser -v /dev/snd/*
pactl list sinks
pactl list sink-inputs
journalctl -b --user-unit pipewire --user-unit wireplumber

as well as terminal output from a wine game run

Offline

#12 2024-10-29 10:30:18

nimaaskarian
Member
Registered: 2022-11-19
Posts: 11

Re: pipewire randomly mutes and sets my headphones volume to 0

nimaaskarian wrote:

Using the LTS kernel, I can use alsamixer to volume up and unmute my headphones; and would actually unmute the wine games (w/ the zen kernel isn't like this. the game'd get muted with no way of turning on the audio).

I have to correct myself as I observed something. Being able to unmute after a game is launched and has muted my headphones, was a matter of whether the game has loaded and detected its sound backend or not. as the game loaded a tiny bit slower with LTS kernel, I could switch faster to a different window to switch the audio back on.

Offline

#13 2024-10-29 10:42:38

nimaaskarian
Member
Registered: 2022-11-19
Posts: 11

Re: pipewire randomly mutes and sets my headphones volume to 0

V1del wrote:

sudo fuser -v /dev/snd/* 
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  nima       1023 F.... wireplumber
/dev/snd/controlC1:  nima       1023 F.... wireplumber
                     nima       2985 F.... alsamixer
                     nima       4301 F.... alsamixer
/dev/snd/controlC2:  nima       1023 F.... wireplumber
/dev/snd/controlC3:  nima       1023 F.... wireplumber
/dev/snd/pcmC1D0p:   nima       1019 F...m pipewire
/dev/snd/seq:        nima       1019 F.... pipewire
V1del wrote:
pactl list sinks
Sink #69
	State: SUSPENDED
	Name: alsa_output.platform-snd_aloop.0.analog-stereo
	Description: Loopback Analog Stereo
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 26214 /  40% / -23.88 dB,   front-right: 26214 /  40% / -23.88 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.platform-snd_aloop.0.analog-stereo.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "0"
		alsa.card_name = "Loopback"
		alsa.class = "generic"
		alsa.device = "0"
		alsa.driver_name = "snd_aloop"
		alsa.id = "Loopback PCM"
		alsa.long_card_name = "Loopback 1"
		alsa.mixer_name = "Loopback Mixer"
		alsa.name = "Loopback PCM"
		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 = "Loopback 1"
		api.alsa.card.name = "Loopback"
		api.alsa.path = "front:0"
		api.alsa.pcm.card = "0"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "11"
		device.api = "alsa"
		device.class = "sound"
		device.id = "51"
		device.profile.description = "Analog Stereo"
		device.profile.name = "analog-stereo"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Loopback"
		node.name = "alsa_output.platform-snd_aloop.0.analog-stereo"
		node.nick = "Loopback PCM"
		node.pause-on-idle = "false"
		object.path = "alsa:acp:Loopback:11:playback"
		port.group = "playback"
		priority.driver = "1009"
		priority.session = "1009"
		factory.id = "19"
		clock.quantum-limit = "8192"
		client.id = "46"
		node.driver = "true"
		node.loop.name = "data-loop.0"
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "60"
		object.serial = "69"
		api.acp.auto-port = "false"
		api.alsa.card = "0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		api.dbus.ReserveDevice1.Priority = "-20"
		device.bus_path = "platform-snd_aloop.0"
		device.enum.api = "udev"
		device.form_factor = "internal"
		device.icon_name = "audio-card-analog"
		device.name = "alsa_card.platform-snd_aloop.0"
		device.nick = "Loopback"
		device.plugged.usec = "3936997"
		device.subsystem = "sound"
		sysfs.path = "/devices/platform/snd_aloop.0/sound/card0"
		device.string = "0"
	Ports:
		analog-output: Analog Output (type: Analog, priority: 9900, availability unknown)
	Active Port: analog-output
	Formats:
		pcm

Sink #961
	State: RUNNING
	Name: alsa_output.pci-0000_00_1f.3.pro-output-0
	Description: Built-in Audio Pro
	Driver: PipeWire
	Sample Specification: s32le 6ch 48000Hz
	Channel Map: aux0,aux1,aux2,aux3,aux4,aux5
	Owner Module: 4294967295
	Mute: no
	Volume: aux0: 65536 / 100% / 0.00 dB,   aux1: 65536 / 100% / 0.00 dB,   aux2: 65536 / 100% / 0.00 dB,   aux3: 65536 / 100% / 0.00 dB,   aux4: 65536 / 100% / 0.00 dB,   aux5: 65536 / 100% / 0.00 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.pci-0000_00_1f.3.pro-output-0.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "1"
		alsa.card_name = "HDA Intel PCH"
		alsa.class = "generic"
		alsa.components = "HDA:10ec0887,104386c7,00100302"
		alsa.device = "0"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "ALC887-VD Analog"
		alsa.long_card_name = "HDA Intel PCH at 0xf7f20000 irq 129"
		alsa.mixer_name = "Realtek ALC887-VD"
		alsa.name = "ALC887-VD Analog"
		alsa.resolution_bits = "32"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.sync.id = "00000000:00000000:00000000:00000000"
		api.alsa.card.longname = "HDA Intel PCH at 0xf7f20000 irq 129"
		api.alsa.card.name = "HDA Intel PCH"
		api.alsa.path = "hw:1,0"
		api.alsa.pcm.card = "1"
		api.alsa.pcm.stream = "playback"
		audio.channels = "6"
		audio.position = "AUX0,AUX1,AUX2,AUX3,AUX4,AUX5"
		card.profile.device = "1"
		clock.name = "api.alsa.1"
		device.api = "alsa"
		device.class = "sound"
		device.id = "50"
		device.profile.description = "Pro"
		device.profile.name = "pro-output-0"
		device.profile.pro = "true"
		device.routes = "0"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Built-in Audio"
		node.name = "alsa_output.pci-0000_00_1f.3.pro-output-0"
		node.nick = "ALC887-VD Analog"
		node.pause-on-idle = "false"
		object.path = "alsa:acp:PCH:1:playback"
		port.group = "playback"
		priority.driver = "1500"
		priority.session = "1500"
		factory.id = "19"
		clock.quantum-limit = "8192"
		client.id = "46"
		node.driver = "true"
		node.loop.name = "data-loop.0"
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "74"
		object.serial = "961"
		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.alsa.card = "1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		api.dbus.ReserveDevice1.Priority = "-20"
		device.bus = "pci"
		device.bus_path = "pci-0000:00:1f.3"
		device.enum.api = "udev"
		device.form_factor = "internal"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_00_1f.3"
		device.nick = "HDA Intel PCH"
		device.plugged.usec = "4290344"
		device.product.id = "0xa170"
		device.product.name = "100 Series/C230 Series Chipset Family HD Audio Controller (H110I-PLUS Motherboard)"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card1"
		device.vendor.id = "0x8086"
		device.vendor.name = "Intel Corporation"
		device.string = "1"
	Formats:
		pcm
V1del wrote:
pactl list sink-inputs
Sink Input #67
	Driver: PipeWire
	Owner Module: n/a
	Client: 47
	Sink: 961
	Sample Specification: s16le 2ch 48000Hz
	Channel Map: front-left,front-right
	Format: pcm, format.sample_format = "\"s16le\""  format.rate = "48000"  format.channels = "2"  format.channel_map = "\"front-left,front-right\""
	Corked: no
	Mute: no
	Volume: front-left: 14418 /  22% / -39.45 dB,   front-right: 14418 /  22% / -39.45 dB
	        balance 0.00
	Buffer Latency: 0 usec
	Sink Latency: 0 usec
	Resample method: PipeWire
	Properties:
		client.api = "pipewire-pulse"
		pulse.server.type = "unix"
		application.name = "Music Player Daemon"
		media.role = "music"
		application.icon_name = "mpd"
		application.process.id = "1018"
		application.process.user = "nima"
		application.process.host = "nimas-pc"
		application.process.binary = "mpd"
		application.language = "C"
		application.process.machine_id = "896a6b8134769fcf179f16b3638afc62"
		media.name = "My Pulse Output"
		node.rate = "1/48000"
		node.latency = "8192/48000"
		stream.is-live = "true"
		node.name = "Music Player Daemon"
		node.want-driver = "true"
		node.autoconnect = "true"
		media.class = "Stream/Output/Audio"
		port.group = "stream.0"
		adapt.follower.spa-node = ""
		object.register = "false"
		factory.id = "7"
		clock.quantum-limit = "8192"
		node.loop.name = "data-loop.0"
		library.name = "audioconvert/libspa-audioconvert"
		client.id = "47"
		object.id = "52"
		object.serial = "67"
		pulse.attr.minreq = "3840"
		pulse.attr.maxlength = "4194304"
		pulse.attr.tlength = "48000"
		pulse.attr.prebuf = "44164"
		node.driver-id = "74"
		module-stream-restore.id = "sink-input-by-media-role:music"

Sink Input #956
	Driver: PipeWire
	Owner Module: n/a
	Client: 955
	Sink: 961
	Sample Specification: float32le 6ch 48000Hz
	Channel Map: front-left,front-right,front-center,lfe,rear-left,rear-right
	Format: pcm, format.sample_format = "\"float32le\""  format.rate = "48000"  format.channels = "6"  format.channel_map = "\"front-left,front-right,front-center,lfe,rear-left,rear-right\""
	Corked: no
	Mute: no
	Volume: front-left: 62702 /  96% / -1.15 dB,   front-right: 62702 /  96% / -1.15 dB,   front-center: 62702 /  96% / -1.15 dB,   lfe: 62702 /  96% / -1.15 dB,   rear-left: 62702 /  96% / -1.15 dB,   rear-right: 62702 /  96% / -1.15 dB
	        balance 0.00
	Buffer Latency: 0 usec
	Sink Latency: 0 usec
	Resample method: PipeWire
	Properties:
		client.api = "pipewire-pulse"
		pulse.server.type = "unix"
		application.name = "Plants vs. Zombies"
		application.process.id = "12114"
		application.process.user = "nima"
		application.process.host = "nimas-pc"
		application.process.binary = "wine-preloader"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "896a6b8134769fcf179f16b3638afc62"
		application.process.session_id = "1"
		media.name = "audio stream #1"
		node.rate = "1/48000"
		node.latency = "240/48000"
		stream.is-live = "true"
		node.name = "Plants vs. Zombies"
		node.want-driver = "true"
		node.autoconnect = "true"
		media.class = "Stream/Output/Audio"
		port.group = "stream.0"
		adapt.follower.spa-node = ""
		object.register = "false"
		factory.id = "7"
		clock.quantum-limit = "8192"
		node.loop.name = "data-loop.0"
		library.name = "audioconvert/libspa-audioconvert"
		client.id = "58"
		object.id = "138"
		object.serial = "956"
		pulse.attr.maxlength = "92160"
		pulse.attr.tlength = "28800"
		pulse.attr.prebuf = "24"
		pulse.attr.minreq = "11520"
		node.driver-id = "74"
		module-stream-restore.id = "sink-input-by-application-name:Plants vs. Zombies"
V1del wrote:
journalctl -b --user-unit pipewire --user-unit wireplumber
Oct 29 13:51:01 nimas-pc systemd[1007]: Started PipeWire Multimedia Service.
Oct 29 13:51:01 nimas-pc systemd[1007]: Started Multimedia Service Session Manager.
Oct 29 13:51:01 nimas-pc wireplumber[1023]: wp-internal-comp-loader: Loading profile 'main'
Oct 29 13:51:02 nimas-pc wireplumber[1023]: default: Failed to get percentage from UPower: org.freedesktop.DBus.Error.NameHasNoOwner
Oct 29 13:51:02 nimas-pc wireplumber[1023]: spa.bluez5: BlueZ system service is not available
Oct 29 13:51:02 nimas-pc wireplumber[1023]: wp-device: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
Oct 29 13:51:02 nimas-pc wireplumber[1023]: s-monitors-libcamera: PipeWire's libcamera SPA plugin is missing or broken. Some camera types may not be supported.
Oct 29 13:51:41 nimas-pc pipewire[1019]: spa.alsa: front:0p: snd_pcm_mmap_commit error: Broken pipe
Oct 29 13:52:08 nimas-pc pipewire[1019]: spa.alsa: front:0p: snd_pcm_mmap_commit error: Broken pipe
Oct 29 13:52:43 nimas-pc pipewire[1019]: pw.node: (alsa_input.usb-MUSIC-BOOST_Usb_Microphone-00.mono-fallback-53) graph xrun not-triggered (0 suppressed)
Oct 29 13:52:43 nimas-pc pipewire[1019]: pw.node: (alsa_input.usb-MUSIC-BOOST_Usb_Microphone-00.mono-fallback-53) xrun state:0x711d5cf33008 pending:1/1 s:124046380776 a:124046415843 f:124046418222 waiting:35067 process:2379 status:triggered
Oct 29 13:52:43 nimas-pc pipewire[1019]: pw.node: (alsa_input.pci-0000_00_1f.3.pro-input-0-96) graph xrun not-triggered (0 suppressed)
Oct 29 13:52:43 nimas-pc pipewire[1019]: pw.node: (alsa_input.pci-0000_00_1f.3.pro-input-0-96) xrun state:0x711d5cf31008 pending:1/1 s:124048351794 a:124048390008 f:124048392931 waiting:38214 process:2923 status:triggered
Oct 29 13:52:43 nimas-pc pipewire[1019]: pw.node: (alsa_input.pci-0000_00_1f.3.pro-input-2-73) graph xrun not-triggered (0 suppressed)
Oct 29 13:52:43 nimas-pc pipewire[1019]: pw.node: (alsa_input.pci-0000_00_1f.3.pro-input-2-73) xrun state:0x711d5cf22008 pending:1/1 s:124049063256 a:124049094186 f:124049096337 waiting:30930 process:2151 status:triggered
Oct 29 13:52:43 nimas-pc pipewire[1019]: pw.node: (alsa_input.platform-snd_aloop.0.analog-stereo-59) graph xrun not-triggered (0 suppressed)
Oct 29 13:52:43 nimas-pc pipewire[1019]: pw.node: (alsa_input.platform-snd_aloop.0.analog-stereo-59) xrun state:0x711d5cf2e008 pending:1/1 s:124049848217 a:124049882222 f:124049885040 waiting:34005 process:2818 status:triggered
Oct 29 14:00:55 nimas-pc pipewire[1019]: spa.alsa: front:0p: snd_pcm_mmap_commit error: Broken pipe
Oct 29 14:01:00 nimas-pc pipewire[1019]: spa.alsa: front:0p: snd_pcm_mmap_commit error: Broken pipe
Oct 29 14:08:08 nimas-pc pipewire[1019]: spa.alsa: front:0p: snd_pcm_mmap_commit error: Broken pipe
Oct 29 14:08:25 nimas-pc pipewire[1019]: spa.alsa: front:0p: snd_pcm_mmap_commit error: Broken pipe
Oct 29 14:08:26 nimas-pc pipewire[1019]: spa.alsa: front:0p: snd_pcm_mmap_commit error: Broken pipe
Oct 29 14:08:26 nimas-pc pipewire[1019]: spa.alsa: front:0p: snd_pcm_mmap_commit error: Broken pipe
Oct 29 14:08:27 nimas-pc pipewire[1019]: pw.node: (alsa_output.pci-0000_00_1f.3.pro-output-0-95) graph xrun not-triggered (0 suppressed)
Oct 29 14:08:27 nimas-pc pipewire[1019]: pw.node: (alsa_output.pci-0000_00_1f.3.pro-output-0-95) xrun state:0x711d5cf32008 pending:1/2 s:1068007676937 a:1068007771016 f:1068007791861 waiting:94079 process:20845 status:triggered

the stderr of wine when running the game:

fsync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely

All done in 6.6.58-1-lts kernel.

Offline

#14 2024-10-29 13:30:18

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

Re: pipewire randomly mutes and sets my headphones volume to 0

Is there a reason you're trying to use a pro profile? It has quite some logical stipulations (like applications being trivially allowed to take exclusive locks on the card) that are likely to cause the issues you're seeing, do you not have a valid normal sink? What do you get from

pactl list cards

Offline

#15 2024-10-29 16:14:40

nimaaskarian
Member
Registered: 2022-11-19
Posts: 11

Re: pipewire randomly mutes and sets my headphones volume to 0

V1del wrote:

Is there a reason you're trying to use a pro profile? It has quite some logical stipulations (like applications being trivially allowed to take exclusive locks on the card) that are likely to cause the issues you're seeing, do you not have a valid normal sink? What do you get from

pactl list cards

Yeah, I've mentioned this before; there is no working normal sink present in my card.

nimaaskarian wrote:

and a strange thing is that pulseaudio says my headphones are "unplugged' but it works perfectly fine (except for the usual pulseaudio bugs). Also with pipewire/wireplumber I have to set it to "Pro audio" in pulsemixer for it to work

here's the output of the pactl list cards anyways (the card is called "HDA Intel PCH"):

Card #48
	Name: alsa_card.pci-0000_03_00.1
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.alsa.card = "2"
		api.alsa.card.longname = "HDA ATI HDMI at 0xf7c20000 irq 130"
		api.alsa.card.name = "HDA ATI HDMI"
		api.alsa.path = "hw:2"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio2"
		api.dbus.ReserveDevice1.Priority = "-20"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:03:00.1"
		device.description = "Navi 21/23 HDMI/DP Audio Controller"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_03_00.1"
		device.nick = "HDA ATI HDMI"
		device.plugged.usec = "4256108"
		device.product.id = "0xab28"
		device.product.name = "Navi 21/23 HDMI/DP Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card2"
		device.vendor.id = "0x1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		media.class = "Audio/Device"
		factory.id = "15"
		client.id = "46"
		object.id = "48"
		object.serial = "48"
		object.path = "alsa:acp:HDMI"
		alsa.card = "2"
		alsa.card_name = "HDA ATI HDMI"
		alsa.long_card_name = "HDA ATI HDMI at 0xf7c20000 irq 130"
		alsa.driver_name = "snd_hda_intel"
		alsa.mixer_name = "ATI R6xx HDMI"
		alsa.components = "HDA:1002aa01,00aa0100,00100800"
		alsa.id = "HDMI"
		device.string = "2"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: yes)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, available: no)
		output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) 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-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)
		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
		output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
		pro-audio: Pro Audio (sinks: 5, sources: 0, priority: 1, available: yes)
	Active Profile: off
	Ports:
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability group: Legacy 1, available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 1"
				device.icon_name = "video-display"
				card.profile.port = "0"
				device.product.name = "IPS226"
			Part of profile(s): output:hdmi-stereo
		hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, availability group: Legacy 2, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 2"
				device.icon_name = "video-display"
				card.profile.port = "1"
			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, availability group: Legacy 3, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 3"
				device.icon_name = "video-display"
				card.profile.port = "2"
			Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2
		hdmi-output-3: HDMI / DisplayPort 4 (type: HDMI, priority: 5600, latency offset: 0 usec, availability group: Legacy 4, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 4"
				device.icon_name = "video-display"
				card.profile.port = "3"
			Part of profile(s): output:hdmi-stereo-extra3, output:hdmi-surround-extra3, output:hdmi-surround71-extra3
		hdmi-output-4: HDMI / DisplayPort 5 (type: HDMI, priority: 5500, latency offset: 0 usec, availability group: Legacy 5, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "Legacy 5"
				device.icon_name = "video-display"
				card.profile.port = "4"
			Part of profile(s): output:hdmi-stereo-extra4, output:hdmi-surround-extra4, output:hdmi-surround71-extra4

Card #49
	Name: alsa_card.usb-MUSIC-BOOST_Usb_Microphone-00
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.alsa.card = "3"
		api.alsa.card.longname = "MUSIC-BOOST Usb Microphone at usb-0000:00:14.0-5.1, full speed"
		api.alsa.card.name = "Usb Microphone"
		api.alsa.path = "hw:3"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio3"
		api.dbus.ReserveDevice1.Priority = "-20"
		device.api = "alsa"
		device.bus = "usb"
		device.bus-id = "usb-MUSIC-BOOST_Usb_Microphone-00"
		device.bus_path = "pci-0000:00:14.0-usb-0:5.1:1.0"
		device.description = "Usb Microphone"
		device.enum.api = "udev"
		device.form_factor = "microphone"
		device.icon_name = "audio-input-microphone-analog-usb"
		device.name = "alsa_card.usb-MUSIC-BOOST_Usb_Microphone-00"
		device.nick = "Usb Microphone"
		device.plugged.usec = "4233744"
		device.product.id = "0x2008"
		device.product.name = "Usb Microphone"
		device.serial = "MUSIC-BOOST_Usb_Microphone"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5.1/1-5.1:1.0/sound/card3"
		device.vendor.id = "0x1b3f"
		device.vendor.name = "Generalplus Technology Inc."
		media.class = "Audio/Device"
		factory.id = "15"
		client.id = "46"
		object.id = "49"
		object.serial = "49"
		object.path = "alsa:acp:Microphone"
		alsa.card = "3"
		alsa.card_name = "Usb Microphone"
		alsa.long_card_name = "MUSIC-BOOST Usb Microphone at usb-0000:00:14.0-5.1, full speed"
		alsa.driver_name = "snd_usb_audio"
		alsa.mixer_name = "USB Mixer"
		alsa.components = "USB1b3f:2008"
		alsa.id = "Microphone"
		device.string = "3"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		pro-audio: Pro Audio (sinks: 0, sources: 1, priority: 1, available: yes)
		input:mono-fallback: Mono Input (sinks: 0, sources: 1, priority: 1, available: yes)
	Active Profile: input:mono-fallback
	Ports:
		analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "mic"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "0"
			Part of profile(s): input:mono-fallback

Card #50
	Name: alsa_card.pci-0000_00_1f.3
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.alsa.card = "1"
		api.alsa.card.longname = "HDA Intel PCH at 0xf7f20000 irq 129"
		api.alsa.card.name = "HDA Intel PCH"
		api.alsa.path = "hw:1"
		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:00:1f.3"
		device.description = "Built-in Audio"
		device.enum.api = "udev"
		device.form_factor = "internal"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_00_1f.3"
		device.nick = "HDA Intel PCH"
		device.plugged.usec = "4290344"
		device.product.id = "0xa170"
		device.product.name = "100 Series/C230 Series Chipset Family HD Audio Controller (H110I-PLUS Motherboard)"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card1"
		device.vendor.id = "0x8086"
		device.vendor.name = "Intel Corporation"
		media.class = "Audio/Device"
		factory.id = "15"
		client.id = "46"
		object.id = "50"
		object.serial = "50"
		object.path = "alsa:acp:PCH"
		alsa.card = "1"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7f20000 irq 129"
		alsa.driver_name = "snd_hda_intel"
		alsa.mixer_name = "Realtek ALC887-VD"
		alsa.components = "HDA:10ec0887,104386c7,00100302"
		alsa.id = "PCH"
		device.string = "1"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: no)
		output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: no)
		output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: no)
		output:analog-surround-51: Analog Surround 5.1 Output (sinks: 1, sources: 0, priority: 1300, available: no)
		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: no)
		output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 1200, available: no)
		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: no)
		pro-audio: Pro Audio (sinks: 1, sources: 2, priority: 1, available: yes)
	Active Profile: pro-audio
	Ports:
		analog-input-front-mic: Front Microphone (type: Mic, priority: 8500, latency offset: 0 usec, availability group: Legacy 1, not available)
			Properties:
				port.type = "mic"
				port.availability-group = "Legacy 1"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "0"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-51+input:analog-stereo
		analog-input-rear-mic: Rear Microphone (type: Mic, priority: 8200, latency offset: 0 usec, availability group: Legacy 2, not available)
			Properties:
				port.type = "mic"
				port.availability-group = "Legacy 2"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "1"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-51+input:analog-stereo
		analog-input-linein: Line In (type: Line, priority: 8100, latency offset: 0 usec, availability group: Legacy 3, not available)
			Properties:
				port.type = "line"
				port.availability-group = "Legacy 3"
				card.profile.port = "2"
			Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40+input:analog-stereo, output:analog-surround-51+input:analog-stereo
		analog-output-lineout: Line Out (type: Line, priority: 9000, latency offset: 0 usec, availability group: Legacy 4, not available)
			Properties:
				port.type = "line"
				port.availability-group = "Legacy 4"
				card.profile.port = "3"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-surround-40, output:analog-surround-40+input:analog-stereo, output:analog-surround-51, output:analog-surround-51+input:analog-stereo
		analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, availability group: Legacy 5, not available)
			Properties:
				port.type = "headphones"
				port.availability-group = "Legacy 5"
				device.icon_name = "audio-headphones"
				card.profile.port = "4"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo

Card #51
	Name: alsa_card.platform-snd_aloop.0
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.alsa.card = "0"
		api.alsa.card.longname = "Loopback 1"
		api.alsa.card.name = "Loopback"
		api.alsa.path = "hw:0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		api.dbus.ReserveDevice1.Priority = "-20"
		device.api = "alsa"
		device.bus_path = "platform-snd_aloop.0"
		device.description = "Loopback"
		device.enum.api = "udev"
		device.form_factor = "internal"
		device.icon_name = "audio-card-analog"
		device.name = "alsa_card.platform-snd_aloop.0"
		device.nick = "Loopback"
		device.plugged.usec = "3936997"
		device.subsystem = "sound"
		sysfs.path = "/devices/platform/snd_aloop.0/sound/card0"
		media.class = "Audio/Device"
		factory.id = "15"
		client.id = "46"
		object.id = "51"
		object.serial = "51"
		object.path = "alsa:acp:Loopback"
		alsa.card = "0"
		alsa.card_name = "Loopback"
		alsa.long_card_name = "Loopback 1"
		alsa.driver_name = "snd_aloop"
		alsa.mixer_name = "Loopback Mixer"
		alsa.id = "Loopback"
		device.string = "0"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: yes)
		output:analog-stereo+input:analog-surround-21: Analog Stereo Output + Analog Surround 2.1 Input (sinks: 1, sources: 1, priority: 6513, available: yes)
		output:analog-stereo+input:analog-surround-41: Analog Stereo Output + Analog Surround 4.1 Input (sinks: 1, sources: 1, priority: 6513, available: yes)
		output:analog-stereo+input:analog-surround-51: Analog Stereo Output + Analog Surround 5.1 Input (sinks: 1, sources: 1, priority: 6513, available: yes)
		output:analog-stereo+input:analog-surround-40: Analog Stereo Output + Analog Surround 4.0 Input (sinks: 1, sources: 1, priority: 6512, available: yes)
		output:analog-stereo+input:analog-surround-50: Analog Stereo Output + Analog Surround 5.0 Input (sinks: 1, sources: 1, priority: 6512, available: yes)
		output:analog-stereo+input:analog-surround-71: Analog Stereo Output + Analog Surround 7.1 Input (sinks: 1, sources: 1, priority: 6512, available: yes)
		output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
		output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: yes)
		output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: yes)
		output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1365, available: yes)
		output:analog-surround-21+input:analog-surround-21: Analog Surround 2.1 Output + Analog Surround 2.1 Input (sinks: 1, sources: 1, priority: 1313, available: yes)
		output:analog-surround-21+input:analog-surround-41: Analog Surround 2.1 Output + Analog Surround 4.1 Input (sinks: 1, sources: 1, priority: 1313, available: yes)
		output:analog-surround-21+input:analog-surround-51: Analog Surround 2.1 Output + Analog Surround 5.1 Input (sinks: 1, sources: 1, priority: 1313, available: yes)
		output:analog-surround-41+input:analog-surround-21: Analog Surround 4.1 Output + Analog Surround 2.1 Input (sinks: 1, sources: 1, priority: 1313, available: yes)
		output:analog-surround-41+input:analog-surround-41: Analog Surround 4.1 Output + Analog Surround 4.1 Input (sinks: 1, sources: 1, priority: 1313, available: yes)
		output:analog-surround-41+input:analog-surround-51: Analog Surround 4.1 Output + Analog Surround 5.1 Input (sinks: 1, sources: 1, priority: 1313, available: yes)
		output:analog-surround-51+input:analog-surround-21: Analog Surround 5.1 Output + Analog Surround 2.1 Input (sinks: 1, sources: 1, priority: 1313, available: yes)
		output:analog-surround-51+input:analog-surround-41: Analog Surround 5.1 Output + Analog Surround 4.1 Input (sinks: 1, sources: 1, priority: 1313, available: yes)
		output:analog-surround-51+input:analog-surround-51: Analog Surround 5.1 Output + Analog Surround 5.1 Input (sinks: 1, sources: 1, priority: 1313, available: yes)
		output:analog-surround-21+input:analog-surround-40: Analog Surround 2.1 Output + Analog Surround 4.0 Input (sinks: 1, sources: 1, priority: 1312, available: yes)
		output:analog-surround-21+input:analog-surround-50: Analog Surround 2.1 Output + Analog Surround 5.0 Input (sinks: 1, sources: 1, priority: 1312, available: yes)
		output:analog-surround-21+input:analog-surround-71: Analog Surround 2.1 Output + Analog Surround 7.1 Input (sinks: 1, sources: 1, priority: 1312, available: yes)
		output:analog-surround-41+input:analog-surround-40: Analog Surround 4.1 Output + Analog Surround 4.0 Input (sinks: 1, sources: 1, priority: 1312, available: yes)
		output:analog-surround-41+input:analog-surround-50: Analog Surround 4.1 Output + Analog Surround 5.0 Input (sinks: 1, sources: 1, priority: 1312, available: yes)
		output:analog-surround-41+input:analog-surround-71: Analog Surround 4.1 Output + Analog Surround 7.1 Input (sinks: 1, sources: 1, priority: 1312, available: yes)
		output:analog-surround-51+input:analog-surround-40: Analog Surround 5.1 Output + Analog Surround 4.0 Input (sinks: 1, sources: 1, priority: 1312, available: yes)
		output:analog-surround-51+input:analog-surround-50: Analog Surround 5.1 Output + Analog Surround 5.0 Input (sinks: 1, sources: 1, priority: 1312, available: yes)
		output:analog-surround-51+input:analog-surround-71: Analog Surround 5.1 Output + Analog Surround 7.1 Input (sinks: 1, sources: 1, priority: 1312, available: yes)
		output:analog-surround-21: Analog Surround 2.1 Output (sinks: 1, sources: 0, priority: 1300, available: yes)
		output:analog-surround-41: Analog Surround 4.1 Output (sinks: 1, sources: 0, priority: 1300, available: yes)
		output:analog-surround-51: Analog Surround 5.1 Output (sinks: 1, sources: 0, priority: 1300, available: yes)
		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: yes)
		output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: yes)
		output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 1265, available: yes)
		output:analog-surround-40+input:analog-surround-21: Analog Surround 4.0 Output + Analog Surround 2.1 Input (sinks: 1, sources: 1, priority: 1213, available: yes)
		output:analog-surround-40+input:analog-surround-41: Analog Surround 4.0 Output + Analog Surround 4.1 Input (sinks: 1, sources: 1, priority: 1213, available: yes)
		output:analog-surround-40+input:analog-surround-51: Analog Surround 4.0 Output + Analog Surround 5.1 Input (sinks: 1, sources: 1, priority: 1213, available: yes)
		output:analog-surround-50+input:analog-surround-21: Analog Surround 5.0 Output + Analog Surround 2.1 Input (sinks: 1, sources: 1, priority: 1213, available: yes)
		output:analog-surround-50+input:analog-surround-41: Analog Surround 5.0 Output + Analog Surround 4.1 Input (sinks: 1, sources: 1, priority: 1213, available: yes)
		output:analog-surround-50+input:analog-surround-51: Analog Surround 5.0 Output + Analog Surround 5.1 Input (sinks: 1, sources: 1, priority: 1213, available: yes)
		output:analog-surround-71+input:analog-surround-21: Analog Surround 7.1 Output + Analog Surround 2.1 Input (sinks: 1, sources: 1, priority: 1213, available: yes)
		output:analog-surround-71+input:analog-surround-41: Analog Surround 7.1 Output + Analog Surround 4.1 Input (sinks: 1, sources: 1, priority: 1213, available: yes)
		output:analog-surround-71+input:analog-surround-51: Analog Surround 7.1 Output + Analog Surround 5.1 Input (sinks: 1, sources: 1, priority: 1213, available: yes)
		output:analog-surround-40+input:analog-surround-40: Analog Surround 4.0 Output + Analog Surround 4.0 Input (sinks: 1, sources: 1, priority: 1212, available: yes)
		output:analog-surround-40+input:analog-surround-50: Analog Surround 4.0 Output + Analog Surround 5.0 Input (sinks: 1, sources: 1, priority: 1212, available: yes)
		output:analog-surround-40+input:analog-surround-71: Analog Surround 4.0 Output + Analog Surround 7.1 Input (sinks: 1, sources: 1, priority: 1212, available: yes)
		output:analog-surround-50+input:analog-surround-40: Analog Surround 5.0 Output + Analog Surround 4.0 Input (sinks: 1, sources: 1, priority: 1212, available: yes)
		output:analog-surround-50+input:analog-surround-50: Analog Surround 5.0 Output + Analog Surround 5.0 Input (sinks: 1, sources: 1, priority: 1212, available: yes)
		output:analog-surround-50+input:analog-surround-71: Analog Surround 5.0 Output + Analog Surround 7.1 Input (sinks: 1, sources: 1, priority: 1212, available: yes)
		output:analog-surround-71+input:analog-surround-40: Analog Surround 7.1 Output + Analog Surround 4.0 Input (sinks: 1, sources: 1, priority: 1212, available: yes)
		output:analog-surround-71+input:analog-surround-50: Analog Surround 7.1 Output + Analog Surround 5.0 Input (sinks: 1, sources: 1, priority: 1212, available: yes)
		output:analog-surround-71+input:analog-surround-71: Analog Surround 7.1 Output + Analog Surround 7.1 Input (sinks: 1, sources: 1, priority: 1212, available: yes)
		output:analog-surround-40: Analog Surround 4.0 Output (sinks: 1, sources: 0, priority: 1200, available: yes)
		output:analog-surround-50: Analog Surround 5.0 Output (sinks: 1, sources: 0, priority: 1200, available: yes)
		output:analog-surround-71: Analog Surround 7.1 Output (sinks: 1, sources: 0, priority: 1200, available: yes)
		input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: yes)
		input:analog-surround-21: Analog Surround 2.1 Input (sinks: 0, sources: 1, priority: 13, available: yes)
		input:analog-surround-41: Analog Surround 4.1 Input (sinks: 0, sources: 1, priority: 13, available: yes)
		input:analog-surround-51: Analog Surround 5.1 Input (sinks: 0, sources: 1, priority: 13, available: yes)
		input:analog-surround-40: Analog Surround 4.0 Input (sinks: 0, sources: 1, priority: 12, available: yes)
		input:analog-surround-50: Analog Surround 5.0 Input (sinks: 0, sources: 1, priority: 12, available: yes)
		input:analog-surround-71: Analog Surround 7.1 Input (sinks: 0, sources: 1, priority: 12, available: yes)
		pro-audio: Pro Audio (sinks: 2, sources: 2, priority: 1, available: yes)
	Active Profile: output:analog-stereo+input:analog-stereo
	Ports:
		analog-input: Analog Input (type: Analog, priority: 10000, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "analog"
				card.profile.port = "0"
			Part of profile(s): input:analog-stereo, input:analog-surround-21, input:analog-surround-40, input:analog-surround-41, input:analog-surround-50, input:analog-surround-51, input:analog-surround-71, output:analog-stereo+input:analog-stereo, output:analog-stereo+input:analog-surround-21, output:analog-stereo+input:analog-surround-40, output:analog-stereo+input:analog-surround-41, output:analog-stereo+input:analog-surround-50, output:analog-stereo+input:analog-surround-51, output:analog-stereo+input:analog-surround-71, output:analog-surround-21+input:analog-stereo, output:analog-surround-21+input:analog-surround-21, output:analog-surround-21+input:analog-surround-40, output:analog-surround-21+input:analog-surround-41, output:analog-surround-21+input:analog-surround-50, output:analog-surround-21+input:analog-surround-51, output:analog-surround-21+input:analog-surround-71, output:analog-surround-40+input:analog-stereo, output:analog-surround-40+input:analog-surround-21, output:analog-surround-40+input:analog-surround-40, output:analog-surround-40+input:analog-surround-41, output:analog-surround-40+input:analog-surround-50, output:analog-surround-40+input:analog-surround-51, output:analog-surround-40+input:analog-surround-71, output:analog-surround-41+input:analog-stereo, output:analog-surround-41+input:analog-surround-21, output:analog-surround-41+input:analog-surround-40, output:analog-surround-41+input:analog-surround-41, output:analog-surround-41+input:analog-surround-50, output:analog-surround-41+input:analog-surround-51, output:analog-surround-41+input:analog-surround-71, output:analog-surround-50+input:analog-stereo, output:analog-surround-50+input:analog-surround-21, output:analog-surround-50+input:analog-surround-40, output:analog-surround-50+input:analog-surround-41, output:analog-surround-50+input:analog-surround-50, output:analog-surround-50+input:analog-surround-51, output:analog-surround-50+input:analog-surround-71, output:analog-surround-51+input:analog-stereo, output:analog-surround-51+input:analog-surround-21, output:analog-surround-51+input:analog-surround-40, output:analog-surround-51+input:analog-surround-41, output:analog-surround-51+input:analog-surround-50, output:analog-surround-51+input:analog-surround-51, output:analog-surround-51+input:analog-surround-71, output:analog-surround-71+input:analog-stereo, output:analog-surround-71+input:analog-surround-21, output:analog-surround-71+input:analog-surround-40, output:analog-surround-71+input:analog-surround-41, output:analog-surround-71+input:analog-surround-50, output:analog-surround-71+input:analog-surround-51, output:analog-surround-71+input:analog-surround-71
		analog-output: Analog Output (type: Analog, priority: 9900, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "analog"
				card.profile.port = "1"
			Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo, output:analog-stereo+input:analog-surround-21, output:analog-stereo+input:analog-surround-40, output:analog-stereo+input:analog-surround-41, output:analog-stereo+input:analog-surround-50, output:analog-stereo+input:analog-surround-51, output:analog-stereo+input:analog-surround-71, output:analog-surround-21, output:analog-surround-21+input:analog-stereo, output:analog-surround-21+input:analog-surround-21, output:analog-surround-21+input:analog-surround-40, output:analog-surround-21+input:analog-surround-41, output:analog-surround-21+input:analog-surround-50, output:analog-surround-21+input:analog-surround-51, output:analog-surround-21+input:analog-surround-71, output:analog-surround-40, output:analog-surround-40+input:analog-stereo, output:analog-surround-40+input:analog-surround-21, output:analog-surround-40+input:analog-surround-40, output:analog-surround-40+input:analog-surround-41, output:analog-surround-40+input:analog-surround-50, output:analog-surround-40+input:analog-surround-51, output:analog-surround-40+input:analog-surround-71, output:analog-surround-41, output:analog-surround-41+input:analog-stereo, output:analog-surround-41+input:analog-surround-21, output:analog-surround-41+input:analog-surround-40, output:analog-surround-41+input:analog-surround-41, output:analog-surround-41+input:analog-surround-50, output:analog-surround-41+input:analog-surround-51, output:analog-surround-41+input:analog-surround-71, output:analog-surround-50, output:analog-surround-50+input:analog-stereo, output:analog-surround-50+input:analog-surround-21, output:analog-surround-50+input:analog-surround-40, output:analog-surround-50+input:analog-surround-41, output:analog-surround-50+input:analog-surround-50, output:analog-surround-50+input:analog-surround-51, output:analog-surround-50+input:analog-surround-71, output:analog-surround-51, output:analog-surround-51+input:analog-stereo, output:analog-surround-51+input:analog-surround-21, output:analog-surround-51+input:analog-surround-40, output:analog-surround-51+input:analog-surround-41, output:analog-surround-51+input:analog-surround-50, output:analog-surround-51+input:analog-surround-51, output:analog-surround-51+input:analog-surround-71, output:analog-surround-71, output:analog-surround-71+input:analog-stereo, output:analog-surround-71+input:analog-surround-21, output:analog-surround-71+input:analog-surround-40, output:analog-surround-71+input:analog-surround-41, output:analog-surround-71+input:analog-surround-50, output:analog-surround-71+input:analog-surround-51, output:analog-surround-71+input:analog-surround-71

Last edited by nimaaskarian (2024-10-29 16:15:59)

Offline

#16 2024-10-29 16:52:17

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

Re: pipewire randomly mutes and sets my headphones volume to 0

Ah sorry I glossed over that. If you force it despite auto detection not being able to, does it work, or at least help the symptoms?

pactl set-card-profile alsa_card.pci-0000_00_1f.3 output:analog-stereo+input:analog-stereo

Which controls are available for this card?

amixer -c1

Offline

#17 2024-10-30 05:08:20

nimaaskarian
Member
Registered: 2022-11-19
Posts: 11

Re: pipewire randomly mutes and sets my headphones volume to 0

V1del wrote:

Ah sorry I glossed over that.

I've made this topic quite messy; The info is scattered across the replies and its easy to gloss over some.

V1del wrote:

If you force it despite auto detection not being able to, does it work, or at least help the symptoms?

pactl set-card-profile alsa_card.pci-0000_00_1f.3 output:analog-stereo+input:analog-stereo

No, setting the card to analog-stereo (or any other existing but "unavailable" sink) doesn't help with symptoms as it turns off the audio completely.

heres the output for amixer -c1:

Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.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 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [off]
  Front Right: Playback 64 [100%] [0.00dB] [off]
Simple mixer control 'Front Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Front 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 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 0 [0%] [-64.00dB] [off]
  Front Right: Playback 0 [0%] [-64.00dB] [off]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 0 [0%] [-64.00dB] [off]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 0 [0%] [-64.00dB] [off]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Line 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 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 0 [0%] [-16.00dB] [off]
  Front Right: Capture 0 [0%] [-16.00dB] [off]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 0 [0%] [-16.00dB] [off]
  Front Right: Capture 0 [0%] [-16.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Channel Mode',0
  Capabilities: enum
  Items: '2ch' '4ch' '6ch'
  Item0: '6ch'
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 60 [50%] [0.00dB]
  Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line'
  Item0: 'Front Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Front Mic' 'Rear Mic' 'Line'
  Item0: 'Front Mic'
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Rear Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Rear 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]

Offline

#18 2024-10-30 08:35:09

seth
Member
Registered: 2012-09-03
Posts: 58,659

Re: pipewire randomly mutes and sets my headphones volume to 0

When a new device is detected pipewire mutes and sets my headphone volume to 0; also mutes Master of my card.

I don't connect any new devices. There's only my hdmi card ("Navi 21/23 HDMI/DP Audio Controller") which I don't use the sound device of it and my monitor is always connected.

Is it actually just PW or the auto-mute?
Compare

mpv -ao pipewire thunderstruck.mp3
mpv -ao alsa thunderstruck.mp3

Consider to blacklist snd_hda_codec_hdmi

Offline

#19 2024-10-31 16:03:33

nimaaskarian
Member
Registered: 2022-11-19
Posts: 11

Re: pipewire randomly mutes and sets my headphones volume to 0

seth wrote:

When a new device is detected pipewire mutes and sets my headphone volume to 0; also mutes Master of my card.

I don't connect any new devices. There's only my hdmi card ("Navi 21/23 HDMI/DP Audio Controller") which I don't use the sound device of it and my monitor is always connected.

Is it actually just PW or the auto-mute?
Compare

mpv -ao pipewire thunderstruck.mp3
mpv -ao alsa thunderstruck.mp3

Consider to blacklist snd_hda_codec_hdmi

Using both pipewire and alsa produce the same (muted) output when reproducing the issue.
Blacklisting snd_hda_codec_hdmi didn't help neither (I double checked with lsmod. its blacklisted). The "Headphone" item inside my HDA Intel PCH is still getting muted and volume is being set to zero.

Offline

Board footer

Powered by FluxBB