Bug 418734 - In cases where there is HDMI and analog audio sources available, source is reverted to HDMI after a period of inactivity
Summary: In cases where there is HDMI and analog audio sources available, source is re...
Status: RESOLVED UPSTREAM
Alias: None
Product: plasma-pa
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: David Rosca
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-11 10:06 UTC by vytas
Modified: 2024-09-26 12:46 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.