Please let me know if I can add any logs / systemd unit tweaks to make this more obvious / debuggable.
Problem
On some recent upgrade, I saw my laptop consistently (but not always!) losing the HDMI audio sink after unsuspending. I think that this was correlated with me upgrading to the most recent F42 build of Pipewire, but have no proof.
Looking at journalctl, I don’t see any relevant logs from any pertinent systemd units.
This doesn’t happen every time, but doesn’t look specific to my desktop environment.
- It happens consistently (almost every time) in niri.
- I’ve reproduced it first-try in sway.
- I have not reproduced it (yet) in GNOME. (I logged in from cold boot, closed the lid, counted to ten, and reopened it.)
I could try harder to repro everywhere, but I need to set aside the time to do so.
Workarounds
- Physically unplug and re-plug the HDMI output
- Send the equivalent commands to the current Wayland compositor
systemctl --user restart wireplumber(I don’t like doing this one)
Environment
$ rpm -q pipewire wireplumber
pipewire-1.4.6-1.fc42.x86_64
wireplumber-0.5.8-1.fc42.x86_64
$ inxi -A
Audio:
Device-1: Advanced Micro Devices [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP
Audio driver: snd_hda_intel
Device-2: Advanced Micro Devices [AMD] Audio Coprocessor
driver: snd_pci_acp3x
Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
driver: snd_hda_intel
API: ALSA v: k6.15.5-200.fc42.x86_64 status: kernel-api
Server-1: PipeWire v: 1.4.6 status: active