Panel disappears when the monitor wakes up from sleep (off) state

The panel (bar) is not displayed when the monitor is woken up after being turned off earlier by the system (power saving) or by the keyboard. To restore the correct display it is necessary to restart the Plasma environment (plasmashell --replace) or a full system reboot.

Physically turning off the monitor (with the monitor button) does not cause problems.

Operating System: Kubuntu 24.10
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.6.2
Kernel Version: 6.11.0-9-generic (64-bit)
Graphics Platform: Wayland
Processors: 12 × 11th Gen Intel® Core™ i5-11600 @ 2.80GHz
Memory: 31.2 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7D18
System Version: 1.0

Let’s run a test, cause this to happen again and before you do anything else rightclick the desktop and chose “Enter Edit Mode”. See if your panel shows up. Plasma 6.0 and above has a issue with panels not always showing or only partially showing after a reboot or suspend.

I just discovered that when I turn off the screen with the keyboard button, I have a black screen with the cursor. The previously described phenomenon occurred after turning off the screen for a long time (an hour+), now a few minutes.

I checked again. Turning off the screen for a while leads to a black screen. It does not display the menu when you click the right button.

Now I will turn off for a longer period of time and see if I can carry out this experiment.

An hour has passed. Black screen. No menu when right mouse button is pressed. The login screen works normally. Previously there was wallpaper, now there is a black screen. I don’t know what has changed.

I executed in the terminal:

killall plasmashell
plasmashell

I turned off the screen with the button on the keyboard and here is the result:

plasmashell
KPackageStructure of KPluginMetaData(pluginId:"org.kde.kupapplet", fileName: "/usr/share/plasma/plasmoids/org.kde.kupapplet/metadata.json") does not match requested format "Plasma/Applet"
kf.plasma.quick: Applet preload policy set to 1
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:195:25: QML FolderViewDropArea (parent or ancestor of QQuickLayoutAttached): Binding loop detected for property "minimumWidth"
qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml"
kf.kio.core: Malformed JSON protocol file for protocol: "trash" , number of the ExtraNames fields should match the number of ExtraTypes fields
Toolbox not loading, toolbox package is either invalid or disabled.
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
kf.kio.core: Malformed JSON protocol file for protocol: "trash" , number of the ExtraNames fields should match the number of ExtraTypes fields
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:162:21: QML KSortFilterProxyModel: Binding loop detected for property "sourceModel"
file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/main.qml:162:21: QML KSortFilterProxyModel: Binding loop detected for property "sourceModel"
qt.qml.typeresolution.cycle: Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/ThumbnailStrip.qml"
qt.qml.typeresolution.cycle: Cyclic dependency detected between "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml" and "file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationHeader.qml"
qt.dbus.integration: Could not connect "org.cups.cupsd.Notifier" to PrinterFinishingsChanged(QString, QString, QString, uint, QString, bool) : 
kameleon supported false
kameleon enabled true
qml: SystemTray ItemLoader: Invalid state, cannot determine source!
file:///usr/share/plasma/plasmoids/org.kde.plasma.kicker/contents/ui/main.qml:45: TypeError: Value is null and could not be converted to an object
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
error getting max screen brightness via dbus: QDBusError("org.freedesktop.DBus.Error.UnknownObject", "No such object path '/org/kde/Solid/PowerManagement/Actions/BrightnessControl'")
error getting max keyboard brightness via dbus QDBusError("org.freedesktop.DBus.Error.UnknownObject", "No such object path '/org/kde/Solid/PowerManagement/Actions/KeyboardBrightnessControl'")
Process "nordvpn status" already running. Pid: 1464607
kf5idletime_wayland: This plugin does not support polling idle time
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
org.kde.pulseaudio: No object for name "alsa_output.pci-0000_00_1f.3.analog-stereo.monitor"
file:///usr/share/plasma/plasmoids/org.kde.plasma.keyboardindicator/contents/ui/main.qml:61:13: Unable to assign [undefined] to bool
org.kde.pulseaudio: No object for name "alsa_output.pci-0000_00_1f.3.analog-stereo"
org.kde.pulseaudio: No object for name "alsa_output.pci-0000_00_1f.3.analog-stereo.monitor"
file:///usr/share/plasma/plasmoids/org.kde.plasma.volume/contents/ui/main.qml:76: TypeError: Cannot read property 'pulseProperties' of undefined
org.kde.pulseaudio: No object for name "@DEFAULT_SINK@"
org.kde.pulseaudio: No object for name "@DEFAULT_SOURCE@"
org.kde.pulseaudio: No object for name "@DEFAULT_SINK@"
org.kde.pulseaudio: No object for name "@DEFAULT_SOURCE@"
org.kde.pulseaudio: No object for name "alsa_input.pci-0000_00_1f.3.analog-stereo"
org.kde.pulseaudio: No object for name "alsa_output.pci-0000_00_1f.3.analog-stereo.monitor"
org.kde.pulseaudio: No object for name "alsa_output.pci-0000_00_1f.3.analog-stereo.monitor"
file:///usr/share/plasma/plasmoids/org.kde.plasma.volume/contents/ui/main.qml:76: TypeError: Cannot read property 'pulseProperties' of undefined
org.kde.pulseaudio: No object for name "alsa_output.pci-0000_00_1f.3.analog-stereo"
org.kde.pulseaudio: No object for name "alsa_output.pci-0000_00_1f.3.analog-stereo.monitor"
file:///usr/share/plasma/plasmoids/org.kde.plasma.volume/contents/ui/main.qml:76: TypeError: Cannot read property 'pulseProperties' of undefined
qt.qpa.wayland: Creating a fake screen in order for Qt not to crash
kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
The cached device pixel ratio value was stale on window expose.  Please file a QTBUG which explains how to reproduce.
kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
org.kde.pulseaudio: No object for name "alsa_output.pci-0000_00_1f.3.analog-stereo"
org.kde.pulseaudio: No object for name "alsa_output.pci-0000_00_1f.3.analog-stereo.monitor"
xdg_surface#193: error -1: invalid window geometry size (0x0)
The Wayland connection experienced a fatal error: Błąd protokołu

I confirm it reappears after entering edit mode. This has been happening for a while. I’m using Wayland, I don’t know if that could be the culprit?

I’m having the same issue. Is there some information I could provide to help track the issue down or have a proper bug report filed?

Hi! It could be related to what @anonnetuser mentioned above, but it might also be worth taking a look at the following bug report, as it sounds like it could be the same situation? 497806 – Turning off "Lock after waking from sleep" and closing lid to sleep causes black desktop and missing panels

Hello there. I’m having the very same issue. For me tt is happening only with the usb-connected external monitor. After waking up from sleep or just unlocking locked desktop. Unplugging and connecting the monitor again fixes the issue instantly. Happy to help resolve the issue, let me know how can I help.

Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Kernel Version: 6.12.11-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 PRO 5650U with Radeon Graphics
Memory: 30.2 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 20XLS0M20M
System Version: ThinkPad T14 Gen 2a

I have the same problem.

My laptop has an external monitor connected to it that I use all the time. After the monitor wakes up from sleep mode due to long inactivity, I often see that the panel and desktop are missing, but all the application windows are there and I can switch between them.

At the same time, in the terminal where plasmashell is running, I see new entries

kde.plasmashell: requesting unexisting screen available rect -1
kde.plasmashell: requesting unexisting screen available rect -1
kde.plasmashell: requesting unexisting screen available rect -1
kde.plasmashell: requesting unexisting screen available rect -1

To get everything back, I either reconnect the HDMI cable or run plasmashell --replace.

I have the exact same issue for months now.
my laptop is connected to an external monitor via usb-c and the output is set to the external monitor only.
It’s only my hunch but I feel like it could be related to the monitor waking up with a slight delay and isn’t ready when the system thinks it should be.

logs:

qt.qpa.wayland: There are no outputs - creating placeholder screen
kde.plasmashell: requesting unexisting screen available rect -1
kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
kf.plasma.quick: Exposed with no visual parent. Window positioning broken.
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml:130: TypeError: Cannot read property 'screenGeometry' of null
file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml:260: TypeError: Cannot read property 'plasmoid' of undefined
QThreadStorage: Thread 0x55dc8514cde0 exited after QThreadStorage 8 destroyed

System parameters:

Operating System: Fedora Linux 42
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2
Kernel Version: 6.14.2-300.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 9 6900HS with Radeon Graphics
Memory: 14.8 GiB of RAM
Graphics Processor 1: AMD Radeon RX 6700S
Graphics Processor 2: AMD Radeon 680M
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: ROG Zephyrus G14 GA402RJ_GA402RJ
System Version: 1.0

Please help because this is driving me nuts. every time I restart plasma shell for this, all the entries in the panel are shuffled.

Update: I found a correlation between this issue and the active GPU selection.

I’m on an all-AMD laptop. There are 3 modes for GPU selection (using supergfxctl):

  • Integrated - makes only the built-in monitor work, no external monitor.
  • dGPU (discreet GPU) - when this issue happens.
  • Hybrid - external monitor works but the default GPU is the iGPU. the issue doesn’t happen in this mode (or super rarely)

Hello

I have the same setup as leonbur and user17: External screen connected via USB.

After waking, the panel and desktop background are missing. I solve the issue by disconnecting the external screen; as soon as the laptop screen turns on, everything works fine again. I have not yet tested restarting plasmashell.

I’m also running Wayland.

This issue seems to occur on at least AMD and Intel graphics cards, so it’s probably not a graphics driver issue.

Unfortunately, the bug was closed due to inactivity. Can it be reopened?

Noting similar issue here on FreeBSD/plasma6/X11. After using the monitor toggle button to switch from the HDMI to another monitor connection (on DisplayPort), when I return, the panel has disappeared with the same error as reported

requesting unexisting screen available rect -1

I cannot right click to edit the panel. It returns with a restart of plasmashell. This was not happening on plasma5/FreeBSD 14.2/X11.

Operating System: FreeBSD 14.3
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.3
Kernel Version: 14.3-RELEASE-p5 (64-bit)
Graphics Platform: X11
Graphics Processor: NVIDIA GeForce GT 1030/PCIe/SSE2

I have a similar issue and have not been able to get the panel back. I restarted plasmashell, I restarted the PC, I turned it off completely and turned it on again, every time the panel is gone. I use a desktop PC with two monitors and wayland. The issue occured first day before yesterday and is since then persistent. First the PC started properly after a system upgrade (Manjaro Testing), then it went to sleep (standby mode) and after waking it up the panel (control panel with app menu, activity panel, system tray) was gone. I make heavy use of virtual desktops, but I can’t now as I don’t have a virtual desktop switcher accessible.

In editing mode I see the panel, but I can’t work in editing mode, of course. As soon as the editing mode is off, the panel is gone (or invisible, but a right click on the area where the panel is supposed to be does not reveal a matching context menu, but only one for the regular desktop - I tried several locations for this).

I do not use autohide or any of that stuff, I never had any issues of that sort so far. Hence I guess it is wayland, since I switched to it only a few months ago.

I can confirm this issue and want to add some details that may help narrowing it down.

Observed behavior:

  • Panels (taskbar / window list) are present after login.

  • After several hours of uptime, they suddenly disappear.

  • No logout, no reboot, no crash dialog.

  • plasmashell is still running.

  • Sometimes panels come back on their own, sometimes not.

  • Running plasmashell --replace immediately restores all panels.

Important detail:
This does not happen right after login. It only occurs after the system has been running for some time.

Trigger seems to be monitor power events (DPMS):

  • Monitor turning off due to power saving

  • Monitor waking up

  • Possibly short signal loss on DisplayPort

After such events, the panel containment seems to get lost internally, while plasmashell itself keeps running.

Environment:

  • openSUSE Tumbleweed

  • KDE Plasma (current Tumbleweed version)

  • X11 session (not Wayland)

  • Multi-monitor setup

  • Panels with task manager / system tray

What it is NOT:

  • Not a broken plasma-org.kde.plasma.desktop-appletsrc

  • Not a startup/login issue

  • Not related to logout or shutdown

  • Panels are fine initially and only disappear at runtime

Workaround (not a fix):


plasmashell --replace

restores panels every time.

This looks like a runtime containment loss triggered by output changes (outputsChanged) under X11/DPMS, not a persistent configuration problem.

Hope this helps to pinpoint the cause. Let me know if additional logging or testing would be useful.

Getting same behavior here as well (also CachyOS).

Doesn’t matter if my monitor goes to sleep or I toggle the KVM switch to go between my desktop and work laptop. Seems anything related to the monitor ‘disconnecting’ causes the panel loss.

I have to keep a terminal session open and ready to restart plasma to get things back as it doesn’t come back on it’s own.

systemctl restart --user plasma-plasmashell

Okay so spent some time fiddling with this and did manage to come up with a bit of a stopgap to address this more seamlessly.

worked by combining a udev rule and a script to fire off when there’s a monitor connect/disconnect event.

replace with your username.

This is because the restart command needs to run as your user and not sudo/root

Restart script located in /opt/

#!/bin/sh
sudo systemctl --machine=<usernamehere>@.host --user restart plasma-plasmashell

next in /etc/udev/rules.d create the following as a rule (i did 95-monitor-hotplug.rules)

KERNEL=="card1", SUBSYSTEM=="drm", RUN+="/opt/restart_plasma.sh"

then either reboot or run

sudo udevadm control --reload-rules

now when the monitor disconnects/reconnects it’ll automatically call to restart plasma and get your toolbar/background back.

I’m also reporting back again - the issue persists for me. Just upgraded to Plasma 6.7 today and had it happen again.

I’m on a desktop with 3 different monitors connected. The one that always experiences the no wallpaper/no panel issue is the primary one, the other 2 have everything wake up and display properly. Simply shutting the primary monitor off via the button on the monitor and switching it on again resolves the issue.

This time I’ll provide some more debugging data:

journalctl, right after waking up from a ~2-3 hour sleep

Jun 19 23:17:55 Swimlanes org_kde_powerdevil[1541]: [ 43868][39105.628574] Udev event detected
Jun 19 23:17:55 Swimlanes org_kde_powerdevil[1541]: [ 43868][39105.628608] Udev_Event_Detail
Jun 19 23:17:55 Swimlanes org_kde_powerdevil[1541]: [ 43868][39105.628608]    prop_subsystem:  drm
Jun 19 23:17:55 Swimlanes org_kde_powerdevil[1541]: [ 43868][39105.628608]    prop_action:     change
Jun 19 23:17:55 Swimlanes org_kde_powerdevil[1541]: [ 43868][39105.628608]    prop_connector:  (null)
Jun 19 23:17:55 Swimlanes org_kde_powerdevil[1541]: [ 43868][39105.628608]    prop_devname:    /dev/dri/card1
Jun 19 23:17:55 Swimlanes org_kde_powerdevil[1541]: [ 43868][39105.628608]    prop_devmode:    (null)
Jun 19 23:17:55 Swimlanes org_kde_powerdevil[1541]: [ 43868][39105.628608]    prop_hotplug:    1
Jun 19 23:17:55 Swimlanes org_kde_powerdevil[1541]: [ 43868][39105.628608]    prop_major:      226
Jun 19 23:17:55 Swimlanes org_kde_powerdevil[1541]: [ 43868][39105.628608]    prop_minor:      1
Jun 19 23:17:55 Swimlanes org_kde_powerdevil[1541]: [ 43868][39105.628608]    sysname:         card1
Jun 19 23:17:55 Swimlanes org_kde_powerdevil[1541]: [ 43868][39105.628608]    syspath:         /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
Jun 19 23:17:55 Swimlanes org_kde_powerdevil[1541]: [ 43868][39105.628608]    attr_name:       (null)
Jun 19 23:17:55 Swimlanes org_kde_powerdevil[1541]: [ 43868][39105.628630] (dw_watch_display_connections) Time since last return from sleep = 39105598791951 ns = 39105599 ms
Jun 19 23:17:55 Swimlanes org_kde_powerdevil[1541]: [ 43868][39105.628633] (recently_resumed_from_sleep_by_clocktime) Resume from sleep detected by BOOTTIME/MONOTONIC
Jun 19 23:17:55 Swimlanes org_kde_powerdevil[1541]: [ 43868][39105.628635] (dw_watch_display_connections) Recently resumed from sleep detected
Jun 19 23:17:55 Swimlanes org_kde_powerdevil[1541]: [ 43868][39105.628637] (dw_watch_display_connections) Pausing for 1000 millisec
Jun 19 23:17:55 Swimlanes kwin_wayland[1383]: Atomic modeset test failed! Invalid argument
Jun 19 23:17:55 Swimlanes kwin_wayland[1383]: Atomic modeset test failed! Invalid argument
Jun 19 23:17:55 Swimlanes kwin_wayland[1383]: Atomic modeset test failed! Invalid argument
Jun 19 23:17:55 Swimlanes kwin_wayland[1383]: Atomic modeset test failed! Invalid argument
Jun 19 23:17:55 Swimlanes kwin_wayland[1383]: 0x505: GL_OUT_OF_MEMORY error generated. Failed to allocate memory for texture.
Jun 19 23:17:55 Swimlanes kwin_wayland[1383]: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
Jun 19 23:17:55 Swimlanes kwin_wayland[1383]: Atomic modeset test failed! Invalid argument
Jun 19 23:17:55 Swimlanes kwin_wayland[1383]: Atomic modeset test failed! Invalid argument
Jun 19 23:17:57 Swimlanes org_kde_powerdevil[1541]: [ 43868][39107.898882] Udev event detected
Jun 19 23:17:57 Swimlanes org_kde_powerdevil[1541]: [ 43868][39107.898906] Udev_Event_Detail
Jun 19 23:17:57 Swimlanes org_kde_powerdevil[1541]: [ 43868][39107.898906]    prop_subsystem:  drm
Jun 19 23:17:57 Swimlanes org_kde_powerdevil[1541]: [ 43868][39107.898906]    prop_action:     change
Jun 19 23:17:57 Swimlanes org_kde_powerdevil[1541]: [ 43868][39107.898906]    prop_connector:  (null)
Jun 19 23:17:57 Swimlanes org_kde_powerdevil[1541]: [ 43868][39107.898906]    prop_devname:    /dev/dri/card1
Jun 19 23:17:57 Swimlanes org_kde_powerdevil[1541]: [ 43868][39107.898906]    prop_devmode:    (null)
Jun 19 23:17:57 Swimlanes org_kde_powerdevil[1541]: [ 43868][39107.898906]    prop_hotplug:    1
Jun 19 23:17:57 Swimlanes org_kde_powerdevil[1541]: [ 43868][39107.898906]    prop_major:      226
Jun 19 23:17:57 Swimlanes org_kde_powerdevil[1541]: [ 43868][39107.898906]    prop_minor:      1
Jun 19 23:17:57 Swimlanes org_kde_powerdevil[1541]: [ 43868][39107.898906]    sysname:         card1
Jun 19 23:17:57 Swimlanes org_kde_powerdevil[1541]: [ 43868][39107.898906]    syspath:         /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
Jun 19 23:17:57 Swimlanes org_kde_powerdevil[1541]: [ 43868][39107.898906]    attr_name:       (null)
Jun 19 23:17:57 Swimlanes org_kde_powerdevil[1541]: [ 43868][39107.898922] (dw_watch_display_connections) Time since last return from sleep = 39107869083872 ns = 39107869 ms
Jun 19 23:17:57 Swimlanes org_kde_powerdevil[1541]: [ 43868][39107.898923] (recently_resumed_from_sleep_by_clocktime) Called within 5 sec of reset
Jun 19 23:17:57 Swimlanes org_kde_powerdevil[1541]: [ 43868][39107.898925] (dw_watch_display_connections) Recently resumed from sleep detected
Jun 19 23:17:57 Swimlanes org_kde_powerdevil[1541]: [ 43868][39107.898926] (dw_watch_display_connections) Pausing for 1000 millisec
Jun 19 23:17:57 Swimlanes kwin_wayland[1383]: Atomic modeset test failed! Invalid argument
Jun 19 23:17:57 Swimlanes kwin_wayland[1383]: Atomic modeset test failed! Invalid argument
Jun 19 23:17:57 Swimlanes kwin_wayland[1383]: KWin::LayerShellV1Window doesn't support setting maximized state
Jun 19 23:17:57 Swimlanes kwin_wayland[1383]: KWin::LayerShellV1Window doesn't support setting fullscreen state
Jun 19 23:17:57 Swimlanes kwin_wayland[1383]: KWin::LayerShellV1Window doesn't support setting maximized state
Jun 19 23:17:57 Swimlanes kwin_wayland[1383]: KWin::LayerShellV1Window doesn't support setting fullscreen state
Jun 19 23:17:58 Swimlanes kwin_wayland[1383]: Atomic modeset test failed! Invalid argument
Jun 19 23:17:58 Swimlanes kwin_wayland[1383]: Atomic modeset test failed! Invalid argument
Jun 19 23:17:58 Swimlanes kwin_wayland[1383]: 0x505: GL_OUT_OF_MEMORY error generated. Failed to allocate memory for texture.
Jun 19 23:17:58 Swimlanes kwin_wayland[1383]: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
Jun 19 23:17:58 Swimlanes kwin_wayland[1383]: Atomic modeset test failed! Invalid argument
Jun 19 23:17:58 Swimlanes kwin_wayland[1383]: Atomic modeset test failed! Invalid argument
Jun 19 23:17:59 Swimlanes org_kde_powerdevil[1541]: [ 43868][39109.714497] [ 43868]Locked bus /dev/i2c-15 after 2 tries
Jun 19 23:17:59 Swimlanes org_kde_powerdevil[1541]: [ 43868][39109.714508] Traced function stack 0x7fd3c8000880 for current thread [ 43868]
Jun 19 23:17:59 Swimlanes org_kde_powerdevil[1541]: [ 43868][39109.714513]    dw_watch_display_connections
Jun 19 23:17:59 Swimlanes org_kde_powerdevil[1541]: [ 43868][39109.714514]    invoke_process_screen_change_event
Jun 19 23:17:59 Swimlanes org_kde_powerdevil[1541]: [ 43868][39109.714515]    process_screen_change_event
Jun 19 23:17:59 Swimlanes org_kde_powerdevil[1541]: [ 43868][39109.714516]    i2c_edid_exists
Jun 19 23:17:59 Swimlanes org_kde_powerdevil[1541]: [ 43868][39109.714518]    i2c_open_bus
Jun 19 23:17:59 Swimlanes org_kde_powerdevil[1541]: [ 43868][39109.714519]    lock_display_by_dpath
Jun 19 23:17:59 Swimlanes org_kde_powerdevil[1541]: [ 43868][39109.714520]    lock_display
Jun 19 23:17:59 Swimlanes org_kde_powerdevil[1541]: [ 43868][39109.804171] Udev event detected
Jun 19 23:17:59 Swimlanes org_kde_powerdevil[1541]: [ 43868][39109.804193] Udev_Event_Detail
Jun 19 23:17:59 Swimlanes org_kde_powerdevil[1541]: [ 43868][39109.804193]    prop_subsystem:  drm
Jun 19 23:17:59 Swimlanes org_kde_powerdevil[1541]: [ 43868][39109.804193]    prop_action:     change
Jun 19 23:17:59 Swimlanes org_kde_powerdevil[1541]: [ 43868][39109.804193]    prop_connector:  (null)
Jun 19 23:17:59 Swimlanes org_kde_powerdevil[1541]: [ 43868][39109.804193]    prop_devname:    /dev/dri/card1
Jun 19 23:17:59 Swimlanes org_kde_powerdevil[1541]: [ 43868][39109.804193]    prop_devmode:    (null)
Jun 19 23:17:59 Swimlanes org_kde_powerdevil[1541]: [ 43868][39109.804193]    prop_hotplug:    1
Jun 19 23:17:59 Swimlanes org_kde_powerdevil[1541]: [ 43868][39109.804193]    prop_major:      226
Jun 19 23:17:59 Swimlanes org_kde_powerdevil[1541]: [ 43868][39109.804193]    prop_minor:      1
Jun 19 23:17:59 Swimlanes org_kde_powerdevil[1541]: [ 43868][39109.804193]    sysname:         card1
Jun 19 23:17:59 Swimlanes org_kde_powerdevil[1541]: [ 43868][39109.804193]    syspath:         /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
Jun 19 23:17:59 Swimlanes org_kde_powerdevil[1541]: [ 43868][39109.804193]    attr_name:       (null)
Jun 19 23:17:59 Swimlanes org_kde_powerdevil[1541]: [ 43868][39109.804209] (dw_watch_display_connections) Time since last return from sleep = 39109774370826 ns = 39109774 ms
Jun 19 23:17:59 Swimlanes org_kde_powerdevil[1541]: [ 43868][39109.804210] (recently_resumed_from_sleep_by_clocktime) Called within 5 sec of reset
Jun 19 23:17:59 Swimlanes org_kde_powerdevil[1541]: [ 43868][39109.804212] (dw_watch_display_connections) Recently resumed from sleep detected
Jun 19 23:17:59 Swimlanes org_kde_powerdevil[1541]: [ 43868][39109.804213] (dw_watch_display_connections) Pausing for 1000 millisec
Jun 19 23:18:01 Swimlanes org_kde_powerdevil[1541]: [ 43868][39111.591080] Udev event detected
Jun 19 23:18:01 Swimlanes org_kde_powerdevil[1541]: [ 43868][39111.591123] Udev_Event_Detail
Jun 19 23:18:01 Swimlanes org_kde_powerdevil[1541]: [ 43868][39111.591123]    prop_subsystem:  drm
Jun 19 23:18:01 Swimlanes org_kde_powerdevil[1541]: [ 43868][39111.591123]    prop_action:     change
Jun 19 23:18:01 Swimlanes org_kde_powerdevil[1541]: [ 43868][39111.591123]    prop_connector:  (null)
Jun 19 23:18:01 Swimlanes org_kde_powerdevil[1541]: [ 43868][39111.591123]    prop_devname:    /dev/dri/card1
Jun 19 23:18:01 Swimlanes org_kde_powerdevil[1541]: [ 43868][39111.591123]    prop_devmode:    (null)
Jun 19 23:18:01 Swimlanes org_kde_powerdevil[1541]: [ 43868][39111.591123]    prop_hotplug:    1
Jun 19 23:18:01 Swimlanes org_kde_powerdevil[1541]: [ 43868][39111.591123]    prop_major:      226
Jun 19 23:18:01 Swimlanes org_kde_powerdevil[1541]: [ 43868][39111.591123]    prop_minor:      1
Jun 19 23:18:01 Swimlanes org_kde_powerdevil[1541]: [ 43868][39111.591123]    sysname:         card1
Jun 19 23:18:01 Swimlanes org_kde_powerdevil[1541]: [ 43868][39111.591123]    syspath:         /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
Jun 19 23:18:01 Swimlanes org_kde_powerdevil[1541]: [ 43868][39111.591123]    attr_name:       (null)
Jun 19 23:18:01 Swimlanes org_kde_powerdevil[1541]: [ 43868][39111.591172] (dw_watch_display_connections) Time since last return from sleep = 39111561333244 ns = 39111561 ms
Jun 19 23:18:01 Swimlanes org_kde_powerdevil[1541]: [ 43868][39111.591174] (recently_resumed_from_sleep_by_clocktime) Resume from sleep detected by BOOTTIME/MONOTONIC
Jun 19 23:18:01 Swimlanes org_kde_powerdevil[1541]: [ 43868][39111.591176] (dw_watch_display_connections) Recently resumed from sleep detected
Jun 19 23:18:01 Swimlanes org_kde_powerdevil[1541]: [ 43868][39111.591178] (dw_watch_display_connections) Pausing for 1000 millisec
Jun 19 23:18:03 Swimlanes plasmashell[20297]: Final member StackingOrder is overridden in class QQmlDMAbstractItemModelData. The override won't be used.
Jun 19 23:18:03 Swimlanes plasmashell[20297]: requesting unexisting screen available rect -1
Jun 19 23:18:03 Swimlanes plasmashell[20297]: requesting unexisting screen available rect -1
Jun 19 23:18:03 Swimlanes plasmashell[20297]: requesting unexisting screen available rect -1
Jun 19 23:18:03 Swimlanes systemd[1279]: Started dbus-:1.2-org.kde.KSplash@3.service.

Those two lines stick out to me in particular:

Jun 19 23:17:55 Swimlanes kwin_wayland[1383]: Invalid framebuffer status: "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"

and

Jun 19 23:18:03 Swimlanes plasmashell[20297]: requesting unexisting screen available rect -1

Operating System: CachyOS Linux
KDE Plasma Version: 6.7.0
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1
Kernel Version: 7.0.12-1-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 32 × 13th Gen Intel® Core™ i9-13900K
Memory: 32 GiB of RAM (31,1 GiB usable)
Graphics Processor 1: NVIDIA GeForce RTX 4080
Graphics Processor 2: Intel® Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7D25
System Version: 2.0

The behavior seems similar to this bug (although the original report connects it to laptop lid settings, which I obviously cannot use on a Desktop): https://bugs.kde.org/show_bug.cgi?id=497806

But it has been resolved as “worksforme”…

This bug is super annoying unfortunately

Hit the character limit on the previous post. Here’s one more log:

Here is the journalctl when first pressing the monitor power button to power off and powering on again 5 sec or so later, while the bug is present after waking up (all happening within the following log)

Jun 20 00:21:24 Swimlanes kernel: usb 1-5.4.4: USB disconnect, device number 11
Jun 20 00:21:24 Swimlanes org_kde_powerdevil[1541]: [ 43868][42915.080588] Udev event detected
Jun 20 00:21:24 Swimlanes org_kde_powerdevil[1541]: [ 43868][42915.080622] Udev_Event_Detail
Jun 20 00:21:24 Swimlanes org_kde_powerdevil[1541]: [ 43868][42915.080622]    prop_subsystem:  drm
Jun 20 00:21:24 Swimlanes org_kde_powerdevil[1541]: [ 43868][42915.080622]    prop_action:     change
Jun 20 00:21:24 Swimlanes org_kde_powerdevil[1541]: [ 43868][42915.080622]    prop_connector:  (null)
Jun 20 00:21:24 Swimlanes org_kde_powerdevil[1541]: [ 43868][42915.080622]    prop_devname:    /dev/dri/card1
Jun 20 00:21:24 Swimlanes org_kde_powerdevil[1541]: [ 43868][42915.080622]    prop_devmode:    (null)
Jun 20 00:21:24 Swimlanes org_kde_powerdevil[1541]: [ 43868][42915.080622]    prop_hotplug:    1
Jun 20 00:21:24 Swimlanes org_kde_powerdevil[1541]: [ 43868][42915.080622]    prop_major:      226
Jun 20 00:21:24 Swimlanes org_kde_powerdevil[1541]: [ 43868][42915.080622]    prop_minor:      1
Jun 20 00:21:24 Swimlanes org_kde_powerdevil[1541]: [ 43868][42915.080622]    sysname:         card1
Jun 20 00:21:24 Swimlanes org_kde_powerdevil[1541]: [ 43868][42915.080622]    syspath:         /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
Jun 20 00:21:24 Swimlanes org_kde_powerdevil[1541]: [ 43868][42915.080622]    attr_name:       (null)
Jun 20 00:21:24 Swimlanes org_kde_powerdevil[1541]: [ 43868][42915.080643] (dw_watch_display_connections) Time since last return from sleep = 42915050804620 ns = 42915051 ms
Jun 20 00:21:24 Swimlanes kwin_wayland[1383]: Atomic modeset test failed! Invalid argument
Jun 20 00:21:24 Swimlanes kwin_wayland[1383]: Atomic modeset test failed! Invalid argument
Jun 20 00:21:25 Swimlanes kwin_wayland[1383]: Atomic modeset test failed! Invalid argument
Jun 20 00:21:25 Swimlanes kwin_wayland[1383]: Atomic modeset test failed! Invalid argument
Jun 20 00:21:25 Swimlanes kwin_wayland[1383]: 0x505: GL_OUT_OF_MEMORY error generated. Failed to allocate memory for texture.
Jun 20 00:21:25 Swimlanes kwin_wayland[1383]: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
Jun 20 00:21:25 Swimlanes plasmashell[20297]: requesting unexisting screen available rect -1
Jun 20 00:21:25 Swimlanes plasmashell[20297]: pa_ext_stream_restore_write failed
Jun 20 00:21:25 Swimlanes systemd[1279]: Started dbus-:1.2-org.kde.KSplash@4.service.
Jun 20 00:21:25 Swimlanes plasmashell[20297]: Final member StackingOrder is overridden in class QQmlDMAbstractItemModelData. The override won't be used.
Jun 20 00:21:25 Swimlanes plasmashell[20297]: pa_ext_stream_restore_write failed
Jun 20 00:21:25 Swimlanes plasmashell[20297]: Final member StackingOrder is overridden in class QQmlDMAbstractItemModelData. The override won't be used.
Jun 20 00:21:25 Swimlanes plasmashell[20297]: Final member StackingOrder is overridden in class QQmlDMAbstractItemModelData. The override won't be used.
Jun 20 00:21:25 Swimlanes plasmashell[20297]: Final member StackingOrder is overridden in class QQmlDMAbstractItemModelData. The override won't be used.
Jun 20 00:21:25 Swimlanes plasmashell[20297]: Final member StackingOrder is overridden in class QQmlDMAbstractItemModelData. The override won't be used.
Jun 20 00:21:25 Swimlanes plasmashell[20297]: Final member StackingOrder is overridden in class QQmlDMAbstractItemModelData. The override won't be used.
Jun 20 00:21:25 Swimlanes plasmashell[20297]: Final member StackingOrder is overridden in class QQmlDMAbstractItemModelData. The override won't be used.
Jun 20 00:21:25 Swimlanes plasmashell[20297]: Final member StackingOrder is overridden in class QQmlDMAbstractItemModelData. The override won't be used.
Jun 20 00:21:25 Swimlanes plasmashell[20297]: Final member StackingOrder is overridden in class QQmlDMAbstractItemModelData. The override won't be used.
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: [ 43868] Removing connected display on bus 15
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: Watching for display connection changes, resolved watch mode = Watch_Mode_Udev, poll loop interval = 500 millisec
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]:                                          initial_stabilization_millisec: 0,  stabilization_poll_millisec: 100
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Number of buses:       17
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    All I2C buses:         0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Buses with edid:       13 14 15 16
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Buses with x37 active: 14 15 16
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Display_Ref[1:bus /dev/i2c-13 @0x561f846be180]
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Display_Ref[2:bus /dev/i2c-14 @0x561f846946b0]
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Display_Ref[3:bus /dev/i2c-15 @0x561f846b1420]
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Display_Ref[4:bus /dev/i2c-16 @0x561f84681ad0]
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     ) After buses added or removed:
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Number of buses:       17
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    All I2C buses:         0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Buses with edid:       13 14 16
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Buses with x37 active: 14 16
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     ) After display refs added or marked disconnected:
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Display_Ref[1:bus /dev/i2c-13 @0x561f846be180]
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Display_Ref[2:bus /dev/i2c-14 @0x561f846946b0]
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Display_Ref[Disconnected: 3:bus /dev/i2c-15 @0x561f846b1420]
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Display_Ref[4:bus /dev/i2c-16 @0x561f84681ad0]
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Number of buses:       17
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    All I2C buses:         0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Buses with edid:       13 14 16
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Buses with x37 active: 14 16
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Display_Ref[1:bus /dev/i2c-13 @0x561f846be180]
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: [ 43868][42916.584467] Emitting DDCA_Display_Status_Event[42916.584:  DDCA_EVENT_DISPLAY_DISCONNECTED, card1-DP-4, dref: DDCA_Display_Ref[8], io_path:/dev/i2c-15, ddc working: false]
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Display_Ref[2:bus /dev/i2c-14 @0x561f846946b0]
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Display_Ref[Disconnected: 3:bus /dev/i2c-15 @0x561f846b1420]
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Display_Ref[4:bus /dev/i2c-16 @0x561f84681ad0]
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     ) After buses added or removed:
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Number of buses:       17
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    All I2C buses:         0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Buses with edid:       13 14 15 16
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Buses with x37 active: 14 15 16
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     ) After display refs added or marked disconnected:
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Display_Ref[1:bus /dev/i2c-13 @0x561f846be180]
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Display_Ref[2:bus /dev/i2c-14 @0x561f846946b0]
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Display_Ref[Disconnected: 3:bus /dev/i2c-15 @0x561f846b1420]
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Display_Ref[4:bus /dev/i2c-16 @0x561f84681ad0]
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Display_Ref[5:bus /dev/i2c-15 @0x7fd3c8023d00]
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: Watching for display connection changes, resolved watch mode = Watch_Mode_Udev, poll loop interval = 500 millisec
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]:                                          initial_stabilization_millisec: 0,  stabilization_poll_millisec: 100
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Number of buses:       17
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    All I2C buses:         0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Buses with edid:       13 14 15 16
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Buses with x37 active: 14 15 16
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Display_Ref[6:bus /dev/i2c-13 @0x7fd3f8029c90]
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Display_Ref[7:bus /dev/i2c-14 @0x7fd3f802b500]
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Display_Ref[8:bus /dev/i2c-15 @0x7fd3f8024cf0]
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     )    Display_Ref[9:bus /dev/i2c-16 @0x561f846be270]
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: [ 43868][42916.584472] Starting 1 callback threads
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: (dw_hotplug_change_handler     ) After buses added or removed:
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: [ 43868][42916.584509] libddcutil callback thread 0x7fd3c801aaf0 started
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: [ 43868][42916.584512] Started 1 event callback thread(s)
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: [ 65690][42916.584664] Invoking callback function 0x7fd408faa6a0 for event DDCA_Display_Status_Event[42916.584:  DDCA_EVENT_DISPLAY_DISCONNECTED, card1-DP-4, dref: DDCA_Display_Ref[8], io_path:/dev/i2c-15, ddc working: false] in this thread [ 65690]
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: [ 43868][42916.584682] Udev event detected
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: [ 65690][42916.584690] Callback function 0x7fd408faa6a0 for event DDCA_Display_Status_Event[42916.584:  DDCA_EVENT_DISPLAY_DISCONNECTED, card1-DP-4, dref: DDCA_Display_Ref[8], io_path:/dev/i2c-15, ddc working: false] complete
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: [ 43868][42916.584713] Udev_Event_Detail
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: [ 43868][42916.584713]    prop_subsystem:  drm
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: [ 43868][42916.584713]    prop_action:     change
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: [ 43868][42916.584713]    prop_connector:  (null)
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: [ 43868][42916.584713]    prop_devname:    /dev/dri/card1
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: [ 43868][42916.584713]    prop_devmode:    (null)
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: [ 43868][42916.584713]    prop_hotplug:    1
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: [ 43868][42916.584713]    prop_major:      226
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: [ 43868][42916.584713]    prop_minor:      1
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: [ 43868][42916.584713]    sysname:         card1
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: [ 43868][42916.584713]    syspath:         /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: [ 43868][42916.584713]    attr_name:       (null)
Jun 20 00:21:26 Swimlanes org_kde_powerdevil[1541]: [ 43868][42916.584734] (dw_watch_display_connections) Time since last return from sleep = 42916554896262 ns = 42916555 ms
Jun 20 00:21:33 Swimlanes org_kde_powerdevil[1541]: [ 43868][42924.234502] Udev event detected
Jun 20 00:21:33 Swimlanes org_kde_powerdevil[1541]: [ 43868][42924.234539] Udev_Event_Detail
Jun 20 00:21:33 Swimlanes org_kde_powerdevil[1541]: [ 43868][42924.234539]    prop_subsystem:  drm
Jun 20 00:21:33 Swimlanes org_kde_powerdevil[1541]: [ 43868][42924.234539]    prop_action:     change
Jun 20 00:21:33 Swimlanes org_kde_powerdevil[1541]: [ 43868][42924.234539]    prop_connector:  (null)
Jun 20 00:21:33 Swimlanes org_kde_powerdevil[1541]: [ 43868][42924.234539]    prop_devname:    /dev/dri/card1
Jun 20 00:21:33 Swimlanes org_kde_powerdevil[1541]: [ 43868][42924.234539]    prop_devmode:    (null)
Jun 20 00:21:33 Swimlanes org_kde_powerdevil[1541]: [ 43868][42924.234539]    prop_hotplug:    1
Jun 20 00:21:33 Swimlanes org_kde_powerdevil[1541]: [ 43868][42924.234539]    prop_major:      226
Jun 20 00:21:33 Swimlanes org_kde_powerdevil[1541]: [ 43868][42924.234539]    prop_minor:      1
Jun 20 00:21:33 Swimlanes org_kde_powerdevil[1541]: [ 43868][42924.234539]    sysname:         card1
Jun 20 00:21:33 Swimlanes org_kde_powerdevil[1541]: [ 43868][42924.234539]    syspath:         /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
Jun 20 00:21:33 Swimlanes org_kde_powerdevil[1541]: [ 43868][42924.234539]    attr_name:       (null)
Jun 20 00:21:33 Swimlanes org_kde_powerdevil[1541]: [ 43868][42924.234558] (dw_watch_display_connections) Time since last return from sleep = 42924204720083 ns = 42924205 ms
Jun 20 00:21:34 Swimlanes kwin_wayland[1383]: Atomic modeset test failed! Invalid argument
Jun 20 00:21:34 Swimlanes kwin_wayland[1383]: Atomic modeset test failed! Invalid argument
Jun 20 00:21:34 Swimlanes kwin_wayland[1383]: Atomic modeset test failed! Invalid argument
Jun 20 00:21:34 Swimlanes kwin_wayland[1383]: Atomic modeset test failed! Invalid argument
Jun 20 00:21:34 Swimlanes kwin_wayland[1383]: 0x505: GL_OUT_OF_MEMORY error generated. Failed to allocate memory for texture.
Jun 20 00:21:34 Swimlanes kwin_wayland[1383]: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
Jun 20 00:21:34 Swimlanes kwin_wayland[1383]: Atomic modeset test failed! Invalid argument
Jun 20 00:21:34 Swimlanes kwin_wayland[1383]: Atomic modeset test failed! Invalid argument
Jun 20 00:21:34 Swimlanes plasmashell[20297]: requesting unexisting screen available rect -1
Jun 20 00:21:34 Swimlanes plasmashell[20297]: Final member StackingOrder is overridden in class QQmlDMAbstractItemModelData. The override won't be used.
Jun 20 00:21:34 Swimlanes plasmashell[20297]: Final member StackingOrder is overridden in class QQmlDMAbstractItemModelData. The override won't be used.
Jun 20 00:21:34 Swimlanes plasmashell[20297]: Final member StackingOrder is overridden in class QQmlDMAbstractItemModelData. The override won't be used.
Jun 20 00:21:34 Swimlanes plasmashell[20297]: Final member StackingOrder is overridden in class QQmlDMAbstractItemModelData. The override won't be used.
Jun 20 00:21:34 Swimlanes plasmashell[20297]: Final member StackingOrder is overridden in class QQmlDMAbstractItemModelData. The override won't be used.
Jun 20 00:21:34 Swimlanes org_kde_powerdevil[1541]: [ 43868] Adding connected display with bus 15
Jun 20 00:21:34 Swimlanes plasmashell[20297]: Final member StackingOrder is overridden in class QQmlDMAbstractItemModelData. The override won't be used.
Jun 20 00:21:34 Swimlanes org_kde_powerdevil[1541]: [ 43868][42925.297913] Emitting DDCA_Display_Status_Event[42925.297:  DDCA_EVENT_DISPLAY_CONNECTED, card1-DP-4, dref: DDCA_Display_Ref[10], io_path:/dev/i2c-15, ddc working: true]
Jun 20 00:21:34 Swimlanes org_kde_powerdevil[1541]: [ 43868][42925.297922] Starting 1 callback threads
Jun 20 00:21:34 Swimlanes org_kde_powerdevil[1541]: [ 43868][42925.297949] libddcutil callback thread 0x7fd3c80148d0 started
Jun 20 00:21:34 Swimlanes org_kde_powerdevil[1541]: [ 43868][42925.297951] Started 1 event callback thread(s)
Jun 20 00:21:34 Swimlanes org_kde_powerdevil[1541]: [ 65752][42925.297998] Invoking callback function 0x7fd408faa6a0 for event DDCA_Display_Status_Event[42925.297:  DDCA_EVENT_DISPLAY_CONNECTED, card1-DP-4, dref: DDCA_Display_Ref[10], io_path:/dev/i2c-15, ddc working: true] in this thread [ 65752]
Jun 20 00:21:34 Swimlanes org_kde_powerdevil[1541]: [ 65752][42925.298019] Callback function 0x7fd408faa6a0 for event DDCA_Display_Status_Event[42925.297:  DDCA_EVENT_DISPLAY_CONNECTED, card1-DP-4, dref: DDCA_Display_Ref[10], io_path:/dev/i2c-15, ddc working: true] complete
Jun 20 00:21:34 Swimlanes org_kde_powerdevil[1541]: [ 43868][42925.298020] Udev event detected
Jun 20 00:21:34 Swimlanes org_kde_powerdevil[1541]: [ 43868][42925.298039] Udev_Event_Detail
Jun 20 00:21:34 Swimlanes org_kde_powerdevil[1541]: [ 43868][42925.298039]    prop_subsystem:  drm
Jun 20 00:21:34 Swimlanes org_kde_powerdevil[1541]: [ 43868][42925.298039]    prop_action:     change
Jun 20 00:21:34 Swimlanes org_kde_powerdevil[1541]: [ 43868][42925.298039]    prop_connector:  (null)
Jun 20 00:21:34 Swimlanes org_kde_powerdevil[1541]: [ 43868][42925.298039]    prop_devname:    /dev/dri/card1
Jun 20 00:21:34 Swimlanes org_kde_powerdevil[1541]: [ 43868][42925.298039]    prop_devmode:    (null)
Jun 20 00:21:34 Swimlanes org_kde_powerdevil[1541]: [ 43868][42925.298039]    prop_hotplug:    1
Jun 20 00:21:34 Swimlanes org_kde_powerdevil[1541]: [ 43868][42925.298039]    prop_major:      226
Jun 20 00:21:34 Swimlanes org_kde_powerdevil[1541]: [ 43868][42925.298039]    prop_minor:      1
Jun 20 00:21:34 Swimlanes org_kde_powerdevil[1541]: [ 43868][42925.298039]    sysname:         card1
Jun 20 00:21:34 Swimlanes org_kde_powerdevil[1541]: [ 43868][42925.298039]    syspath:         /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
Jun 20 00:21:34 Swimlanes org_kde_powerdevil[1541]: [ 43868][42925.298039]    attr_name:       (null)
Jun 20 00:21:34 Swimlanes org_kde_powerdevil[1541]: [ 43868][42925.298051] (dw_watch_display_connections) Time since last return from sleep = 42925268213013 ns = 42925268 ms
Jun 20 00:21:34 Swimlanes org_kde_powerdevil[1541]: [  1541] Quiescing libddcutil API...
Jun 20 00:21:34 Swimlanes org_kde_powerdevil[1541]: [  1541] Quiesce libddcutil API complete
Jun 20 00:21:34 Swimlanes org_kde_powerdevil[1541]: [  1541] Display redetection starting.
Jun 20 00:21:34 Swimlanes org_kde_powerdevil[1541]: [ 43867] recheck thread terminating because watch thread terminated
Jun 20 00:21:34 Swimlanes plasmashell[20297]: Final member StackingOrder is overridden in class QQmlDMAbstractItemModelData. The override won't be used.
Jun 20 00:21:34 Swimlanes plasmashell[20297]: Final member StackingOrder is overridden in class QQmlDMAbstractItemModelData. The override won't be used.
Jun 20 00:21:35 Swimlanes kernel: usb 1-5.4.4: new full-speed USB device number 14 using xhci_hcd
Jun 20 00:21:35 Swimlanes org_kde_powerdevil[1541]: [  1541] Watch thread terminated.
Jun 20 00:21:35 Swimlanes kernel: usb 1-5.4.4: New USB device found, idVendor=043e, idProduct=9a39, bcdDevice= 4.14
Jun 20 00:21:35 Swimlanes kernel: usb 1-5.4.4: New USB device strings: Mfr=1, Product=3, SerialNumber=4
Jun 20 00:21:35 Swimlanes kernel: usb 1-5.4.4: Product: LG Monitor Controls
Jun 20 00:21:35 Swimlanes kernel: usb 1-5.4.4: Manufacturer: LG Electronics Inc.
Jun 20 00:21:35 Swimlanes kernel: usb 1-5.4.4: SerialNumber: 012NTVSDM775
Jun 20 00:21:35 Swimlanes kernel: hid-generic 0003:043E:9A39.0008: hiddev98,hidraw5: USB HID v1.11 Device [LG Electronics Inc. LG Monitor Controls] on usb-0000:00:14.0-5.4.4/input0
Jun 20 00:21:35 Swimlanes mtp-probe[65754]: checking bus 1, device 14: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5.4/1-5.4.4"
Jun 20 00:21:35 Swimlanes mtp-probe[65754]: bus: 1, device: 14 was not an MTP device
Jun 20 00:21:35 Swimlanes mtp-probe[65756]: checking bus 1, device 14: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5.4/1-5.4.4"
Jun 20 00:21:35 Swimlanes mtp-probe[65756]: bus: 1, device: 14 was not an MTP device
Jun 20 00:21:35 Swimlanes org_kde_powerdevil[1541]: [  1541][42926.172297] Extra x37 sleep: Sleeping for 2000 milliseconds
Jun 20 00:21:37 Swimlanes org_kde_powerdevil[1541]: [  1541][42928.174453] Extra x37 sleep: Sleeping for 2000 milliseconds
Jun 20 00:21:39 Swimlanes org_kde_powerdevil[1541]: [  1541][42930.179530] Extra x37 sleep: Sleeping for 2000 milliseconds
Jun 20 00:21:42 Swimlanes org_kde_powerdevil[1541]: [  1541][42932.608105] Time since library initialized: 42932.608104 seconds
Jun 20 00:21:42 Swimlanes org_kde_powerdevil[1541]: [  1541][42932.608114] Extra delay starting dw_start_watch_displays: 0 millisec
Jun 20 00:21:42 Swimlanes org_kde_powerdevil[1541]: [  1541] Watching for display connection changes, resolved watch mode = Watch_Mode_Udev, poll loop interval = 500 millisec
Jun 20 00:21:42 Swimlanes org_kde_powerdevil[1541]: [  1541]                                          initial_stabilization_millisec: 0,  stabilization_poll_millisec: 100
Jun 20 00:21:42 Swimlanes org_kde_powerdevil[1541]: [  1541] libddcutil recheck thread 0x561f847beaa0 started
Jun 20 00:21:42 Swimlanes org_kde_powerdevil[1541]: [  1541] libddcutil watch thread 0x561f847bde10 started
Jun 20 00:21:42 Swimlanes org_kde_powerdevil[1541]: [  1541] Display redetection finished.
Jun 20 00:21:42 Swimlanes org_kde_powerdevil[1541]: [  1541] Unquiescing libddcutil API...
Jun 20 00:21:42 Swimlanes org_kde_powerdevil[1541]: [  1541][42932.612162] (ddca_get_display_refs) Returned DDCA_Display_Ref list:
Jun 20 00:21:42 Swimlanes org_kde_powerdevil[1541]: [  1541][42932.612165]    DDCA_Display_Ref Display_Ref[12:bus /dev/i2c-14 @0x561f8466a040]
Jun 20 00:21:42 Swimlanes org_kde_powerdevil[1541]: [  1541][42932.612166]    DDCA_Display_Ref Display_Ref[13:bus /dev/i2c-15 @0x7fd3f80194f0]
Jun 20 00:21:42 Swimlanes org_kde_powerdevil[1541]: [  1541][42932.612168]    DDCA_Display_Ref Display_Ref[14:bus /dev/i2c-16 @0x7fd3f800cb70]
Jun 20 00:21:42 Swimlanes org_kde_powerdevil[1541]: [ 65778][42932.612254] Recheck interval: Sleeping for 200 milliseconds

The framebuffer error from before has a reappearance, but no “unexisting screen available” this time. The wallpaper and panel is visible now again properly and I can right click and get a context menu again.

I have some AI slop to hopefully help with this.

I’ve tasked a few models to analyze the bug and provide patches. Of course I will not submit the results as a patch or merge request, because they certainly need human oversight/refining. Hopefully this helps someone with knowledge about C++/Qt/KDE and with more time on their hands than me to de-AI-slop this and produce an actually helpful patch.

You can find the analysis and patches from the models here: plasmashell wake-after-suspend no panel - LLM analysis & patches ($3829) · Snippets · GitLab

I found this to be an interesting exercise. All models besides Opus 4.8 try to fix the issue in shellcorona.cpp, although all do it in different ways. Only Opus originally attempted to fix it in kwin, but after being fed the solution from Composer 2.5, it agreed that fixing it in shellcorona.cpp is actually preferable, as long as plasma is the only consumer of the relevant events from kwin.