Bug 492403 - On X11 with dual NVIDIA GPUs, KScreen wakes dual monitors as soon as they go to sleep
Summary: On X11 with dual NVIDIA GPUs, KScreen wakes dual monitors as soon as they go ...
Status: REPORTED
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: 6.1.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords: multiscreen, X11-only
Depends on:
Blocks:
 
Reported: 2024-08-30 10:47 UTC by cat22
Modified: 2025-02-24 17:58 UTC (History)
1 user (show)

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


Attachments
the output of inxi -v 8 (22.58 KB, text/plain)
2024-08-30 13:04 UTC, cat22
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cat22 2024-08-30 10:47:55 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY
When using a dual monitor setup and configuring power management to NOT lock screens and NOT sleep and NOT to hibernate but simply turn the screens off and no more than that, kscreens2 will put the monitors to sleep and the wake them right back up, shutting off kscreen2 allowed the screens to be shutoff and stay off as would be expected.
See discussion here:
https://forums.opensuse.org/t/having-trouble-keeping-my-screens-off/178084/3
STEPS TO REPRODUCE
1.  Hardware is dual monitors and nvidia graphics card
2.  setup Power Management apps and Screen Locking apps to ONLY turn off screens and set the timeout to 1 minute for convenience 
3. Observe that after 1 minute both monitors are turned off , wait and within 20-30 seconds they will be re-awoken

OBSERVED RESULT
Monitors shut off but do not stay off

EXPECTED RESULT
The monitors should stay off until a key is pressed or the mouse is moved

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  openSuse Tumbleweed
KDE Plasma Version:   6.1.4
KDE Frameworks Version:  This used to be in Help->About - it is no longer there
Qt Version:  6.7.2

ADDITIONAL INFORMATION
I am happy to provide any additional info on request and testing of any fix.
Comment 1 cat22 2024-08-30 13:04:27 UTC
Created attachment 173125 [details]
the output of inxi -v 8

the output of inxi -v 8
Comment 2 Nate Graham 2024-08-30 16:13:49 UTC
X11, dual NVIDIA GPUs.

Does it happen in the Wayland session too, or only on X11?
Comment 3 cat22 2024-08-30 19:20:37 UTC
This works as expected on Wayland. 
The monitors sleep and do not wake until i move the mouse or press a key 
I only did brief testing but this defect shows up quickly
Comment 4 TraceyC 2025-02-24 17:58:25 UTC
Adding the x11-only keyword