[kwin] [Bug 495211] libgallium / radeonsi_dri CRASH when alt tab
https://bugs.kde.org/show_bug.cgi?id=495211 --- Comment #7 from Wei Hao --- With the lasted stable kernel on Arch Linux thinkbook-14 6.11.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 08 Nov 2024 17:57:56 + x86_64 GNU/Linux KDE Plasma 6.2.3 The issue persists ➜ ~ sudo coredumpctl dump 1231 --output=dumpfile PID: 1231 (kwin_wayland) UID: 1000 (whao) GID: 1000 (whao) Signal: 11 (SEGV) Timestamp: Thu 2024-11-14 22:06:30 CST (3min 43s ago) Command Line: /usr/bin/kwin_wayland --wayland-fd 7 --socket wayland-0 --xwayland-fd 8 --xwayland-fd 9 --xwayland-display :1 --xwayland-xauthority /run/user/1000/xauth_rwXmHO --xwayland Executable: /usr/bin/kwin_wayland Control Group: /user.slice/user-1000.slice/user@1000.service/session.slice/plasma-kwin_wayland.service Unit: user@1000.service User Unit: plasma-kwin_wayland.service Slice: user-1000.slice Owner UID: 1000 (whao) Boot ID: 6ac069ad7d6b4687b27192f445ca7d74 Machine ID: 452cb7846ece4f90893196e5f098606a Hostname: thinkbook-14 Storage: /var/lib/systemd/coredump/core.kwin_wayland.1000.6ac069ad7d6b4687b27192f445ca7d74.1231.173159319000.zst (present) Size on Disk: 11.5M Message: Process 1231 (kwin_wayland) of user 1000 dumped core. Stack trace of thread 1283: #0 0x77431a4a53f4 n/a (libc.so.6 + 0x963f4) #1 0x77431a44c120 raise (libc.so.6 + 0x3d120) #2 0x77431dc3f2a1 _ZN6KCrash19defaultCrashHandlerEi (libKF6Crash.so.6 + 0x62a1) #3 0x77431a44c1d0 n/a (libc.so.6 + 0x3d1d0) #4 0x774316472ddc n/a (libgallium-24.2.7-arch1.1.so + 0x272ddc) #5 0x774316473a80 n/a (libgallium-24.2.7-arch1.1.so + 0x273a80) #6 0x7743164d8674 n/a (libgallium-24.2.7-arch1.1.so + 0x2d8674) #7 0x774316472c19 n/a (libgallium-24.2.7-arch1.1.so + 0x272c19) #8 0x7743162acd2e n/a (libgallium-24.2.7-arch1.1.so + 0xacd2e) #9 0x774316af53d1 n/a (libgallium-24.2.7-arch1.1.so + 0x8f53d1) #10 0x774316af93ce n/a (libgallium-24.2.7-arch1.1.so + 0x8f93ce) #11 0x774316afa5ad n/a (libgallium-24.2.7-arch1.1.so + 0x8fa5ad) #12 0x774316b3056b n/a (libgallium-24.2.7-arch1.1.so + 0x93056b) #13 0x7743162ab914 n/a (libgallium-24.2.7-arch1.1.so + 0xab914) #14 0x7743162cf21d n/a (libgallium-24.2.7-arch1.1.so + 0xcf21d) #15 0x77431a4a339d n/a (libc.so.6 + 0x9439d) #16 0x77431a52849c n/a (libc.so.6 + 0x11949c) Stack trace of thread 1231: #0 0x77431a523ced ioctl (libc.so.6 + 0x114ced) #1 0x77431a36f511 drmIoctl (libdrm.so.2 + 0x7511) #2 0x77431a373eb5 drmSyncobjWait (libdrm.so.2 + 0xbeb5) #3 0x774316bb2c88 n/a (libgallium-24.2.7-arch1.1.so + 0x9b2c88) #4 0x774316bad88f n/a (libgallium-24.2.7-arch1.1.so + 0x9ad88f) #5 0x774316badafa n/a (libgallium-24.2.7-arch1.1.so + 0x9adafa) #6 0x774316bae927 n/a (libgallium-24.2.7-arch1.1.so + 0x9ae927) #7 0x774316b43999 n/a (libgallium-24.2.7-arch1.1.so + 0x943999) #8 0x7743165cf925 n/a (libgallium-24.2.7-arch1.1.so + 0x3cf925) #9 0x7743165764de n/a (libgallium-24.2.7-arch1.1.so + 0x3764de) #10 0x774316576b65 n/a (libgallium-24.2.7-arch1.1.so + 0x376b65) #11 0x774319e6d87c n/a (libQt6OpenGL.so.6 + 0x2787c) #12 0x774319e7388f n/a (libQt6OpenGL.so.6 + 0x2d88f) #13 0x774319e7547b _ZNK24QOpenGLFramebufferObject7toImageEbi (libQt6OpenGL.so.6 + 0x2f47b) #14 0x774319e75777 _ZNK24QOpenGLFramebufferObject7toImageEb (libQt6OpenGL.so.6 + 0x2f777) #15 0x77431d5fed3a _ZN4KWin18OffscreenQuickView6updateEv (libkwin.so.6 + 0x1fed3a) #16 0x77431abb2229 n/a (libQt6Core.so.6 + 0x1b2229) #17 0x77431abbb685 _ZN6QTimer10timerEventEP11QTimerEvent (libQt6Core.so.6 + 0x1bb685) #18 0x77431aba3439 _ZN7QObject5eventEP6QEvent (libQt6Core.so.6 + 0x1a3439) #19 0x77431bcfe31a _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0xfe31a) #20 0x77431ab585a8 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x1585a8) #21 0x77431acd5d1f _ZN14QTimerInfoList14activateTimersEv (libQt6Core.so.6 + 0x2d5d1f) #22 0x77431acddec8 _ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x2ddec8) #23 0x77431b84da33
[kwin] [Bug 495211] libgallium / radeonsi_dri CRASH when alt tab
https://bugs.kde.org/show_bug.cgi?id=495211 --- Comment #6 from Wei Hao --- (In reply to Zamundaaa from comment #1) > Please attach a full backtrace. You can do that with > > coredumpctl debug kwin_wayland > and then just run "bt" in the gdb console and copy out the backtrace from > the terminal. Hello, just a warm notice that I have attached some more infos in "Attachments" section. Please let me know if you need anything. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 495211] libgallium / radeonsi_dri CRASH when alt tab
https://bugs.kde.org/show_bug.cgi?id=495211 Wei Hao changed: What|Removed |Added Flags|Catalyst+ | -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 495211] libgallium / radeonsi_dri CRASH when alt tab
https://bugs.kde.org/show_bug.cgi?id=495211 --- Comment #2 from Wei Hao --- Created attachment 175190 --> https://bugs.kde.org/attachment.cgi?id=175190&action=edit coredump info txt -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 495211] libgallium / radeonsi_dri CRASH when alt tab
https://bugs.kde.org/show_bug.cgi?id=495211 --- Comment #4 from Wei Hao --- (In reply to Zamundaaa from comment #1) > Please attach a full backtrace. You can do that with > > coredumpctl debug kwin_wayland > and then just run "bt" in the gdb console and copy out the backtrace from > the terminal. Hello, I have attached two text file you requested. Please let me know if you need anything anytime :) -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 495211] libgallium / radeonsi_dri CRASH when alt tab
https://bugs.kde.org/show_bug.cgi?id=495211 --- Comment #3 from Wei Hao --- Created attachment 175191 --> https://bugs.kde.org/attachment.cgi?id=175191&action=edit GDB bt command result -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 490682] GL_INVALID_OPERATION errors when alt-tab tries to show window previews
https://bugs.kde.org/show_bug.cgi?id=490682 Wei Hao changed: What|Removed |Added See Also||https://bugs.kde.org/show_b ||ug.cgi?id=495211 -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 495211] New: libgallium / radeonsi_dri CRASH when alt tab
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 70952143956c sp 7095127fbc60 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 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 0x70952143956c n/a (radeonsi_dri.so + 0x23956c)
[Powerdevil] [Bug 466904] Powerdevil keeps crashing after resuming from Screen Energy Saving
https://bugs.kde.org/show_bug.cgi?id=466904 --- Comment #2 from Wei Hao --- Created attachment 157023 --> https://bugs.kde.org/attachment.cgi?id=157023&action=edit Screenshot of journalctl -- You are receiving this mail because: You are watching all bug changes.
[Powerdevil] [Bug 466904] Powerdevil keeps crashing after resuming from Screen Energy Saving
https://bugs.kde.org/show_bug.cgi?id=466904 --- Comment #1 from Wei Hao --- Created attachment 157022 --> https://bugs.kde.org/attachment.cgi?id=157022&action=edit Screenshot of journalctl -- You are receiving this mail because: You are watching all bug changes.
[Powerdevil] [Bug 466904] New: Powerdevil keeps crashing after resuming from Screen Energy Saving
https://bugs.kde.org/show_bug.cgi?id=466904 Bug ID: 466904 Summary: Powerdevil keeps crashing after resuming from Screen Energy Saving Classification: Plasma Product: Powerdevil Version: 5.27.2 Platform: Archlinux OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: general Assignee: plasma-b...@kde.org Reporter: dolem@gmail.com CC: m...@ratijas.tk Target Milestone: --- SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** Powerdevil crashes every time after upgrading to 5.27.2 when resuming from Screen Energy Saving mode. **KDE is running in Wayland mode.** STEPS TO REPRODUCE 1. Let the device idle to enter Screen Energy Saving. My device is connected to an LG C2 OLED TV monitor through HDMI. After the monitor said the signal lost. Turn off the monitor 2. Wait for 10 mins 3. Turn on the monitor and move the mice or click the keyboard. 4. Enter the OS and you can find powerdevil keeps crashing and there are tons of logs every second during the idle time. OBSERVED RESULT powerdevil crashed and "qt.qpa.wayland: Creating a fake screen in order for Qt not to crash" many times and all running apps like fcitx5, telegram, etc tray icon are missing. Though they are still running. EXPECTED RESULT Log in back normally SOFTWARE/OS VERSIONS Linux/KDE Plasma: Linux beelink-gtr6 6.2.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 03 Mar 2023 15:58:31 + x86_64 GNU/Linux (available in About System) KDE Plasma Version: 5.27.2 KDE Frameworks Version: 5.103.0 Qt Version: 5.15.8 CPU: 16 × AMD Ryzen 9 6900HX with Radeon Graphics GPU: Integrated AMD Radeon 680M ADDITIONAL INFORMATION Some crash logs ``` Mar 06 02:49:53 beelink-gtr6 systemd[1]: systemd-coredump@481-40677-0.service: Deactivated successfully. Mar 06 02:49:53 beelink-gtr6 systemd[1647]: plasma-powerdevil.service: Main process exited, code=dumped, status=11/SEGV Mar 06 02:49:53 beelink-gtr6 systemd[1647]: plasma-powerdevil.service: Failed with result 'timeout'. Mar 06 02:49:53 beelink-gtr6 systemd[1647]: Failed to start Powerdevil. Mar 06 02:49:53 beelink-gtr6 systemd[1647]: plasma-powerdevil.service: Consumed 1.524s CPU time. Mar 06 02:49:53 beelink-gtr6 systemd[1647]: plasma-powerdevil.service: Scheduled restart job, restart counter is at 121. Mar 06 02:49:53 beelink-gtr6 systemd[1647]: Stopped Powerdevil. Mar 06 02:49:53 beelink-gtr6 systemd[1647]: plasma-powerdevil.service: Consumed 1.524s CPU time. Mar 06 02:49:53 beelink-gtr6 systemd[1647]: Starting Powerdevil... Mar 06 02:49:53 beelink-gtr6 org_kde_powerdevil[40687]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash Mar 06 02:49:53 beelink-gtr6 org_kde_powerdevil[40687]: org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds are not supported by the kernel for this hardware" Mar 06 02:49:53 beelink-gtr6 org_kde_powerdevil[40687]: org.kde.powerdevil: org.kde.powerdevil.backlighthelper.brightness failed Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: KCrash: Attempting to start /usr/lib/org_kde_powerdevil Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: 32 -- exe=/usr/lib/org_kde_powerdevil Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: 17 -- platform=wayland Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: 27 -- appname=org_kde_powerdevil Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: 17 -- apppath=/usr/lib Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: 10 -- signal=11 Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: 10 -- pid=40687 Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: 18 -- appversion=5.27.2 Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: 40 -- programname=KDE Power Management System Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: 31 -- bugaddress=sub...@bugs.kde.org Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: 23 -- productname=Powerdevil Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: 15 -- restarted=true Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: KCrash: crashing... crashRecursionCounter = 2 Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: KCrash: Application Name = org_kde_powerdevil path = /usr/lib pid = 40687 Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: KCrash: Arguments: /usr/lib/org_kde_powerdevil Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40687]: KCrash: Attempting to start /usr/lib/drkonqi Mar 06 02:49:54 beelink-gtr6 org_kde_powerdevil[40722]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash Mar 06 02:49:54 beelink-gtr6 drkonqi[40723]: qt.qpa.wayland: Creating a fake screen in order for Qt not to crash Mar 06 02:49:54 beelink-gtr6 org_kde