Comment 36 for bug 1888598

Revision history for this message
Hui Wang (hui.wang) wrote : Re: pulseaudio has is buggy with hdmi audio and sleep/wake

What I saw is the hdmi-port0 (monitor) is resumed earlier than hdmi-port1 (home theatre) and hidmi-port0 has higher priority than hdmi-port1, so the profile of hdmi-port1 will not be active and the sink of hdmi-port1 will not be created after resume. (not 100% sure)

If you could not switch the port, we have another way to do the test. Drop the (load-module module-switch-on-connect blacklist=""), then edit the /usr/share/pulseaudio/alsa-mixer/paths/ hdmi-output-0.conf and hdmi-output-1.conf, change the priority in 0.conf to 58 and change the priority in 1.conf to 59, then reboot.

When you have time, could do a test and collect the log between suspend and resume.