Bug 498283 - Plasma Renderer set to Vulkan, keep crashing kwin
Summary: Plasma Renderer set to Vulkan, keep crashing kwin
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: core (show other bugs)
Version: 6.2.5
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-05 15:14 UTC by dougg0k
Modified: 2025-01-06 15:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dougg0k 2025-01-05 15:14:02 UTC
SUMMARY
When I change Plasma Renderer to Vulkan it keeps crashing kwin, continously be on X11 or Wayland, but much more on  X11.

STEPS TO REPRODUCE
1. Open Plasma Renderer
2. Change Backend to Vulkan
3. Apply

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: CachyOS Linux
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.12.8-2-cachyos (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5800X3D 8-Core Processor
Memory: 31.2 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3080 Ti/PCIe/SSE2

ADDITIONAL INFORMATION

Always the same crash.

systemd-coredump[4614]: Process 4574 (kwin_x11) of user 1000 dumped core.
                                                   
                                                   Stack trace of thread 4574:
                                                   #0  0x00007e78534a23db pthread_kill (libc.so.6 + 0xa03db)
                                                   #1  0x00007e78534439d8 raise (libc.so.6 + 0x419d8)
                                                   #2  0x00007e7857011731 _ZN6KCrash19defaultCrashHandlerEi (libKF6Crash.so.6 + 0x6731)
                                                   #3  0x00007e7853443a80 n/a (libc.so.6 + 0x41a80)
                                                   #4  0x00007e78545e68b4 _ZNK4QRhi13ubufAlignmentEv (libQt6Gui.so.6 + 0x3e68b4)
                                                   #5  0x00007e785608f120 _ZN16QSGBatchRenderer8RendererC2EP23QSGDefaultRenderContextN20QSGRendererInterface10RenderModeE (libQt6Quick.so.6 + 0x28f120)
                                                   #6  0x00007e78560dad6a _ZN23QSGDefaultRenderContext14createRendererEN20QSGRendererInterface10RenderModeE (libQt6Quick.so.6 + 0x2dad6a)
                                                   #7  0x00007e785605c7a4 _ZN19QQuickWindowPrivate14syncSceneGraphEv (libQt6Quick.so.6 + 0x25c7a4)
                                                   #8  0x00007e7855fe5755 _ZN19QQuickRenderControl4syncEv (libQt6Quick.so.6 + 0x1e5755)
                                                   #9  0x00007e78567f2498 n/a (libkwin.so.6 + 0x1f2498)
                                                   #10 0x00007e7853bbb055 n/a (libQt6Core.so.6 + 0x1bb055)
                                                   #11 0x00007e7853bc3c64 _ZN6QTimer10timerEventEP11QTimerEvent (libQt6Core.so.6 + 0x1c3c64)
                                                   #12 0x00007e7853bafb19 _ZN7QObject5eventEP6QEvent (libQt6Core.so.6 + 0x1afb19)
                                                   #13 0x00007e7854cfe567 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0xfe567)
                                                   #14 0x00007e7853b5e5d8 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x15e5d8)
                                                   #15 0x00007e7853ce5011 _ZN14QTimerInfoList14activateTimersEv (libQt6Core.so.6 + 0x2e5011)
                                                   #16 0x00007e7853dd935c n/a (libQt6Core.so.6 + 0x3d935c)
                                                   #17 0x00007e78528f852a n/a (libglib-2.0.so.0 + 0x6152a)
                                                   #18 0x00007e785296c0b0 n/a (libglib-2.0.so.0 + 0xd50b0)
                                                   #19 0x00007e78528fa112 g_main_context_iteration (libglib-2.0.so.0 + 0x63112)
                                                   #20 0x00007e7853de05dc _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3e05dc)
                                                   #21 0x00007e7853b6a385 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x16a385)
                                                   #22 0x00007e7853b5f91b _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x15f91b)
                                                   #23 0x00005791bb0d5120 n/a (n/a + 0x0)
                                                   ELF object binary architecture: AMD x86-64
Comment 1 David Edmundson 2025-01-06 15:05:05 UTC
>When I change Plasma Renderer to Vulkan it keeps crashing kwin, continously be on X11 or Wayland, but much more on  X11.

This should be better in Qt 6.9, for now, don't change it.