Since upgrading my arch install saturday to 6.2.5 and now using wayland vs. xorg, I’ve now gotten twice today freezes/crashes, once when using the menu to type and find an application to launch, and a bit ago with no interaction with the panels, but just went to choose a different taskbar item, and noticed it frozen.
I’m not seeing any errors related in journal logs, and I can’t seem to restart the panels/ui per another recommendation to use “kquitapp6 plasmashell; kstart plasmashell”, so I’m a bit stuck.
Is there a proper way to restart panels without restart kde entirely? I’m using systemctl restart sddm currently, and seeing this is now a frequent thing, rather not restart entirely every time…
How best to go about troubleshooting this if its not logging anything interesting now?
The desktop works normally otherwise, just all my panel, taskbar, and widgets are all frozen.
Actually, even worse, now I can’t even get back into a wayland session, now it just starts to log me in from the login screen, goes black to start, then repeats itself when logging in.
Last time I had to restart SDDM, it 3 tries before it finally let me, doing the same thing, but then on the 3rd try, it started the session. This time I tried 6 times with my user/pass, but only got once as far as the spinning KDE startup screen, but then crashed back to login then too.
I finally had to switch back to xorg, as apparently wayland still doesn’t work reliably. Will it ever…
I’ll have to try later wayland again, my panels crashing every few hours is killing my trying to work.
Hi - just curious, what messages are showing up in the journal when that freeze or crash happens? Even if they don’t immediately seem relevant to the plasmashell process itself, they could provide another clue?
Pasting the couple minutes of journal entries from around when the crash happened - using a command like sudo journalctl --since="2025-02-08 16:29:00" --until="2025-02-08 16:31:00", and the Preformatted text option - into a post in this topic couldn’t hurt
I went digging back through logs later to see what I could find and found the start of things.
Seems to have started with this:
Feb 10 10:48:49 thrawn plasmashell[842974]: error marshalling arguments for import_timeline: dup failed: Too many open files
Feb 10 10:48:49 thrawn plasmashell[842974]: Error marshalling request: Too many open files
I find that somewhat hard to believe though, I’ve had to set my file limits abnormally high in the past for various things and was working normally otherwise unless it’s doing something weird.
I’ll try flipping back to wayland later and trying again and look at the file usage if it does it again.
Feb 10 10:46:18 thrawn plasmashell[842974]: qml: saving cacheKey = cache_6f68fcbf345c9e2aaa6b88b29d02ec98
Feb 10 10:46:20 thrawn plasmashell[842974]: qml: saving cacheKey = cache_21dab15bef3eed8cbec2096bc151f064
Feb 10 10:47:37 thrawn pavucontrol[769240]: ../gtk/gdk/wayland/gdkcursor-wayland.c:210 cursor image size (60) not an integer multiple of theme size (48)
Feb 10 10:47:37 thrawn pavucontrol[769240]: ../gtk/gdk/wayland/gdkcursor-wayland.c:210 cursor image size (60) not an integer multiple of theme size (48)
Feb 10 10:48:49 thrawn plasmashell[842974]: error marshalling arguments for import_timeline: dup failed: Too many open files
Feb 10 10:48:49 thrawn plasmashell[842974]: Error marshalling request: Too many open files
Feb 10 10:48:49 thrawn plasmashell[842974]: qt.qpa.wayland: eglSwapBuffers failed with 0x3000, surface: 0x5b5ee8c84740
Feb 10 10:48:49 thrawn plasmashell[842974]: qt.qpa.wayland: eglSwapBuffers failed with 0x3000, surface: 0x5b5ee8c84740
Feb 10 10:48:49 thrawn plasmashell[842974]: qt.qpa.wayland: eglSwapBuffers failed with 0x3000, surface: 0x5b5ee8c84740
Feb 10 10:48:49 thrawn plasmashell[842974]: org.kde.plasma.notificationmanager: Trying to replace notification with id 1557 which doesn't exist, creating a new one. This is an application bug!
Feb 10 10:48:49 thrawn plasmashell[842974]: qt.qpa.wayland: eglSwapBuffers failed with 0x3000, surface: 0x5b5ef4038c70
Feb 10 10:48:49 thrawn plasmashell[842974]: qt.qpa.wayland: eglSwapBuffers failed with 0x3000, surface: 0x5b5ef77284d0
Feb 10 10:50:44 thrawn kwin_wayland[768607]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
Feb 10 10:50:44 thrawn kwin_wayland[768607]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
Feb 10 10:50:44 thrawn kwin_wayland[768607]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
Feb 10 11:02:50 thrawn kwin_wayland[768607]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Feb 10 11:02:50 thrawn kwin_wayland[768607]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Feb 10 11:02:50 thrawn kwin_wayland[768607]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Feb 10 11:02:51 thrawn kwin_wayland_wrapper[1206659]: syntax error: line 1 of stdin
Feb 10 11:02:51 thrawn kwin_wayland_wrapper[1206659]: Errors encountered in stdin; not compiled.
Feb 10 11:02:51 thrawn kwin_wayland[768607]: kf.windowsystem: static bool KX11Extras::mapViewport() may only be used on X11
Feb 10 11:02:51 thrawn kwin_wayland[768607]: Skipped method "borderActivated" : Type not registered with QtDBus in parameter list: KWin::ElectricBorder
Feb 10 11:02:51 thrawn kwin_wayland[768607]: Skipped method "borderActivated" : Type not registered with QtDBus in parameter list: KWin::ElectricBorder
Feb 10 11:02:51 thrawn kwin_wayland[768607]: Skipped method "borderActivated" : Type not registered with QtDBus in parameter list: KWin::ElectricBorder
Feb 10 11:02:51 thrawn kwin_wayland[768607]: Skipped method "borderActivated" : Type not registered with QtDBus in parameter list: KWin::ElectricBorder
Feb 10 11:02:51 thrawn kwin_wayland[768607]: Skipped method "borderActivated" : Type not registered with QtDBus in parameter list: KWin::ElectricBorder
Feb 10 11:02:51 thrawn kwin_wayland[768607]: Skipped method "borderActivated" : Type not registered with QtDBus in parameter list: KWin::ElectricBorder
Feb 10 11:09:35 thrawn kwin_wayland[768607]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated.
It does seem awfully extreme that it’s happening immediately after startup - just checking, do you have Adaptive sync enabled as well (possibly connected to the black screen and crash)? And, does the issue also occur on a freshly-setup user account?
It is nvidia (sorry, should have mentioned that), now using 570.86.16 drivers as of saturday. I don’t believe I’m using VRR (at least not purposely), all my displays are 60hz , but after some searching about adaptive sync, I did have flipping and vsync enabled in nvidia-settings, but not gsync enabled itself. I disabled those for testing wayland next time.
I’ve been using x all today, and it’s been stable, where since upgrading saturday I’ve probably had 3-4 hard crashed requiring reboot, and last these soft freezes requiring me to restart the desktop with sddm.
I’ve not really had to restart kwin or plasmashell components since. plasma5, not sure what is the recommended way for plasma6.
Next time I flip over to wayland I’ll watch the file descriptors per your link, see if removing flipping and vsync helps any.
The wayland black screen on login might be related, but when it’s happened to me, it’s always after logging out normally or forcefully, and trying to log back in that it gets sketchy. Going into xorg plasma session works fine however even if wayland is being cranky.