With kernel version 6.15.10 on Fedora 42, I’ve had several crashes where, after resuming from suspend, kwin dumps core and all my windows have died.
This doesn’t happen on every resume, but often enough to be a problem. (I think I’ve had it 4 times in the last couple of days.)
When I switch back to booting from kernel 6.15.9, I don’t get the issue. So I’ll just boot from that kernel for now, but of course it would be good to work out what is broken and how to fix it.
Has anyone else seen similar crashes on 6.15.10 (on Fedora or any other distro)? This might narrow down what is causing it. I’m using an NVidia 3060 Ti with the open-kernel drivers, and dual monitors, so I wonder if one or both of those things is relevant.
Plasma version 6.4.4, Frameworks 6.17.0, Qt 6.9.1.
Fuller log available here. Here I’ll just post the top of the stack trace:
Aug 24 09:50:12 systemd-coredump[6648]: Process 2542 (kwin_wayland) of user 1000 dumped core.
Module /usr/bin/kwin_wayland from rpm kwin-6.4.4-2.fc42.x86_64
Module libspa-videoconvert.so from rpm pipewire-1.4.7-1.fc42.x86_64
Module kimg_rgb.so from rpm kf6-kimageformats-6.17.0-1.fc42.x86_64
Module kimg_sct.so from rpm kf6-kimageformats-6.17.0-1.fc42.x86_64
Module libqwbmp.so from rpm qt6-qtimageformats-6.9.1-1.fc42.x86_64
Module libjasper.so.7 from rpm jasper-4.2.3-3.fc42.x86_64
Module libraw.so.23 from rpm LibRaw-0.21.4-1.fc42.x86_64
Module kimg_raw.so from rpm kf6-kimageformats-6.17.0-1.fc42.x86_64
Module libjxl_cms.so.0.11 from rpm jpegxl-0.11.1-4.fc42.x86_64
Module libjxl_threads.so.0.11 from rpm jpegxl-0.11.1-4.fc42.x86_64
Module libjxl.so.0.11 from rpm jpegxl-0.11.1-4.fc42.x86_64
Cross-reference to Fedora forum post: Kwin dumps core when resuming from suspend (seems worse on 6.15.10) - Fedora Discussion
Update: I’ve now observed this once with kernel 6.15.9 (in several days of usage, so much lower frequency than 6.15.10).
Stack trace at kwin crash on kernel 6.15.9 - Pastebin Service
Some highlights:
Aug 26 15:58:29 kwin_wayland[2524]: kwin_scene_opengl: Could not delete texture because no context is current
Aug 26 15:58:29 kwin_wayland[2524]: kwin_scene_opengl: Could not delete framebuffer because no context is current
Aug 26 15:58:29 kwin_wayland[2524]: kwin_scene_opengl: Could not delete texture because no context is current
Aug 26 15:58:29 kwin_wayland[2524]: kwin_scene_opengl: Could not delete vertex buffer because no context is current
Aug 26 15:58:29 kwin_wayland[2524]: kwin_scene_opengl: Could not delete texture because no context is current
Aug 26 15:58:31 kwin_wayland[2524]: No QSGTexture provided from updateSampledImage(). This is wrong.
Aug 26 15:58:31 kwin_wayland[2524]: No QSGTexture provided from updateSampledImage(). This is wrong.
Aug 26 15:58:31 kwin_wayland[2524]: kwin_xwl: Could not find a matching X RandR CRTC/output to set as primary for KWin::DrmOutput(0x559da67477f0, name="DP-2", geometry=QRect(0,0 1920x1080), scale=1)
Aug 26 15:58:31 kwin_wayland[2524]: kwin_xwl: Could not find a matching X RandR CRTC/output to set as primary for KWin::DrmOutput(0x559da67477f0, name="DP-2", geometry=QRect(0,0 1920x1080), scale=1)
Aug 26 15:58:31 kwin_wayland[2524]: kwin_xwl: Could not find a matching X RandR CRTC/output to set as primary for KWin::DrmOutput(0x559da67477f0, name="DP-2", geometry=QRect(0,0 1920x1080), scale=1)
Aug 26 15:58:31 kwin_wayland[2524]: kwin_xwl: Could not find a matching X RandR CRTC/output to set as primary for KWin::DrmOutput(0x559da67477f0, name="DP-2", geometry=QRect(0,0 1920x1080), scale=1)
Aug 26 15:58:31 kwin_wayland_wrapper[2524]: KCrash: Application 'kwin_wayland' crashing... crashRecursionCounter = 2
Aug 26 15:58:32 systemd-coredump[62847]: Process 2524 (kwin_wayland) of user 1000 dumped core.
Module /usr/bin/kwin_wayland from rpm kwin-6.4.4-2.fc42.x86_64
Module KirigamiPlasmaStyle.so from rpm libplasma-6.4.4-1.fc42.x86_64
Module kimg_rgb.so from rpm kf6-kimageformats-6.17.0-1.fc42.x86_64
Module kimg_sct.so from rpm kf6-kimageformats-6.17.0-1.fc42.x86_64
Module libqwbmp.so from rpm qt6-qtimageformats-6.9.1-1.fc42.x86_64