Posts: 4
Joined: Apr 2024
Reputation:
0
That also works. Use ‘pwi-cli ls Node’ to find your output node id.
Posts: 5
Joined: Nov 2017
Reputation:
0
This has been the most concise thread I've found so far on this issue so I thought I'd throw my 2 cents in. In addition to adding the wireplumber config file, I had to do the following:
pactl set-card-profile 999 output:hdmi-surround
Where 999 is the iec958 output card. output:hdmi-surround is for 5.1 from hdmi0. output:hdmi-surround71 would be for a 7.1 setup. pactl list cards will show you available output profiles.
Then I had to execute the following command:
pactl set-sink-formats 62 'pcm;ac3-iec61937;eac3-iec61937;dts-iec61937;dtshd-iec61937;truehd-iec61937'
Where 62 is my active sink (pactl list sinks). Remove anything your end device doesn't support, or add aac/mpeg2 codecs as needed.
Now Kodi's UI allows me to enable passthrough on my pipewire output device. I haven't tested it yet as I've been doing all of this remotely at work via ssh and x11vnc.