X11 crashing a lot lately

Lately, I’ve been having a lot of X11 crashes. Don’t really have much details… I’ve had a few freezes while using FireDragon, and when playing with DaVinci Animations, it regularly freezes. CTRL+ALT+F3 to switch to a terminal, X11 takes 100% CPU, I kill it, switch back to desktop and can continue working as if nothing.

Also, when I leave the computer for a while and come back, sometimes the entire Plasma layout is gone. The Meta button still opens the main menu, but the top bar is gone.

Not finding any relevant error in journalctl -p 3.

My Inxi

System:
Kernel: 6.10.7-zen1-1.1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
clocksource: tsc avail: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=51ef4a7a-fb89-43c3-a466-7318e0363e7e rw rootflags=subvol=@
quiet loglevel=3 ibt=off
Desktop: KDE Plasma v: 6.1.4 tk: Qt v: N/A info: frameworks v: 6.5.0
wm: kwin_x11 vt: 2 dm: SDDM Distro: Garuda base: Arch Linux
Machine:
Type: Laptop System: Acer product: Predator PH315-53 v: V2.04
serial: <superuser required>
Mobo: CML model: QX50_CMS v: V2.04 serial: <superuser required>
part-nu: 0000000000000000 uuid: <superuser required> UEFI: Insyde v: 2.04
date: 08/20/2021
Battery:
ID-1: BAT1 charge: 40.9 Wh (100.0%) condition: 40.9/58.8 Wh (69.6%)
volts: 16.4 min: 15.4 model: SMP AP18E7M type: Li-ion serial: <filter>
status: full
CPU:
Info: model: Intel Core i7-10750H bits: 64 type: MT MCP arch: Comet Lake
gen: core 10 level: v3 note: check built: 2020 process: Intel 14nm family: 6
model-id: 0xA5 (165) stepping: 2 microcode: 0xFC
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
L3: 12 MiB desc: 1x12 MiB
Speed (MHz): avg: 1589 high: 3399 min/max: 800/5000 scaling:
driver: intel_pstate governor: powersave cores: 1: 800 2: 3399 3: 2398
4: 800 5: 3384 6: 800 7: 800 8: 800 9: 800 10: 800 11: 2387 12: 1908
bogomips: 62399
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: Acer Incorporated ALI
driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
ports: active: none off: eDP-1 empty: HDMI-A-2 bus-ID: 00:02.0
chip-ID: 8086:9bc4 class-ID: 0300
Device-2: NVIDIA TU106M [GeForce RTX 2060 Mobile]
vendor: Acer Incorporated ALI driver: nvidia v: 560.35.03
alternate: nouveau,nvidia_drm non-free: 550.xx+ status: current (as of
2024-06; EOL~2026-12-xx) arch: Turing code: TUxxx process: TSMC 12nm FF
built: 2018-2022 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 3
speed: 8 GT/s ports: active: none off: HDMI-A-1 empty: DP-1
bus-ID: 01:00.0 chip-ID: 10de:1f15 class-ID: 0300
Device-3: Quanta HD User Facing driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:3 chip-ID: 0408:a061
class-ID: 0e02
Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.2
compositor: kwin_x11 driver: X: loaded: modesetting,nvidia unloaded: nouveau
alternate: fbdev,intel,nv,vesa dri: iris gpu: i915,nvidia,nvidia-nvswitch
display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: HDMI-A-1 mapped: HDMI-1-0 note: disabled pos: primary
model: Samsung serial: <filter> built: 2016 res: 1920x1080 hz: 60 dpi: 40
gamma: 1.2 size: 1210x680mm (47.64x26.77") diag: 1168mm (46") ratio: 16:9
modes: max: 1920x1080 min: 640x480
Monitor-2: eDP-1 note: disabled model: AU Optronics 0x82ed built: 2018
res: 1920x1080 dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64")
diag: 394mm (15.5") ratio: 16:9 modes: 1920x1080
API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
drv: nvidia device: 2 drv: iris device: 3 drv: swrast gbm: drv: nvidia
surfaceless: drv: nvidia x11: drv: iris inactive: wayland,device-1
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 24.2.1-arch1.1.1
glx-v: 1.4 direct-render: yes renderer: Mesa Intel UHD Graphics (CML GT2)
device-ID: 8086:9bc4 memory: 7.54 GiB unified: yes
API: Vulkan v: 1.3.285 layers: 10 device: 0 type: integrated-gpu
name: Intel UHD Graphics (CML GT2) driver: mesa intel v: 24.2.1-arch1.1.1
device-ID: 8086:9bc4 surfaces: xcb,xlib device: 1 type: discrete-gpu
name: NVIDIA GeForce RTX 2060 driver: nvidia v: 560.35.03
device-ID: 10de:1f15 surfaces: xcb,xlib device: 2 type: cpu name: llvmpipe
(LLVM 18.1.8 256 bits) driver: mesa llvmpipe v: 24.2.1-arch1.1.1 (LLVM
18.1.8) device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
Device-1: Intel Comet Lake PCH cAVS vendor: Acer Incorporated ALI
driver: snd_hda_intel v: kernel alternate: snd_soc_skl, snd_soc_avs,
snd_sof_pci_intel_cnl bus-ID: 00:1f.3 chip-ID: 8086:06c8 class-ID: 0403
Device-2: NVIDIA TU106 High Definition Audio vendor: Acer Incorporated ALI
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
bus-ID: 01:00.1 chip-ID: 10de:10f9 class-ID: 0403
Device-3: Texas Instruments PCM2900B Audio CODEC
driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
lanes: 1 mode: 1.1 bus-ID: 1-1.3:6 chip-ID: 08bb:29b0 class-ID: 0300
API: ALSA v: k6.10.7-zen1-1.1-zen status: kernel-api tools: N/A
Server-1: PipeWire v: 1.2.3 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Comet Lake PCH CNVi WiFi vendor: Rivet Networks Dual Band
Wi-Fi 6 Killer AX1650i 160MHz 2x2 driver: iwlwifi v: kernel
bus-ID: 00:14.3 chip-ID: 8086:06f0 class-ID: 0280
IF: wlp0s20f3 state: up mac: <filter>
Device-2: Realtek Killer E2600 GbE vendor: Acer Incorporated ALI
driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 3000
bus-ID: 08:00.0 chip-ID: 10ec:2600 class-ID: 0200
IF: enp8s0 state: down mac: <filter>
IF-ID-1: docker0 state: down mac: <filter>
IF-ID-2: virbr0 state: down mac: <filter>
Info: services: NetworkManager, smbd, systemd-timesyncd, wpa_supplicant
Bluetooth:
Device-1: Intel AX201 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-14:5 chip-ID: 8087:0026
class-ID: e001
Report: btmgmt ID: hci0 rfk-id: 1 state: down bt-service: enabled,running
rfk-block: hardware: no software: yes address: <filter> bt-v: 5.2 lmp-v: 11
status: discoverable: no pairing: no
Drives:
Local Storage: total: 3.19 TiB used: 1.59 TiB (49.9%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital model: PC SN730
SDBQNTY-512G-1014 size: 476.94 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
fw-rev: 11101100 temp: 71.8 C scheme: GPT
ID-2: /dev/nvme1n1 maj-min: 259:2 vendor: Western Digital
model: WD Blue SN570 2TB size: 1.82 TiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
fw-rev: 234200WD temp: 36.9 C scheme: GPT
ID-3: /dev/sda maj-min: 8:0 vendor: HGST (Hitachi) model: HTS721010A9E630
size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
tech: HDD rpm: 7200 serial: <filter> fw-rev: A3J0 scheme: GPT
Partition:
ID-1: / raw-size: 1.73 TiB size: 1.73 TiB (100.00%) used: 527.77 GiB (29.8%)
fs: btrfs dev: /dev/nvme1n1p3 maj-min: 259:5
ID-2: /boot/efi raw-size: 625 MiB size: 623.7 MiB (99.80%)
used: 584 KiB (0.1%) fs: vfat dev: /dev/nvme1n1p1 maj-min: 259:3
ID-3: /home raw-size: 1.73 TiB size: 1.73 TiB (100.00%)
used: 527.77 GiB (29.8%) fs: btrfs dev: /dev/nvme1n1p3 maj-min: 259:5
ID-4: /var/log raw-size: 1.73 TiB size: 1.73 TiB (100.00%)
used: 527.77 GiB (29.8%) fs: btrfs dev: /dev/nvme1n1p3 maj-min: 259:5
ID-5: /var/tmp raw-size: 1.73 TiB size: 1.73 TiB (100.00%)
used: 527.77 GiB (29.8%) fs: btrfs dev: /dev/nvme1n1p3 maj-min: 259:5
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 15.45 GiB used: 1.25 GiB (8.1%)
priority: 100 comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 12
dev: /dev/zram0
ID-2: swap-2 type: partition size: 11.72 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme1n1p2 maj-min: 259:4
Sensors:
System Temperatures: cpu: 54.0 C pch: 73.0 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Memory: total: 16 GiB available: 15.45 GiB used: 6.04 GiB (39.1%)
Processes: 368 Power: uptime: 1d 1h 21m states: freeze,mem,disk
suspend: deep avail: s2idle wakeups: 0 hibernate: platform avail: shutdown,
reboot, suspend, test_resume image: 6.13 GiB services: org_kde_powerdevil,
power-profiles-daemon, upowerd Init: systemd v: 256 default: graphical
tool: systemctl
Packages: pm: pacman pkgs: 1705 libs: 458 tools: octopi,paru Compilers:
clang: 18.1.8 gcc: 14.2.1 Shell: garuda-inxi default: fish v: 3.7.1
running-in: konsole inxi: 3.3.35
Garuda (2.6.26-1):
System install date:     2024-07-17
Last full system update: 2024-08-31
Is partially upgraded:   No
Relevant software:       snapper NetworkManager dracut nvidia-dkms
Windows dual boot:       No/Undetected
Failed units:

Why are you using X11 instead of Wayland/Xwayland? I used to have to kill kwin and x11 sometimes but my system is now 100% stable since I switched to Wayland. Even as an Nvidia user you should have a better time using Wayland especially given recent updates/fixes. Have you tried Wayland? I believe you choose whether you use x11 or Wayland in the login screen.

You could downgrade x11 If you feel its the problem.

Wayland was working “mostly” fine on Fedora; but coming back on Garuda, it still had issues.

There’s been some driver updates though, could give it a try again.

But it feels like X11 is getting less stable as they’re working on Wayland.

is there a thread to these issues you could link? are they nvidea only? I remember some nvidea only issues a while back

1 Like

It’s hard to link this to documented issues, as “nvidia crash” is way too generic.

With Wayland, I get an occasional system freeze. Just got a full system freeze.

Luckly, it gave me something in the log!

It’s possible that this is the same issue causing problem with X11, but being handled differently? Not sure.

Sep 02 16:56:31 etienne-pc kernel: sched: RT throttling activated
Sep 02 16:56:35 etienne-pc kwin_wayland[113360]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Sep 02 16:56:40 etienne-pc kwin_wayland[113360]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Sep 02 16:56:45 etienne-pc kwin_wayland[113360]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Sep 02 16:56:50 etienne-pc kwin_wayland[113360]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Sep 02 16:56:55 etienne-pc kwin_wayland[113360]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Sep 02 16:57:00 etienne-pc kwin_wayland[113360]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Sep 02 16:57:05 etienne-pc kwin_wayland[113360]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Sep 02 16:57:07 etienne-pc kernel: Emergency Sync complete
Sep 02 16:57:08 etienne-pc systemd-coredump[178431]: [🡕] Process 114578 (AppRun) of user 1000 dumped core.

Stack trace of thread 114578:
#0  0x00005a1a2a9db460 n/a (n/a + 0x0)
#1  0x00005a1a2a9d6541 n/a (n/a + 0x0)
#2  0x00005a1a2ab16681 n/a (n/a + 0x0)
#3  0x00005a1a2afb120c n/a (n/a + 0x0)
#4  0x00005a1a2afb2e40 n/a (n/a + 0x0)
#5  0x00005a1a2afb2b67 n/a (n/a + 0x0)
#6  0x00005a1a2afe19ea n/a (n/a + 0x0)
#7  0x00005a1a2afb2bc8 n/a (n/a + 0x0)
#8  0x00005a1a2afb22bc n/a (n/a + 0x0)
#9  0x0000723cb364c1d0 n/a (/usr/lib/libc.so.6 + 0x3d1d0)
#10 0x00005a1a2a949ec0 n/a (n/a + 0x0)
#11 0x00005a1a2afb1152 n/a (n/a + 0x0)
#12 0x00005a1a2afb2e40 n/a (n/a + 0x0)
#13 0x00005a1a2afb22bc n/a (n/a + 0x0)
#14 0x0000723cb364c1d0 n/a (/usr/lib/libc.so.6 + 0x3d1d0)
#15 0x00005a1a2a949ec0 n/a (n/a + 0x0)
#16 0x00005a1a2afb1152 n/a (n/a + 0x0)
#17 0x00005a1a2afb2e40 n/a (n/a + 0x0)
#18 0x00005a1a2afb22bc n/a (n/a + 0x0)
#19 0x0000723cb364c1d0 n/a (/usr/lib/libc.so.6 + 0x3d1d0)
#20 0x00005a1a2a949ec0 n/a (n/a + 0x0)
#21 0x00005a1a2afb1152 n/a (n/a + 0x0)
#22 0x00005a1a2afb2e40 n/a (n/a + 0x0)
#23 0x00005a1a2afb22bc n/a (n/a + 0x0)
#24 0x0000723cb364c1d0 n/a (/usr/lib/libc.so.6 + 0x3d1d0)
#25 0x00005a1a2a949ec0 n/a (n/a + 0x0)
#26 0x00005a1a2afb1152 n/a (n/a + 0x0)
#27 0x00005a1a2afb2e40 n/a (n/a + 0x0)
#28 0x00005a1a2afb22bc n/a (n/a + 0x0)
#29 0x0000723cb364c1d0 n/a (/usr/lib/libc.so.6 + 0x3d1d0)
#30 0x00005a1a2a949ec0 n/a (n/a + 0x0)
#31 0x00005a1a2afb1152 n/a (n/a + 0x0)
#32 0x00005a1a2afb2e40 n/a (n/a + 0x0)
#33 0x00005a1a2afb22bc n/a (n/a + 0x0)
#34 0x0000723cb364c1d0 n/a (/usr/lib/libc.so.6 + 0x3d1d0)
#35 0x00005a1a2a949ec0 n/a (n/a + 0x0)
#36 0x00005a1a2afb1152 n/a (n/a + 0x0)
#37 0x00005a1a2afb2e40 n/a (n/a + 0x0)
#38 0x00005a1a2afb22bc n/a (n/a + 0x0)
#39 0x0000723cb364c1d0 n/a (/usr/lib/libc.so.6 + 0x3d1d0)
#40 0x00005a1a2a949ec0 n/a (n/a + 0x0)
#41 0x00005a1a2afb1152 n/a (n/a + 0x0)
#42 0x00005a1a2afb2e40 n/a (n/a + 0x0)
#43 0x00005a1a2afb22bc n/a (n/a + 0x0)
#44 0x0000723cb364c1d0 n/a (/usr/lib/libc.so.6 + 0x3d1d0)
#45 0x00005a1a2a949ec0 n/a (n/a + 0x0)
#46 0x00005a1a2afb1152 n/a (n/a + 0x0)
#47 0x00005a1a2afb2e40 n/a (n/a + 0x0)
#48 0x00005a1a2afb22bc n/a (n/a + 0x0)
#49 0x0000723cb364c1d0 n/a (/usr/lib/libc.so.6 + 0x3d1d0)
#50 0x00005a1a2a949ec0 n/a (n/a + 0x0)
#51 0x00005a1a2afb1152 n/a (n/a + 0x0)
#52 0x00005a1a2afb2e40 n/a (n/a + 0x0)
#53 0x00005a1a2afb22bc n/a (n/a + 0x0)
#54 0x0000723cb364c1d0 n/a (/usr/lib/libc.so.6 + 0x3d1d0)
#55 0x00005a1a2a949ec0 n/a (n/a + 0x0)
#56 0x00005a1a2afb1152 n/a (n/a + 0x0)
#57 0x00005a1a2afb2e40 n/a (n/a + 0x0)
#58 0x00005a1a2afb22bc n/a (n/a + 0x0)
#59 0x0000723cb364c1d0 n/a (/usr/lib/libc.so.6 + 0x3d1d0)
#60 0x00005a1a2a949ec0 n/a (n/a + 0x0)
#61 0x00005a1a2afb1152 n/a (n/a + 0x0)
#62 0x00005a1a2afb2e40 n/a (n/a + 0x0)
#63 0x00005a1a2afb22bc n/a (n/a + 0x0)

Stack trace of thread 114624:
#0  0x0000723cb37288b2 epoll_wait (/usr/lib/libc.so.6 + 0x1198b2)
#1  0x0000723c97ff6017 n/a (/usr/lib/spa-0.2/support/libspa-support.so + 0x18017)
#2  0x0000723c97fe52b9 n/a (/usr/lib/spa-0.2/support/libspa-support.so + 0x72b9)
#3  0x000071fc030b4863 n/a (/usr/lib/libpipewire-0.3.so.0.1203.0 + 0x23863)
#4  0x0000723cb36a339d n/a (/usr/lib/libc.so.6 + 0x9439d)
#5  0x0000723cb372849c n/a (/usr/lib/libc.so.6 + 0x11949c)

Stack trace of thread 114626:
#0  0x0000723cb371a63d __poll (/usr/lib/libc.so.6 + 0x10b63d)
#1  0x0000723c97f22519 n/a (/usr/lib/libasound.so.2.0.0 + 0x4d519)
#2  0x0000723c97f229ec snd_pcm_wait (/usr/lib/libasound.so.2.0.0 + 0x4d9ec)
#3  0x000071fc0042d9d2 n/a (n/a + 0x0)
ELF object binary architecture: AMD x86-64