SUMMARY I have a monitor that's connected via HDMI and proper analog speakers. Using audio audio volume settings > devices I set the analog device to be used as default and it works until I leave the pc long enough for the screen energy saving timer (10 mins default) to kick in. After the screen turns back on, HDMI is again selected as the default. Upon restart, the default device is again set to analog. STEPS TO REPRODUCE 1. connect HDMI monitor and analog jack 2. select analog device as default 3. wait for energy saving to kick in to turn off the monitor 4. reactivate pc OBSERVED RESULT HDMI audio source is selected as the default audio device EXPECTED RESULT analog audio source should remain selected as the default audio device SOFTWARE/OS VERSIONS Fedora 31, upgraded all packages today. Issue persists for the 6 months I've used it.
I had the same problem a few months ago (see bug 411936). But currently I can't confirm this problem on my system. Operating System: Arch Linux KDE Plasma Version: 5.18.3 KDE Frameworks Version: 5.67.0 Qt Version: 5.14.1
I don't see how Plasma could cause this. I suspect it's a PulseAudio issue, maybe https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/749
@Nicolas Fella, it doesn't match the symptoms though, as the correct audio is always selected upon restart, even if before the restart it reverted to HDMI. I could provide a technical log of events if you could point me to the right direction.
Is it fixed? Can you try again? Does connecting monitors and then running this in terminal fixes? or removing monitor in your case and then this in terminal? xrandr -q Some people here post that this behaviour is bug, so some fix one way others other way maybe. I think it should be when plugging hdmi then that one, but if hdmi tv and some sound system then hdmi to show tv and sound to go to heaphone sound jack.
Please direct reports upstream to pulseaudio.