Panels frozen after waking up from sleep

I have an issue after logging in when waking up from sleep.

My two panels take about 5 seconds to update (no animations), the time shown in system tray is the same as it was when the pc went to sleep. After the 5 seconds, they usually start updating again. However, seemingly at random, one of them might stay frozen and never “wake up”. At this state, all the icons and buttons are clickable, but they have no animations and the system tray statuses do not update (neither does the time).
The “fix” is to kill plasma.

This started happening a couple of weeks ago, the only changes besides package updates is that I installed a theme (which I have since removed) and changing from SDDM to plasma-login.

Relevant journalctl logs I just got before killing plasma (the time in the frozen panel is currently 9:29, the pc woke up at 19:12)

08:43:54 plasmashell[95962]: error creating screencast “Could not find window id {a2fcc16a-46f5-4e29-a188-ab65933ede81}”
08:45:45 plasmashell[95962]: error creating screencast “Could not find window id {ef4eb13d-e1c9-48c2-b501-d4bb5684eaba}”
09:29:25 kwin_wayland[1604]: Failed to delay sleep: The operation inhibition has been requested for is already running
19:12:02 kwin_wayland[1604]: Atomic modeset test failed! Permission denied
19:12:02 kwin_wayland[1604]: Applying output configuration failed!
19:12:02 kwin_wayland[1604]: Atomic modeset test failed! Permission denied
19:12:02 kwin_wayland[1604]: Applying output configuration failed!
19:12:14 plasmashell[95962]: QRhiGles2: Context is lost.
19:12:14 plasmashell[95962]: Graphics device lost, cleaning up scenegraph and releasing RHIs
19:12:14 plasmashell[95962]: QRhiGles2: Context is lost.

KDE version: Operating System: CachyOS Linux
KDE Plasma Version: 6.6.0
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.2
Kernel Version: 6.19.2-2-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 3950X 16-Core Processor
Memory: 32 GiB of RAM (31,2 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 3080
Dual monitors with different refresh rates

Have you been able to solve this at all. The exact same thing has been happening to me since upgrading to 6.6 and it’s driving me insane.

It’s no longer happening on my system (CachyOS). I have no idea which part of my troubleshooting fixed it though, but here’s what I did.

  1. I removed every trace of themes that didn’t come with the default installation (including icons, fonts, cursors, wallpapers, everything. I had to manually search through ~/.local/share/plasma/ and /usr/share/plasma/ to find it all and purge it.
  2. I deleted all my panels, and recreated them from scratch.
  3. I reset splash screen and login settings to default (plasma-login)
  4. I updated my packages every couple of days