Frozen Screen/System lockup with KDE Plasma (Wayland) with Kernel 6.12.1

Hello!

Last night I had the problem that the display on one of my two screens froze in the middle of use (I was doing something on the desktop). However, I was able to move the mouse briefly on the other one and then it also froze. I was using kernel 6.12.1-arch1-1 at the time.

After the Lockup (Nov 25 18:36) I switched to the LTS kernel and was able to use the system normally again.

Output with inxi -Fxxc0z LTS kernel 6.6.63:

System:
  Kernel: 6.6.63-1-lts arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
  Desktop: KDE Plasma v: 6.2.3 tk: Qt v: N/A wm: kwin_wayland dm: SDDM
    Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Desktop Mobo: ASRock model: X570 Taichi serial: <superuser required>
    UEFI: American Megatrends v: P5.63 date: 08/22/2024
CPU:
  Info: 12-core model: AMD Ryzen 9 5900X bits: 64 type: MT MCP arch: Zen 3+
    rev: 0 cache: L1: 768 KiB L2: 6 MiB L3: 64 MiB
  Speed (MHz): avg: 3771 min/max: 2200/4950 boost: enabled cores: 1: 3771
    2: 3771 3: 3771 4: 3771 5: 3771 6: 3771 7: 3771 8: 3771 9: 3771 10: 3771
    11: 3771 12: 3771 13: 3771 14: 3771 15: 3771 16: 3771 17: 3771 18: 3771
    19: 3771 20: 3771 21: 3771 22: 3771 23: 3771 24: 3771 bogomips: 177694
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900
    XTX/7900 GRE/7900M] vendor: Sapphire NITRO+ driver: amdgpu v: kernel
    arch: RDNA-3 pcie: speed: 16 GT/s lanes: 16 ports: active: DP-1,DP-2
    empty: HDMI-A-1,HDMI-A-2 bus-ID: 0f:00.0 chip-ID: 1002:744c
  Display: wayland server: X.org v: 1.21.1.14 with: Xwayland v: 24.1.4
    compositor: kwin_wayland driver: X: loaded: amdgpu
    unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu d-rect: 5120x1440 display-ID: 0
  Monitor-1: DP-1 pos: primary,left res: 2560x1440 size: N/A
  Monitor-2: DP-2 pos: right res: 2560x1440 size: N/A
  API: EGL v: 1.5 platforms: device: 0 drv: radeonsi device: 1 drv: swrast
    gbm: drv: kms_swrast surfaceless: drv: radeonsi wayland: drv: radeonsi x11:
    drv: radeonsi
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.2.7-arch1.1
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 7900 XTX (radeonsi
    navi31 LLVM 18.1.8 DRM 3.54 6.6.63-1-lts) device-ID: 1002:744c
    display-ID: :1.0
  API: Vulkan v: 1.3.295 surfaces: xcb,xlib,wayland device: 0
    type: discrete-gpu driver: mesa radv device-ID: 1002:744c
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 31 HDMI/DP Audio
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 0f:00.1 chip-ID: 1002:ab30
  Device-2: Samson Meteor condenser microphone
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
    lanes: 1 bus-ID: 5-1:2 chip-ID: 17a0:0310
  API: ALSA v: k6.6.63-1-lts status: kernel-api
  Server-1: PipeWire v: 1.2.6 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Aquantia AQtion AQC107 NBase-T/IEEE 802.3an Ethernet [Atlantic
    10G] vendor: QNAP Systems QM2-2P10G1TA driver: atlantic v: kernel pcie:
    speed: 8 GT/s lanes: 4 port: N/A bus-ID: 03:00.0 chip-ID: 1d6a:07b1
  IF: enp3s0 state: up speed: 10000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 7.74 TiB used: 3.79 TiB (48.9%)
  ID-1: /dev/nvme0n1 vendor: Crucial model: CT2000P5SSD8 size: 1.82 TiB
    speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 41.9 C
  ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 980 PRO 1TB size: 931.51 GiB
    speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 40.9 C
  ID-3: /dev/sda vendor: Samsung model: SSD 850 PRO 512GB size: 476.94 GiB
    speed: 6.0 Gb/s serial: <filter>
  ID-4: /dev/sdb vendor: Crucial model: CT1000MX500SSD1 size: 931.51 GiB
    speed: 6.0 Gb/s serial: <filter>
  ID-5: /dev/sdc vendor: Crucial model: CT4000MX500SSD1 size: 3.64 TiB
    speed: 6.0 Gb/s serial: <filter>
Partition:
  ID-1: / size: 906.19 GiB used: 299.07 GiB (33.0%) fs: ext4
    dev: /dev/nvme1n1p2
Swap:
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/nvme1n1p3
Sensors:
  System Temperatures: cpu: 33.0 C mobo: 33.0 C gpu: amdgpu temp: 40.0 C
    mem: 50.0 C
  Fan Speeds (rpm): fan-1: 618 fan-2: 578 fan-3: 570 fan-4: 637 fan-5: 2166
    fan-6: 0 fan-7: 636 gpu: amdgpu fan: 1
Info:
  Memory: total: 32 GiB available: 31.27 GiB used: 8.01 GiB (25.6%)
  Processes: 434 Power: uptime: 3h 42m wakeups: 2 Init: systemd v: 256
    default: graphical
  Packages: pm: pacman pkgs: 1589 Compilers: clang: 18.1.8 gcc: 14.2.1
    Shell: Bash v: 5.2.37 running-in: konsole inxi: 3.3.36

Output journalctl:

[schatten@shadow359 ~]$ journalctl -p 3 -x --since="2024-11-25 17:00:01"
Nov 25 18:24:34 shadow359 kernel: Bluetooth: hci0: Device boot timeout
Nov 25 18:24:34 shadow359 kernel: Bluetooth: hci0: FW download error recovery failed (-110)
Nov 25 18:24:34 shadow359 kernel: Bluetooth: hci0: Reading supported features failed (-110)
Nov 25 18:24:34 shadow359 kernel: Bluetooth: hci0: Failed to read MSFT supported features (-110)
Nov 25 18:24:50 shadow359 org_kde_powerdevil[1443]: busno=9, All features that should not exist detected. Monitor does not indicate unsupported
Nov 25 18:24:50 shadow359 org_kde_powerdevil[1443]: busno=10, All features that should not exist detected. Monitor does not indicate unsupported
Nov 25 18:30:35 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:30:38 shadow359 kernel: amdgpu 0000:0f:00.0: [drm] *ERROR* [CRTC:79:crtc-0] flip_done timed out
Nov 25 18:30:42 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:30:47 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:30:52 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:30:57 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:31:02 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:31:07 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:31:12 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:31:17 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:31:22 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:31:27 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:31:32 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:31:37 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:31:42 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:31:47 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:31:52 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:31:57 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:32:02 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:32:07 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:32:12 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:32:17 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:32:22 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:32:27 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:32:32 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:32:37 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:32:42 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:32:47 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:32:52 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:32:57 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:33:02 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:33:07 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:33:12 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:33:17 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:33:22 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:33:27 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:33:32 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:33:37 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:33:42 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:33:47 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:33:52 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:33:57 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:34:02 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:34:07 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:34:12 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:34:17 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:34:22 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:34:27 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:34:32 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:34:37 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:34:42 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:34:47 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:34:52 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:34:57 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:35:02 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:35:07 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:35:12 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:35:17 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:35:22 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:35:27 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:35:32 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:35:37 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:35:42 shadow359 kwin_wayland[1128]: kwin_wayland_drm: Pageflip timed out! This is a kernel bug
Nov 25 18:35:56 shadow359 kernel: amdgpu 0000:0f:00.0: [drm] *ERROR* flip_done timed out
Nov 25 18:35:56 shadow359 kernel: amdgpu 0000:0f:00.0: [drm] *ERROR* [CRTC:79:crtc-0] commit wait timed out
Nov 25 18:36:06 shadow359 kernel: amdgpu 0000:0f:00.0: [drm] *ERROR* flip_done timed out
Nov 25 18:36:06 shadow359 kernel: amdgpu 0000:0f:00.0: [drm] *ERROR* [PLANE:76:plane-6] commit wait timed out
Nov 25 18:36:40 shadow359 dbus-broker-launch[783]: Activation request for 'org.freedesktop.nm_dispatcher' failed.
Nov 25 18:36:41 shadow359 kernel: watchdog: watchdog0: watchdog did not stop!

The question now is whether it is really the kernel, KDE Plasma or Wayland itself? Or is it something else?

Edit 1: Never had a Problem like this before with EndeavourOS.

I had no more freezes/lockups. It was really the kernel. I learned something again. :slight_smile:

Great that the problem got resolved

How did you find out it was the kernel?

Hello @SemLraug!

Unfortunately, I can only give you an answer that is certainly not correct.

Since I switched to the LTS kernel, the system no longer froze, whether I was playing games, using Firefox or doing things in programs or on the desktop. Unfortunately, the freezing happened at random and I couldn’t provoke it with anything special.

It happened right after installing the new kernel 6.12.1 and disappeared after using the LTS kernel. Before that with 6.11.x there was no such problem.

I’m sorry I can’t explain this better.

No problem - just curious.

I did try to find some other reports about this and found [1] where people suggested downgrading the kernel, but also suggested using amdgpu.dcdebugmask=0x12.

[1] https://bbs.archlinux.org/viewtopic.php?pid=2191514#p2191514

1 Like

For me as a rather inexperienced user, switching to the LTS kernel was easy as I have both kernels installed anyway. It was just the easiest way for me.

2 Likes

I have a similar issue, except in my case it happens with the 6.6 LTS kernel

I’ve had this issue very rarely. It has probably happen maybe three times in the last few months I believe. Can’t really reproduce. It just goes away after its own. In my case, I’m not sure if it is related to the kernel since it so rarely happens in the first place.

Hello @CursedAuroran!

Very interesting. I haven’t had this problem again since the system has been using the LTS kernel.

What kind of graphics card is installed in the system?

7800 XT

To make it even funnier, the issue started after an unsuspend, not after a system update

Hello @CursedAuroran!

Can you test the kernel 6.12.3? Yesterday it ran stable for more than an hour but I will test it longer today. I’ll report back again in the evening.

Already found the issue. A steam client update seems to have caused an instability with games run via Steam. Switching to the Beta client fixed it

I think I’m running into a similar issue; I updated to 6.12.3; will see if that resolves the issue

Hello @CursedAuroran!

So it was a different problem. I’m glad you were able to solve it. The kernel 6.12.3 has been running well for me so far after about 9 hours. I can put the system in energy saving mode and it wakes up normally, browsing (Firefox) and playing (just Kingdom Come Deliverance (Lutris with Proton 9.0)) is also running without problems so far.

But I don’t know if the new kernel has solved the problem and/or maybe the new Mesa drivers.

@helpcomputer

I’ll keep my fingers crossed for you.

So its been several days and 6.12.3 has been working as expected with sleep.

I still haven’t tested bluetooth yet…I’m worried it’ll mess up my system and I don’t have the time or energy to distro hop or reinstall Endeavour OS at the moment.

But thank you for that suggestion at least! :slight_smile:

1 Like

I had issues with a black screen upon resume with 6.12 until either .3 or .4 (current as of writing). Adding the LTS as backup has been helpful for troubleshooting.

1 Like

The problem has not reoccurred on my system after using kernel 6.12.3 or now 6.12.4.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.