KDE plasma Taskbar and the background are often disapearing after sleep mod

Spec

I’m using the latest versions of fedora and kde plasma.

How

When I put my laptop to sleep or it has put it’s self to sleep and i open it after a while, the taskbar and background vanishes sometimes but everything else functions normaly.

I hope my feedback can help.

What I suspect happens, is that the plasma shell crashes when the screen gets (un)locked.

I observed the same thing with both Fedora and EndeavourOS (Arch).

But to me the added piece of the puzzle is that this usually happens when I have my laptop connected to an external monitor and the laptop lid closed. Do you have a similar set-up or what?

what is the output of kinfo

Yes, i have the same setup

1 Like
Output of kinfo:
Operating System: Fedora Linux 43
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.17.12-300.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × 13th Gen Intel® Core™ i7-1355U
Memory: 16 GiB of RAM (15.3 GiB usable)
Graphics Processor: Intel® Iris® Xe Graphics

1 Like

Having the same issue here. kquitapp6 plasmashell && kstart plasmashell is a workaround.

Operating System: Arch Linux 
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.18.2-arch2-1 (64-bit)
Graphics Platform: Wayland
Processors: 20 × 13th Gen Intel® Core™ i7-13700H
Memory: 16 GiB of RAM (15.3 GiB usable)
Graphics Processor: Intel® Iris® Xe Graphics

I think this is the relevant part of the plasmashell log:

Jan 12 10:02:18 hilbert plasmashell[204367]: There are no outputs - creating placeholder screen
Jan 12 10:02:18 hilbert plasmashell[204367]: requesting unexisting screen available rect -1
Jan 12 10:02:18 hilbert plasmashell[204367]: xdg_surface#170: error -1: invalid window geometry size (0x0)
Jan 12 10:02:18 hilbert plasmashell[204367]: warning: queue "mesa egl surface queue" 0x7f7fecd05aa0 destroyed while proxies still attached:
Jan 12 10:02:18 hilbert plasmashell[204367]:   wp_presentation#42 still attached
Jan 12 10:02:18 hilbert plasmashell[204367]: Could not create EGL surface (EGL error 0x3000)
Jan 12 10:02:18 hilbert plasmashell[204367]: warning: queue "mesa egl surface queue" 0x7f7fd42d8bc0 destroyed while proxies still attached:
Jan 12 10:02:18 hilbert plasmashell[204367]:   wp_presentation#42 still attached
Jan 12 10:02:18 hilbert plasmashell[204367]: Could not create EGL surface (EGL error 0x3000)
Jan 12 10:02:18 hilbert plasmashell[204367]: The Wayland connection experienced a fatal error: Protocol error
Jan 12 11:00:55 hilbert plasmashell[298635]: Applet preload policy set to 1

Same issue here, I have two monitors and it often happens that the secondary monitor would be partially black after waken up from sleep.

I think it’s due to plasmashell crash, restarting plasmashell as mentioned by @ixjlyons worked for me. For my case, plasmashell is caused by one of my widgets (dictionary), I also found other posts mentioning the dictionary widget to cause crashes, maybe you could check this.

My kinfo:

Operating System: Arch Linux
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.12.63-1-lts (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 7700 8-Core Processor
Memory: 32 GiB of RAM (30.5 GiB usable)
Graphics Processor 1: AMD Ryzen 7 7700 8-Core Processor
Graphics Processor 2: NVIDIA GeForce RTX 5060 Ti/PCIe/SSE2