Bug 513348 - Some screen do not reactivate after sleep mode
Summary: Some screen do not reactivate after sleep mode
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Power management & brightness (other bugs)
Version First Reported In: 6.5.4
Platform: openSUSE Linux
: NOR major
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-14 09:27 UTC by Pascal COMBES
Modified: 2025-12-24 15:19 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal COMBES 2025-12-14 09:27:49 UTC
SUMMARY
After monitors enter sleeping mode (as defined in energy management), they sometimes do not wake up.

STEPS TO REPRODUCE
1. Set shutdown screen timer to 1min when screen is locked (to shut down the screens faster)
2. Lock the screens
3. Wait until the screens shut down (turn black), external monitor reports "no signal available"
4. Login (the screens blink, but the issue can happen when both are finished blinking)

OBSERVED RESULT
This does not occur every time:
- One of the screens (not necessarily the one which was logged into) is not updated
- Display configuration shows "No monitor detected" in a red banner
- 1 processor runs at 100%

EXPECTED RESULT
Both screens are updated

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20251211
Kernel Version: 6.18.0-2-default (64-bit)
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1
Graphics Platform: Wayland
Processors: 16 × 11th Gen Intel® Core™ i7-11800H @ 2.30GHz
Memory: 16 Gio of RAM (15.4 Gio usable)
Graphics Processor: llvmpipe

ADDITIONAL INFORMATION
To restore the screens, the only way I found, is to use a custom tool I made so that I can shutdown manually a monitor using libKScreen (https://github.com/pasccom/ShutdownMonitor). The tool is no running when I have the issue in the first place.
Comment 1 Pascal COMBES 2025-12-16 20:52:54 UTC
Some further information from journalctl (after recovery using the method described in the previous message):
```
déc. 16 21:21:07 kernel: lockdown_is_locked_down: 5 callbacks suppressed
déc. 16 21:21:07 kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
déc. 16 21:21:07 kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
déc. 16 21:21:07 Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
déc. 16 21:21:07 Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
déc. 16 21:21:07 kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
déc. 16 21:21:07 kscreenlocker_greet[8880]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/lockscreen/MediaControls.qml:31:13: QML Image: Blocked request.
déc. 16 21:21:07 kscreenlocker_greet[8880]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/lockscreen/MediaControls.qml:31:13: QML Image: Blocked request.
déc. 16 21:21:44 kwin_wayland_wrapper[8880]: warning: queue "mesa egl surface queue" 0x55dedb8f5ea0 destroyed while proxies still attached:
déc. 16 21:21:44 kwin_wayland_wrapper[8880]:   wp_presentation#40 still attached
déc. 16 21:21:44 kscreenlocker_greet[8880]: Could not create EGL surface (EGL error 0x3000)
déc. 16 21:21:44 kwin_wayland_wrapper[8880]: warning: queue "mesa egl surface queue" 0x7fcef4e3ffc0 destroyed while proxies still attached:
déc. 16 21:21:44 kwin_wayland_wrapper[8880]:   wp_presentation#40 still attached
déc. 16 21:21:44 kscreenlocker_greet[8880]: Could not create EGL surface (EGL error 0x3000)
déc. 16 21:21:44 kscreenlocker_greet[8880]: Failed to write to the pipe: Mauvais descripteur de fichier.
déc. 16 21:30:29 kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
déc. 16 21:30:29 kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
déc. 16 21:30:29 kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
déc. 16 21:30:29 kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
déc. 16 21:30:29 kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
déc. 16 21:30:29 kscreenlocker_greet[9306]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/lockscreen/MediaControls.qml:31:13: QML Image: Blocked request.
déc. 16 21:30:29 kscreenlocker_greet[9306]: file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/lockscreen/MediaControls.qml:31:13: QML Image: Blocked request.
déc. 16 21:41:58 kwin_wayland[2553]: Failed to find a working output layer configuration! Enabled layers:
déc. 16 21:41:58 kwin_wayland[2553]: src QRectF(0,0 1920x1080) -> dst QRect(0,0 1920x1080)
déc. 16 21:41:58 kwin_wayland[2553]: Atomic modeset test failed! Argument invalide
déc. 16 21:41:58 kwin_wayland[2553]: Atomic modeset test failed! Argument invalide
déc. 16 21:41:58 kwin_wayland[2553]: Atomic modeset test failed! Argument invalide
déc. 16 21:42:00 kwin_wayland[2553]: drmPrimeFDToHandle() failed
déc. 16 21:42:00 kwin_wayland[2553]: Failed to create framebuffer: Argument invalide
déc. 16 21:42:00 kwin_wayland[2553]: Rendering a layer failed!
déc. 16 21:42:00 kwin_wayland[2553]: Failed to find a working output layer configuration! Enabled layers:
déc. 16 21:42:00 kwin_wayland[2553]: src QRectF(0,0 1920x1080) -> dst QRect(0,0 1920x1080)
déc. 16 21:42:00 kwin_wayland[2553]: drmPrimeFDToHandle() failed
[...]
déc. 16 21:42:26 firefox[3281]: [Parent 3281, Main Thread] WARNING: Couldn't map window 0x7f75cfbe9ae0 as subsurface because its parent is not mapped.: 'glib warning', file /home/abuild/rpmbuild/BUILD/MozillaFirefox-146.0-build/firefox-146.0/toolkit/xre/>
déc. 16 21:42:26 firefox[3281]: Couldn't map window 0x7f75cfbe9ae0 as subsurface because its parent is not mapped.
déc. 16 21:42:26 systemd[2506]: Started dbus-:1.2-org.kde.KSplash@2.service.
déc. 16 21:42:28 kwin_wayland[2553]: Failed to create framebuffer: Argument invalide
déc. 16 21:42:28 kwin_wayland[2553]: Rendering a layer failed!
déc. 16 21:42:28 kwin_wayland[2553]: Failed to find a working output layer configuration! Enabled layers:
déc. 16 21:42:28 kwin_wayland[2553]: src QRectF(0,0 1920x1080) -> dst QRect(0,0 1920x1080)
déc. 16 21:42:29 firefox[3281]: [Parent 3281, Main Thread] WARNING: Couldn't map window 0x7f75cfbe9ae0 as subsurface because its parent is not mapped.: 'glib warning', file /home/abuild/rpmbuild/BUILD/MozillaFirefox-146.0-build/firefox-146.0/toolkit/xre/>
déc. 16 21:42:29 firefox[3281]: [Parent 3281, Main Thread] WARNING: Couldn't map window 0x7f75cfbe9ae0 as subsurface because its parent is not mapped.: 'glib warning', file /home/abuild/rpmbuild/BUILD/MozillaFirefox-146.0-build/firefox-146.0/toolkit/xre/>
déc. 16 21:42:29 firefox[3281]: Couldn't map window 0x7f75cfbe9ae0 as subsurface because its parent is not mapped.
déc. 16 21:42:29 firefox[3281]: Couldn't map window 0x7f75cfbe9ae0 as subsurface because its parent is not mapped.
déc. 16 21:42:29 plasmashell[2811]: The backend got an unknown wallpaper provider type. The wallpaper will now fall back to the default. Please check your wallpaper configuration!
```
The [...] replaces thousands of blocks of preceeding lines repeated over and over again.