Summary: | Screen energy saving not working with DisplayPort screen | ||
---|---|---|---|
Product: | [Plasma] Powerdevil | Reporter: | Julien Delquié <julien.dlq> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | asturm, javier.tia+bugzilla.kde, jpetso, kdedev, me, natalie_clarius, nate, thembees |
Priority: | NOR | Keywords: | qt6 |
Version: | 6.0.1 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Energy Saving Settings |
Description
Julien Delquié
2024-03-10 11:31:36 UTC
So basically, it works on X11, but not Wayland? Does it work in a full X11 session? Or only on SDDM which is running on X11? I have just tested full X11 session on Plasma: the two screens turn off and turn back on immediately after locking followed by the configured time, then continue this cycle if I do nothing. I confirm that on SDDM with X11, without connecting to my session, everything works correctly. Should I try SDDM with Wayland? I'm not sure I'll get there quickly today. So this is just about SDDM? Or while you are logged into your Plasma-6 session? Please note that the lockscreen is *not* SDDM. Since for me it works fine in Plasma 6 session with similar hardware (AMD RX 6700 attached to (a single) DisplayPort screen): KDE Plasma Version: 6.0.1 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.2 Kernel Version: 6.6.21-gentoo (64-bit) Graphics Platform: Wayland (In reply to Andreas Sturmlechner from comment #3) > So this is just about SDDM? Or while you are logged into your Plasma-6 > session? Please note that the lockscreen is *not* SDDM. Not at all, the issue is not about SDDM. And I know that the lockscreen is not at all SDDM, don't worry about that. ;) It is while I'm logged into my Plasma-6 session. I just tested what happen with SDDM, just to be sure it's not a general issue, because I know that SDDM is not lockscreen and vice-versa. :) (In reply to Andreas Sturmlechner from comment #3) > Since for me it works fine in Plasma 6 session with similar hardware (AMD RX > 6700 attached to (a single) DisplayPort screen): Maybe I could try what happen if I plug only the DisplayPort Screen? And also, only the HDMI Screen? And then test in all situation I already reported (SDDM X11, Plasma-6 Wayland, Plasma-6 X11)? Would it help? Interesting update. So far, here what I tested: - Plasma6 wayland, only HDMI screen plugged, when screen energy saving starts, it turns off and stay off! So it works if it is alone, - Plasma6 wayland, only DisplayPort screen plugged, when screen energy saving starts, it turns off and on. The bug. So we can say that when both screens are plugged, DisplayPort screen changes the behavior of HDMI screen… Also, another test came to my mind: what about a new user, with empty/default configuration of Plasma6? Well, I done this, and the bug is reproduced when both screen are plugged. Even worse, HDMI and DisplayPort screens turn off and on. (for recall, on my personal session only DisplayPort screen turns off and on, and HDMI is able to stay off, when it wants to) So we can say that it seems not linked to a specific configuration of my Plasma6 session. What do you want me to try next? Another thing I found interesting. I was trying to change some settings of my DisplayPort Screen in Plasma6 configuration, just to test, or find something. Then I left open system settings, and after a manual lock, then wait for energy saving, then the bug… when I unlocked session, there was a message in system settings : « A new output has been added. Settings have been reloaded. » Maybe it is useful? In any case, can you please upgrade to 6.0.2 to make sure this hasn't been fixed in the meantime. (In reply to Andreas Sturmlechner from comment #8) > In any case, can you please upgrade to 6.0.2 to make sure this hasn't been > fixed in the meantime. Sorry, I forgot to mention it. I already upgraded to 6.0.2 today before this last test. Still same issue. Created attachment 167187 [details]
Energy Saving Settings
I'm having the same issue, however this was working for me after updating to plasma 6, and only stopped working after I updated to 6.0.2 yesterday.
I've tried multiple reboots, changing the power profile, still doesn't turn my displays off on the lock-screen (2 DP, 1 HDMI)
Another interesting thing: When I set "Turn off screen" to 1 minute (and keep lock screen to 5 minutes), and just wait 1 minute, then the issue is reproduced. So it seems that is not linked directly to lockscreen. Setting to Confirmed since another user experienced the same result with 6.0.2 Upgraded to 6.0.4 some time ago, still the same issue. Could this be a duplicate of Bug 480026? Which was fixed by ignoring display (re)connection events for 2 seconds instead of 1 after turning off the screens. I applied the patches from https://invent.kde.org/plasma/kwin/-/merge_requests/5679. And the issue seems fixed with this! What I found weird, however: if I lock my screen, wait for 60 seconds the time before screens sleep, they try to do so, but fail, then in the next 60 seconds they succeed. It’s definitely better than before. ;) *** This bug has been marked as a duplicate of bug 480026 *** |