I tried removing panel colorizer (the only plasmoid I added) to no success.
https://paste.cachyos.org/4a7abb2.log
So I ran these logs through Claude to see if it can pinpoint the issue and it seems to suggest it’s a bug with Nvidia drivers and Wayland? Here’s the chat log:
Plasma Desktop froze after waking from sleep. Can you pinpoint why that happened with these logs?
What Happened in the Logs
1. System Entered Sleep (Suspend)
[27227.784952] PM: suspend entry (deep)
...
[27228.062861] printk: Suspending console(s) (use no_console_suspend to debug)
[27228.537480] ACPI: PM: Preparing to enter system sleep state S3
2. System Woke Up (Resume)
[27228.865693] ACPI: PM: Low-level resume complete
[27228.903201] ACPI: PM: Waking up from system sleep state S3
[27228.905547] xhci_hcd 0000:02:00.0: xHC error in resume, USBSTS 0x401, Reinit
[27228.905550] usb usb1: root hub lost power or was reset
[27228.905552] usb usb2: root hub lost power or was reset
...
[27231.709263] Restarting tasks ...
[27231.713620] done.
[27231.713633] random: crng reseeded on system resumption
[27231.713641] PM: suspend exit
3. Immediately After Resume:
xhci_hcd 0000:02:00.0: xHC error in resume, USBSTS 0x401, Reinit
-
Multiple USB device resets (mice, keyboard, audio, etc.)
-
NVIDIA DRM error after next suspend/resume cycle:
[drm:__nv_drm_semsurf_wait_fence_work_cb [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00002b00] Failed to register auto-value-update on pre-wait value for sync FD semaphore surface
4. KDE/Plasma Errors After Resume
kwin_wayland[1420]: kwin_wayland_drm: atomic commit failed: Invalid argument
plasmashell[1547]: file:///usr/share/plasma/plasmoids/org.kde.plasma.systemtray/contents/ui/items/PlasmoidItem.qml:208: TypeError: Cannot read property 'fullRepresentationItem' of null
-
Notification manager and other QML errors
-
Pipewire/ALSA errors (audio subsystem, not directly related to freeze but may indicate instability)
What This Means
-
The freeze is triggered by a combination of:
-
USB controller (xhci_hcd) failing to resume cleanly (common on some AMD/NVIDIA platforms)
-
NVIDIA DRM/driver errors after resume, which can break graphics stack state
-
Wayland/KWin atomic commit failures (graphics stack can’t reinitialize properly)
-
Plasmashell QML errors (taskbar/system tray code can’t access expected objects, likely due to graphics stack issues)
Root Cause
The most likely root cause is a bug in the interaction between your NVIDIA driver, the kernel, and the Wayland session (KWin/Plasma).
-
The USB controller error is a hardware/firmware or kernel driver issue, but it often doesn’t freeze the desktop by itself.
-
The NVIDIA DRM error and KWin atomic commit failures are the most direct cause of the desktop freeze: the graphics stack can’t recover after sleep, so Plasma can’t redraw or respond.
-
The QML errors in plasmashell are a symptom, not a cause: the UI can’t access the graphics resources it needs.
What You Can Do
- Switch to X11 session (instead of Wayland) in your login manager (SDDM) and see if the problem persists.
- Wayland + NVIDIA is still less stable than X11 on many systems.
-
Update your BIOS (if available) and make sure your kernel, NVIDIA driver, and firmware are all up to date.
-
Try kernel parameters (add to your bootloader):
-
usbcore.autosuspend=-1 (disables USB autosuspend)
-
nvidia-drm.modeset=1 (should already be default, but check)
- If you must use Wayland:
- Try the open-source nvidia-open kernel modules (which you are already using), but stability is still not guaranteed.
- If you use sleep/suspend a lot and need reliability:
- Use X11 for now, or avoid suspend until NVIDIA/Wayland support matures further.
Summary Table
| Symptom |
Log Evidence |
Root Cause |
| Freeze after resume |
xhci_hcd, nvidia-drm, kwin_wayland errors |
NVIDIA+Wayland+kernel bug |
| Taskbar/system tray QML errors |
plasmashell QML TypeError logs |
Graphics stack not recovered |
| USB device resets |
xhci_hcd, USB device reset logs |
USB controller resume bug |
If you want a more stable experience with suspend/resume, use X11 for now.
If you want to troubleshoot further, let me know if you want specific steps for kernel parameter changes or more log deep-dives!