Bug 418734

Summary: In cases where there is HDMI and analog audio sources available, source is reverted to HDMI after a period of inactivity
Product: [Unmaintained] plasma-pa Reporter: vytas <vytas.naus>
Component: generalAssignee: David Rosca <nowrep>
Status: RESOLVED UPSTREAM    
Severity: normal CC: bugseforuns, kangarooo, nicolas.fella, plasma-bugs-null, sitter
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description vytas 2020-03-11 10:06:40 UTC
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.
Comment 1 Patrick Silva 2020-03-11 15:23:41 UTC
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
Comment 2 Nicolas Fella 2020-03-11 21:33:16 UTC
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
Comment 3 vytas 2020-03-12 07:31:48 UTC
@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.
Comment 4 Kangarooo 2022-12-17 22:20:46 UTC
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.
Comment 5 Harald Sitter 2024-09-26 12:46:07 UTC
Please direct reports upstream to pulseaudio.