Bug 483999 - Monitor HDR turned off when display turned off via system idling
Summary: Monitor HDR turned off when display turned off via system idling
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 6.0.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2024-03-19 13:52 UTC by Michelle Bowe
Modified: 2024-04-11 17:57 UTC (History)
4 users (show)

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


Attachments
Before output from drm_info (150.74 KB, text/plain)
2024-04-11 17:30 UTC, Michelle Bowe
Details
After repro output from drm_info (150.74 KB, text/plain)
2024-04-11 17:31 UTC, Michelle Bowe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michelle Bowe 2024-03-19 13:52:06 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Use HDR monitor (in my specific case an Acer Technologies XB273K GP)
2. Verify HDR is turned on
3. Allow KDE to go idle
4. wait for display to turn off
5. wake the system

OBSERVED RESULT

Screen is dim and HDR is turned off in the monitor firmware and must be turned back on or to auto

EXPECTED RESULT

Screen is normal brightness and HDR setting in firmware should be the same as before going idle

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Michelle Bowe 2024-03-19 14:12:21 UTC
NOTE: This is not reproducible in Windows 11 (work laptop connected through a dock), nor is it reproducible by manually powering down and restarting the monitor using the power button, so there seems to be something about the way KDE is handling the power down when the system goes idle that is triggering the behavior.
Comment 2 Zamundaaa 2024-04-11 15:52:43 UTC
Please attach the output of drm_info before, and again after reproducing the issue
Comment 3 Michelle Bowe 2024-04-11 17:30:41 UTC
Created attachment 168402 [details]
Before output from drm_info
Comment 4 Michelle Bowe 2024-04-11 17:31:10 UTC
Created attachment 168403 [details]
After repro output from drm_info
Comment 5 Zamundaaa 2024-04-11 17:57:31 UTC
okay, KWin's still setting the output to HDR mode, so this is a driver bug. You can report it at https://forums.developer.nvidia.com/c/gpu-graphics/linux