Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Disabling HDMI sinks in Pipewire (Read 2111 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] Disabling HDMI sinks in Pipewire

Hi,

I've just (finally) made the switch from Arco to Artix, and I'm loving in. so fast, so smooth!. I've decided to also junk pulseaudio and get pipewire instead. So far so good, got it all working, except for one thing.

I need to output audio via HDMI since my analog out on my computer is busted. By default nvidia gives a grand total of 8 sinks on HDMI, where in actually only HDMI1 provides sound output. A managed to disable the 7 sinks in pulseaudio on my old install, but I can't seem to figure it out. I've spend about 2 hours mucking about trying to make it work, but so far no success.

Problem is that I can easily set output manually, but when my screen goes into sleep mode, the sink resets (or disappears).

Could someone point me in the right direction so I can more effectively resolve this?

Thank you and best regards.

Re: Disabling HDMI sinks in Pipewire

Reply #1
the question may be whether it is already implemented in pipewire ... if so, it will be for founding in the settings in /etc /pipewire/*.conf.

i went back to pulseaudio because some things in pipewire are still missing ....

Re: Disabling HDMI sinks in Pipewire

Reply #2
Thank you for your swift response, I'm going to investigate that suggestion you made.

Best regards

Re: Disabling HDMI sinks in Pipewire

Reply #3
hdajackretask (part of the alsa-tools package) might help if you aim to redirect audio outputs, and it claims to be able to make persistent reassignments. There are several pipewire packages in the AUR that aren't available as binaries, no idea if they would help you though.

Re: Disabling HDMI sinks in Pipewire

Reply #4
Just to update what I ended up doing after more playing around, I simply deleted the unwanted sinks in /usr/share/alsa-card-profile/mixer/paths and that seemed to have done the trick. No idea why it worked since I have no real knowledge of how the Linux soundstack works, but it was something I found online. The sound output works as expected now.

Best regards