You are not logged in.

#1 2024-04-13 17:59:25

QuarkZ
Member
Registered: 2023-11-09
Posts: 5

Pipewire, HDMI Output not working right after boot or after sleep

Hello,

I've had this setup for quite a bit and seemingly it broke fairly recently (possible after KDE6)

I have two monitors, both plugged DP to HDMI. I used to have every outputs combined, using pactl load-module module-combine-sink and Pro Audio settings, then I would mute the ones I didn't want (internal)
Recently I realized that one of the monitor would stop getting sound. The fix would be to switch the profile to Digital Stereo (HDMI) to the non working output, at which point I could hear the sound again. Then going back to Pro Audio would have everything working properly.
Note that, clicking on the volume slider would show the "notification sound" in the meter, as if the sound is getting there, just not out to my monitor.

Fast forward, I decide to reinstall the system from scratch and use different hardware (used to be a laptop on a dock, now is a SFF workstation). Same setup, same output.
I also setup pipewire-pulse.conf with

    {   name = libpipewire-module-combine-stream
    args = {
        combine.mode = sink
        node.name = "Combined_HDMI"
        node.description = "Combined HDMI"
        combine.props = {
            audio.position = [ FL FR ]
        }
        stream.props = {
        }

        stream.rules = [
            {
            matches = [
                    {
                        media.class = "Audio/Sink"
                        node.name = "alsa_output.pci-0000_00_1f.3.pro-output-3"
                    }
                ]
                actions = {
                    create-stream = {
                    }
                }
            }
            {
            matches = [
                    {

                        media.class = "Audio/Sink"
                        node.name = "alsa_output.pci-0000_00_1f.3.pro-output-7"
                    }
                ]


                actions = {
                    create-stream = {
                    }
                }
            }
        ]
    }
}

instead of combining indiscriminately. Same issue arises.
If I reboot, I only get sound on my primary monitor, until I either switch profile. Restarting wireplumber.service seems to also fix the issue.
One weird thing I noticed is that if I restart the service, the notification sound that you get when moving the slider, changes.

I could probably work around it and restart the service via script, but I'd love not having to do that, esp since it was working before.

Any ideas would be appreciated.

Offline

Board footer

Powered by FluxBB