https://bugs.kde.org/show_bug.cgi?id=495211
Bug ID: 495211 Summary: libgallium / radeonsi_dri CRASH when alt tab Classification: Plasma Product: kwin Version: 6.2.1 Platform: Arch Linux URL: https://www.reddit.com/r/kde/comments/1fckgw7/plasma_6 _gui_crash_when_alt_tabbing/ OS: Linux Status: REPORTED Keywords: qt6, wayland Severity: crash Priority: NOR Component: wayland-generic Assignee: kwin-bugs-n...@kde.org Reporter: dolem....@gmail.com Target Milestone: --- Flags: Catalyst+, Gallium3D+, Mesa+ Created attachment 175122 --> https://bugs.kde.org/attachment.cgi?id=175122&action=edit First time crash on Lenovo thinkbook SUMMARY This bug happens on BOTH of my two devices. -------------------------------------------------------------------- The first device is an Lenovo laptop: whao@thinkbook-14 ----------------- OS: Arch Linux x86_64 Host: 21D0 (ThinkBook 14 G4+ ARA) Kernel: Linux 6.11.4-arch2-1 Uptime: 1 min Packages: 1621 (pacman) Shell: zsh 5.9 Display (CSO140C): 2880x1800 @ 90 Hz (as 1440x900) in 14" [Built-in] DE: KDE Plasma 6.2.1 WM: KWin (Wayland) WM Theme: Breeze Theme: Breeze (Light) [Qt], Breeze [GTK2/3/4] Icons: Breeze [Qt], breeze [GTK2/3/4] Font: Noto Sans (10pt) [Qt], Noto Sans (10pt) [GTK2/3/4] Cursor: Breeze (24px) Terminal: /dev/pts/1 CPU: AMD Ryzen 7 6800H (16) @ 3.20 GHz GPU: AMD Radeon 680M [Integrated] Memory: 2.07 GiB / 27.10 GiB (8%) Swap: 17.36 MiB / 10.00 GiB (0%) Disk (/): 83.70 GiB / 200.00 GiB (42%) - btrfs Local IP (wlo1): 192.168.1.170/24 Battery (AP16L5J): 100% [Discharging] Locale: en_US.UTF-8 -------------------------------------------------------------------- The second device is an NUS like box: whao@beelink-gtr6 ----------------- OS: Arch Linux x86_64 Host: GTR (V02) Kernel: Linux 6.11.4-arch2-1 Uptime: 1 hour, 21 mins Packages: 2059 (pacman) Shell: zsh 5.9 Display (LG TV SSCR2): 3840x2160 @ 120 Hz (as 1920x1080) in 72" [External] [HDR] DE: KDE Plasma 6.2.1 WM: KWin (Wayland) WM Theme: Breeze Theme: Breeze (Light) [Qt], Breeze [GTK2/3/4] Icons: breeze [Qt], breeze [GTK2/3/4] Font: Noto Sans (10pt) [Qt], Noto Sans (10pt) [GTK2/3/4] Cursor: breeze (24px) Terminal: konsole 24.8.2 CPU: AMD Ryzen 9 6900HX (16) @ 4.93 GHz GPU: AMD Radeon 680M [Integrated] Memory: 4.18 GiB / 27.17 GiB (15%) Swap: 13.84 MiB / 25.00 GiB (0%) Disk (/): 261.81 GiB / 465.27 GiB (56%) - btrfs Local IP (enp2s0): 192.168.1.196/24 Locale: en_US.UTF-8 STEPS TO REPRODUCE Normally using and press alt tab when switching between programs. OBSERVED RESULT ***Randomly happens*** Or I didn't find the pattern yet. Desktop freezes and then black screen. Turns back after about 2 seconds and some wayland apps Google Chrome, Telegram, Webcord, etc crash / closed abnormally. KDE apps like konsole, dolphin stays fine. EXPECTED RESULT No crash SOFTWARE/OS VERSIONS KDE Plasma Version: 6.2.1 KDE Frameworks Version: 6.7.0 Qt Version: 6.8.0 ADDITIONAL INFORMATION First time happened at 2024/07/20 with radeonsi_dri issue in log: ----------------------------------------------------------------- ******************************************************* Jul 20 22:35:16 beelink-gtr6 kwin_wayland[1347]: This plugin does not support raise() Jul 20 22:35:16 beelink-gtr6 kwin_wayland[1347]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT) Jul 20 22:35:16 beelink-gtr6 kwin_wayland[1347]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT) Jul 20 22:35:16 beelink-gtr6 kwin_wayland[1347]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT) Jul 20 22:35:16 beelink-gtr6 kernel: kwin_w:sh_opt0[1400]: segfault at 7094f3f79ce4 ip 000070952143956c sp 00007095127fbc60 error 6 in radeonsi_dri.so[709521214000+156a000] likely on CPU 3 (core 1, socket 0) Jul 20 22:35:16 beelink-gtr6 kernel: Code: 76 91 e9 ea fe ff ff 0f 1f 80 00 00 00 00 55 31 c0 ba 01 00 00 00 48 89 e5 41 56 41 55 41 54 49 89 fc 53 48 8d 9f d4 9c 03 00 <f0> 0f b1 13 85 c0 0f 85 b8 00 00 00 4d 8b ac 24 d8 9c 03 00 4d 85 ******************************************************* Jul 20 22:35:16 beelink-gtr6 systemd-coredump[33619]: Process 1347 (kwin_wayland) of user 1000 terminated abnormally with signal 11/SEGV, processing... Jul 20 22:35:16 beelink-gtr6 systemd[1]: Started Process Core Dump (PID 33619/UID 0). Jul 20 22:35:16 beelink-gtr6 systemd[1]: Started Pass systemd-coredump journal entries to relevant user for potential DrKonqi handling. Jul 20 22:35:17 beelink-gtr6 systemd-coredump[33620]: [🡕] Process 1347 (kwin_wayland) of user 1000 dumped core. Stack trace of thread 1400: #0 0x000070952143956c n/a (radeonsi_dri.so + 0x23956c) #1 0x000070952143a1f0 n/a (radeonsi_dri.so + 0x23a1f0) #2 0x000070952149ec14 n/a (radeonsi_dri.so + 0x29ec14) #3 0x00007095214393a9 n/a (radeonsi_dri.so + 0x2393a9) #4 0x000070952127c5be n/a (radeonsi_dri.so + 0x7c5be) #5 0x0000709521a74721 n/a (radeonsi_dri.so + 0x874721) #6 0x0000709521a78442 n/a (radeonsi_dri.so + 0x878442) #7 0x0000709521a7963d n/a (radeonsi_dri.so + 0x87963d) #8 0x0000709521aad05c n/a (radeonsi_dri.so + 0x8ad05c) #9 0x000070952127b274 n/a (radeonsi_dri.so + 0x7b274) #10 0x000070952129d31d n/a (radeonsi_dri.so + 0x9d31d) #11 0x000070952aaa6ded n/a (libc.so.6 + 0x92ded) #12 0x000070952ab2a0dc n/a (libc.so.6 + 0x1160dc) ---------------------------------------------------------------------------- Since Sep 05. The crash became libgallium instead of radeonsi_dri ******************************************************* Sep 05 15:19:28 beelink-gtr6 kwin_wayland[1357]: This plugin does not support raise() Sep 05 15:19:28 beelink-gtr6 kwin_wayland[1357]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT) Sep 05 15:19:28 beelink-gtr6 kwin_wayland[1357]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT) Sep 05 15:19:28 beelink-gtr6 kwin_wayland[1357]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT) Sep 05 15:19:28 beelink-gtr6 kernel: kwin_w:sh_opt0[1425]: segfault at 7f6c95579a54 ip 00007f6d1a04965c sp 00007f6d063f7bc0 error 6 in libgallium-24.2.1-arch1.1.so[7f6d19e14000+1681000] likely on CPU 12 (core 6, socket 0) Sep 05 15:19:28 beelink-gtr6 kernel: Code: 76 91 e9 ea fe ff ff 0f 1f 80 00 00 00 00 55 31 c0 ba 01 00 00 00 48 89 e5 41 56 41 55 41 54 49 89 fc 53 48 8d 9f 44 3a 0c 00 <f0> 0f b1 13 85 c0 0f 85 b8 00 00 00 4d 8b ac 24 48 3a 0c 00 4d 85 Sep 05 15:19:28 beelink-gtr6 systemd-coredump[11752]: Process 1357 (kwin_wayland) of user 1000 terminated abnormally with signal 11/SEGV, processing... ******************************************************* Sep 05 15:19:28 beelink-gtr6 systemd[1]: Created slice Slice /system/drkonqi-coredump-processor. Sep 05 15:19:28 beelink-gtr6 systemd[1]: Created slice Slice /system/systemd-coredump. Sep 05 15:19:28 beelink-gtr6 systemd[1]: Started Process Core Dump (PID 11752/UID 0). Sep 05 15:19:28 beelink-gtr6 systemd[1]: Started Pass systemd-coredump journal entries to relevant user for potential DrKonqi handling. Sep 05 15:19:29 beelink-gtr6 systemd-coredump[11753]: [🡕] Process 1357 (kwin_wayland) of user 1000 dumped core. Stack trace of thread 1425: #0 0x00007f6d1a04965c n/a (libgallium-24.2.1-arch1.1.so + 0x24965c) #1 0x00007f6d1a04a300 n/a (libgallium-24.2.1-arch1.1.so + 0x24a300) #2 0x00007f6d1a0aeef4 n/a (libgallium-24.2.1-arch1.1.so + 0x2aeef4) #3 0x00007f6d1a049499 n/a (libgallium-24.2.1-arch1.1.so + 0x249499) #4 0x00007f6d19e83bae n/a (libgallium-24.2.1-arch1.1.so + 0x83bae) #5 0x00007f6d1a6a6791 n/a (libgallium-24.2.1-arch1.1.so + 0x8a6791) #6 0x00007f6d1a6aa78e n/a (libgallium-24.2.1-arch1.1.so + 0x8aa78e) #7 0x00007f6d1a6ab96d n/a (libgallium-24.2.1-arch1.1.so + 0x8ab96d) #8 0x00007f6d1a6e192b n/a (libgallium-24.2.1-arch1.1.so + 0x8e192b) #9 0x00007f6d19e827a4 n/a (libgallium-24.2.1-arch1.1.so + 0x827a4) #10 0x00007f6d19ea5bdd n/a (libgallium-24.2.1-arch1.1.so + 0xa5bdd) #11 0x00007f6d1dea339d n/a (libc.so.6 + 0x9439d) #12 0x00007f6d1df2849c n/a (libc.so.6 + 0x11949c) The most recent crash is on NUC is: ******************************************************* Oct 23 03:15:02 beelink-gtr6 kwin_wayland[1085]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT) Oct 23 03:15:02 beelink-gtr6 kwin_wayland[1085]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT) Oct 23 03:15:02 beelink-gtr6 kwin_wayland[1085]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT) Oct 23 03:15:02 beelink-gtr6 kwin_wayland_wrapper[1085]: KCrash: Application 'kwin_wayland' crashing... crashRecursionCounter = 2 ******************************************************* Oct 23 03:15:02 beelink-gtr6 systemd-coredump[39493]: Process 1085 (kwin_wayland) of user 1000 terminated abnormally with signal 11/SEGV, processing... Oct 23 03:15:02 beelink-gtr6 systemd[1]: Started Process Core Dump (PID 39493/UID 0). Oct 23 03:15:02 beelink-gtr6 systemd[1]: Started Pass systemd-coredump journal entries to relevant user for potential DrKonqi handling. Oct 23 03:15:03 beelink-gtr6 systemd-coredump[39494]: [🡕] Process 1085 (kwin_wayland) of user 1000 dumped core. Stack trace of thread 1198: #0 0x00007ab9792a53f4 n/a (libc.so.6 + 0x963f4) #1 0x00007ab97924c120 raise (libc.so.6 + 0x3d120) #2 0x00007ab97c91b2a1 _ZN6KCrash19defaultCrashHandlerEi (libKF6Crash.so.6 + 0x62a1) #3 0x00007ab97924c1d0 n/a (libc.so.6 + 0x3d1d0) #4 0x00007ab97527285c n/a (libgallium-24.2.5-arch1.1.so + 0x27285c) #5 0x00007ab975273500 n/a (libgallium-24.2.5-arch1.1.so + 0x273500) #6 0x00007ab9752d80f4 n/a (libgallium-24.2.5-arch1.1.so + 0x2d80f4) #7 0x00007ab975272699 n/a (libgallium-24.2.5-arch1.1.so + 0x272699) #8 0x00007ab9750acc6e n/a (libgallium-24.2.5-arch1.1.so + 0xacc6e) #9 0x00007ab9758f47d1 n/a (libgallium-24.2.5-arch1.1.so + 0x8f47d1) #10 0x00007ab9758f87ce n/a (libgallium-24.2.5-arch1.1.so + 0x8f87ce) #11 0x00007ab9758f99ad n/a (libgallium-24.2.5-arch1.1.so + 0x8f99ad) #12 0x00007ab97592f96b n/a (libgallium-24.2.5-arch1.1.so + 0x92f96b) #13 0x00007ab9750ab854 n/a (libgallium-24.2.5-arch1.1.so + 0xab854) #14 0x00007ab9750cec9d n/a (libgallium-24.2.5-arch1.1.so + 0xcec9d) #15 0x00007ab9792a339d n/a (libc.so.6 + 0x9439d) #16 0x00007ab97932849c n/a (libc.so.6 + 0x11949c) ---------------------------------------------------------------------------- The most recent crash is on Lenovo thinkbook is: ******************************************************* Oct 22 23:41:22 thinkbook-14 kwin_wayland[1210]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT) Oct 22 23:41:22 thinkbook-14 kwin_wayland[1210]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT) Oct 22 23:41:22 thinkbook-14 kwin_wayland[1210]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT) Oct 22 23:41:22 thinkbook-14 kwin_wayland_wrapper[1210]: KCrash: Application 'kwin_wayland' crashing... crashRecursionCounter = 2 ******************************************************* Oct 22 23:41:22 thinkbook-14 systemd-coredump[8856]: Process 1210 (kwin_wayland) of user 1000 terminated abnormally with signal 11/SEGV, processing... Oct 22 23:41:22 thinkbook-14 systemd[1]: Created slice Slice /system/drkonqi-coredump-processor. Oct 22 23:41:22 thinkbook-14 systemd[1]: Created slice Slice /system/systemd-coredump. Oct 22 23:41:22 thinkbook-14 systemd[1]: Started Process Core Dump (PID 8856/UID 0). Oct 22 23:41:22 thinkbook-14 systemd[1]: Started Pass systemd-coredump journal entries to relevant user for potential DrKonqi handling. Oct 22 23:41:23 thinkbook-14 systemd-coredump[8857]: [🡕] Process 1210 (kwin_wayland) of user 1000 dumped core. Stack trace of thread 1262: #0 0x000078b93cca53f4 n/a (libc.so.6 + 0x963f4) #1 0x000078b93cc4c120 raise (libc.so.6 + 0x3d120) #2 0x000078b94033e2a1 _ZN6KCrash19defaultCrashHandlerEi (libKF6Crash.so.6 + 0x62a1) #3 0x000078b93cc4c1d0 n/a (libc.so.6 + 0x3d1d0) #4 0x000078b938c7285c n/a (libgallium-24.2.5-arch1.1.so + 0x27285c) #5 0x000078b938c73500 n/a (libgallium-24.2.5-arch1.1.so + 0x273500) #6 0x000078b938cd80f4 n/a (libgallium-24.2.5-arch1.1.so + 0x2d80f4) #7 0x000078b938c72699 n/a (libgallium-24.2.5-arch1.1.so + 0x272699) #8 0x000078b938aacc6e n/a (libgallium-24.2.5-arch1.1.so + 0xacc6e) #9 0x000078b9392f47d1 n/a (libgallium-24.2.5-arch1.1.so + 0x8f47d1) #10 0x000078b9392f87ce n/a (libgallium-24.2.5-arch1.1.so + 0x8f87ce) #11 0x000078b9392f99ad n/a (libgallium-24.2.5-arch1.1.so + 0x8f99ad) #12 0x000078b93932f96b n/a (libgallium-24.2.5-arch1.1.so + 0x92f96b) #13 0x000078b938aab854 n/a (libgallium-24.2.5-arch1.1.so + 0xab854) #14 0x000078b938acec9d n/a (libgallium-24.2.5-arch1.1.so + 0xcec9d) #15 0x000078b93cca339d n/a (libc.so.6 + 0x9439d) #16 0x000078b93cd2849c n/a (libc.so.6 + 0x11949c) ---------------------------------------------------------------------------- As you can see the warning *GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)* always comes before crash. I am not sure if it is related. This warning has been filed in bug 490682 and could be caused by and QT bug see here https://bugreports.qt.io/browse/QTBUG-122819. In summary, this is a reproducible bug on separate platforms. Crash cause change from radeonsi_dri to libgallium but symptoms are same. I am using the Arch Linux and do pacman -Syu everyday. This crash happened much less often in August. I have tried both LTS and Stable kernel but not much difference. This could be a Mesa bug. Thanks a lot for you time :) -- You are receiving this mail because: You are watching all bug changes.