Bug 506003

Summary: One of three screens stays on after the "turn off screen" delay in system settings
Product: [Plasma] plasmashell Reporter: Reboot <mailbox>
Component: Power management & brightnessAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: kdedev, nate, xaver.hugl
Priority: NOR Keywords: multiscreen
Version First Reported In: 6.4.0   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=494262
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: drm_info when every screen is on
drm_info when the screens are supposed to be off but one isn't
drm_info when the screens are supposed to be off but one isn't (screen locked version)

Description Reboot 2025-06-22 20:23:33 UTC
SUMMARY
In system settings -> power management, screens are set to turn off after 10 minutes. That only happens for two of the plugged in screens , there's one that stays on no matter what. This issue also seems to happen when manually locking the session and waiting 1 minute.

STEPS TO REPRODUCE
1. Wait 10 minutes (by default), or lock the session and wait 1 minute.

OBSERVED RESULT
Two screens are off, one is still on and showing the lockscreen.

EXPECTED RESULT
All screens are off.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.0
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.2-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 ร— AMD Ryzen 5 3600 6-Core Processor
Memory: 32 GiB of RAM (31.2 GiB usable)
Graphics Processor: AMD Radeon RX 5700 XT
Comment 1 Nate Graham 2025-06-24 17:26:06 UTC
Can you paste the output of `kscreen-doctor -o` and also mention which of the screens in the output is the one that experiences the issue?
Comment 2 Reboot 2025-06-24 19:57:15 UTC
```
% kscreen-doctor -o
Output: 1 DP-1 2e2f447a-1627-4080-8773-7f359c9d9818
        enabled
        connected
        priority 1
        DisplayPort
        replication source:0
        Modes:  1:3840x2160@60*!  2:3840x2160@30  3:2560x1440@60  4:1920x1200@60  5:1920x1080@60  6:1920x1080@60  7:1920x1080@60  8:1600x1200@60  9:1680x1050@60  10:1280x1024@60  11:1440x900@60  12:1280x800@60  13:1280x720@60  14:1280x720@60  15:1024x768@60  16:800x600@60  17:720x480@60  18:720x480@60  19:640x480@60  20:640x480@60  21:640x480@60  22:2560x1600@60  23:3200x1800@60  24:2880x1620@60  25:1600x900@60  26:1368x768@60 
        Geometry: 1280,0 2195x1235
        Scale: 1.75
        Rotation: 1
        Overscan: 0
        Vrr: Never
        RgbRange: Automatic
        HDR: disabled
        Wide Color Gamut: disabled
        ICC profile: none
        Color profile source: sRGB
        Color power preference: prefer efficiency and performance
        Brightness control: supported, set to 80% and dimming to 100%
        DDC/CI: allowed
        Color resolution: automatic (10), range: [8; 16] bits per color
        Allow EDR: unsupported
Output: 2 DP-2 0337c83a-8942-4c76-8b26-cdfa90720bb5
        enabled
        connected
        priority 3
        DisplayPort
        replication source:0
        Modes:  27:1280x1024@60*!  28:1280x800@60  29:1280x720@60  30:1024x768@60  31:800x600@60  32:640x480@60  33:720x400@70 
        Geometry: 0,105 1280x1024
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: incapable
        RgbRange: Automatic
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: none
        Color profile source: sRGB
        Color power preference: prefer efficiency and performance
        Brightness control: supported, set to 100% and dimming to 100%
        DDC/CI: allowed
        Color resolution: automatic (10), range: [8; 16] bits per color
        Allow EDR: unsupported
Output: 3 HDMI-A-1 437ca33b-c469-4b0d-ba19-2fff9d237614
        enabled
        connected
        priority 2
        HDMI
        replication source:0
        Modes:  34:1920x1080@60*!  35:1920x1080@60  36:1920x1080@60  37:1920x1080@50  38:1680x1050@60  39:1280x1024@75  40:1280x1024@60  41:1440x900@75  42:1440x900@60  43:1280x800@60  44:1280x720@60  45:1280x720@60  46:1280x720@60  47:1280x720@50  48:1024x768@75  49:1024x768@60  50:800x600@75  51:800x600@60  52:720x576@50  53:720x576@50  54:720x576@50  55:720x480@60  56:720x480@60  57:720x480@60  58:720x480@60  59:720x480@60  60:640x480@75  61:640x480@73  62:640x480@67  63:640x480@60  64:640x480@60  65:640x480@60  66:720x400@70  67:1600x900@60  68:1368x768@60 
        Geometry: 3475,77 1920x1080
        Scale: 1
        Rotation: 1
        Overscan: 0
        Vrr: incapable
        RgbRange: Automatic
        HDR: incapable
        Wide Color Gamut: incapable
        ICC profile: none
        Color profile source: sRGB
        Color power preference: prefer efficiency and performance
        Brightness control: supported, set to 100% and dimming to 100%
        DDC/CI: allowed
        Color resolution: automatic (10), range: [8; 16] bits per color
        Allow EDR: unsupported
```

The screen that stays on is the last one, HDMI-A-1
Comment 3 Nate Graham 2025-06-25 22:42:15 UTC
Thanks!
Comment 4 Zamundaaa 2025-06-27 15:25:39 UTC
Please attach the output of
> kscreen-doctor --dpms show
while the screen is supposed to be off.

> sleep 40; kscreen-doctor --dpms show
with a configured display timeout of 30s should do the trick

The output of drm_info while it's on, and while it's supposed to be off might also be useful
Comment 5 Reboot 2025-06-27 16:22:06 UTC
Here's the output with a delay set to 30 seconds:

> % sleep 40; kscreen-doctor --dpms show
> dpms mode for screen DP-2: off
> dpms mode for screen DP-1: off
> dpms mode for screen HDMI-A-1: off

Here's the output while the session is locked, with the delay set to 20 seconds:

> % sleep 40; kscreen-doctor --dpms show
> dpms mode for screen DP-2: off
> dpms mode for screen DP-1: off
> dpms mode for screen HDMI-A-1: on

Oddly enough, now the one problematic screen appears to turn off, but then turn back on.

I'll attach the drm_info outputs as files as they're really long
Comment 6 Reboot 2025-06-27 16:22:51 UTC
Created attachment 182735 [details]
drm_info when every screen is on
Comment 7 Reboot 2025-06-27 16:25:06 UTC
Created attachment 182736 [details]
drm_info when the screens are supposed to be off but one isn't

> sleep 40; drm_info > drm_info-supposed_to_be_off.txt
Comment 8 Reboot 2025-06-27 16:25:53 UTC
Created attachment 182737 [details]
drm_info when the screens are supposed to be off but one isn't (screen locked version)

> sleep 40; drm_info > drm_info-supposed_to_be_off_locked.txt
Comment 9 Zamundaaa 2025-07-03 16:23:28 UTC
Alright, that at least rules out a driver bug - if KWin knows the output isn't off, then either powerdevil isn't asking the output to be turned off, or KWin fails to do it somehow.

(In reply to Reboot from comment #5)
> Oddly enough, now the one problematic screen appears to turn off, but then
> turn back on.
That might be fixed with https://invent.kde.org/plasma/kwin/-/merge_requests/7868 then. If you could test the MR (or the patch applied on top of 6.4), that would be great, if not, we can wait for 6.4.3.
Comment 10 Bug Janitor Service 2025-07-18 03:47:10 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Reboot 2025-07-18 13:23:12 UTC
Pleased to report I can no longer reproduce this issue on 6.4.3 :)