Bug 485633

Summary: plasmasheel crash when running with Vulkan renderer on Nvidia
Product: [Plasma] plasmashell Reporter: Marek Pikuła <marek+kde>
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: crash CC: frederick.schaefer, nate
Priority: NOR Keywords: drkonqi
Version First Reported In: 6.0.3   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Marek Pikuła 2024-04-16 13:03:09 UTC
Application: plasmashell (6.0.3)

Qt Version: 6.7.0
Frameworks Version: 6.1.0
Operating System: Linux 6.8.5-arch1-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.0.3 [CoredumpBackend]

-- Information about the crash:
I tried different Plasma renderers and after selecting Vulkan renderer plasmashell was functional, but once a while it crashed and restarted. After going with OpenGL renderer everything goes back to normal.

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x00007bbd4e2ab393 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#7  0x00007bbd4e25a6c8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007bbd4e2424b8 in __GI_abort () at abort.c:79
#9  0x00007bbd5126d4f2 in wl_abort (fmt=fmt@entry=0x7bbd512726d8 "Tried to add event to destroyed queue\n") at ../wayland-1.22.0/src/wayland-util.c:462


Reported using DrKonqi
Comment 1 Marek Pikuła 2024-04-16 13:03:10 UTC
Created attachment 168581 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Frederick Schaefer 2024-06-04 04:26:55 UTC
I think I encountered the same issue.

After selecting the vulkan rendering backend on upgrade to plasma 6 (despite the warning), I was encountering what seemed like random crashes in a wayland session. I narrowed it down to displaying tooltips on mouseover (whether on maximize/minimize buttons, task manager/system tray icons, or on entries in the launcher menu).

The workaround is to use the automatic rendering backend selection. This can be accomplished after changing ~/config/kdeglobals and manually editing or removing the [QtQuickRendererSettings] section. Notably, changing the SceneGraphBackend value to "software" (from "vulkan") will prompt the backend selection dialog to return via an entry in the task manager (selecting "automatic" in the dialog seems to remove the section). Restart the session after changing and crashes cease.
Comment 3 Nate Graham 2024-08-01 18:44:26 UTC
I'm afraid Vulkan is experimental and not formally supported yet. It's a work in progress.