Bug 493012 - DPMS breaks Adaptive Sync on Wayland
Summary: DPMS breaks Adaptive Sync on Wayland
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 6.1.5
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-12 09:05 UTC by sidpranjale127
Modified: 2024-09-13 22:58 UTC (History)
1 user (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 sidpranjale127 2024-09-12 09:05:32 UTC
SUMMARY
After Powerdevil turns the display off (idle DPMS), turning it back on breaks Adaptive Sync. With Adaptive Sync set to Automatic in Display Configuration, launching any full screen app turns off the display until the app is no longer in focus. If Adaptive Sync is set to "Always", the display simply turns off until the next reboot.

This behavior is not observed in Kwin X11 or Swaywm with Adaptive Sync enabled.

STEPS TO REPRODUCE
1. Allow the display to turn off.
2. Turn the display back on.
3. Attempt to use Adaptive Sync.

OBSERVED RESULT
The display remains black, with even the monitor OSD not rendering.

EXPECTED RESULT
The display stays on and displays content.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Kernel Version: 6.10.9-arch1-2 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600 6-Core Processor
Memory: 30.9 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3070/PCIe/SSE2

ADDITIONAL INFORMATION
This only happens on the nvidia open kernel module, and not on the proprietary kernel module.
Comment 1 sidpranjale127 2024-09-12 09:10:38 UTC
For what it's worth, even manually turning the monitor off and back on works as a Reproducer
Comment 2 Zamundaaa 2024-09-13 22:58:13 UTC
Please report this issue to https://github.com/NVIDIA/open-gpu-kernel-modules/issues, KWin doesn't do anything differently between the kernel modules.