[regression] No available card profile reported for HDMI Audio after turning monitor on/off
When turning a monitor with HDMI Audio off and on again, pipewire reports no available card profiles for the HDMI Audio card in pactl list card
or pavucontrol. This is a regression introduced with commit d13181fb in pipewire and I can confirm that reverting it on master fixes the issue and that it reproduces reliably without the revert. You can still manually select a profile that's listed as unavailable
but not unplugged
to get audio working again. It was normal on both pulse and pipewire that turning a monitor off/on would change which profile of the HDMI Audio card would be reported as available, but there was always at least one available.
Here's the output of pactl list card
on pipewire master before and after turning the monitor off and on again:
master-before.txt
master-after.txt
and here with the commit reverted: reverted-before.txt reverted-after.txt
This patch also fixes the issue, though I have no idea why any of this would change which cards get reported as available: workaround.patch