kwin_wayland_drm: Pageflip timed out! This is a kernel bug
i get random hard freezes of Wayland KDE Plasma. Sometimes can be fine for weeks, and other times i get the issue multiple times a day. This typically occurs around suspend/thaw, however the attached files cover a crash when attempting to moving a window. i've had this for a number of months with many attempted fixes but none had resolved the issue. This time i was able to get more info to help fix the problem. This issue was also experienced on Gnome 46 however i only used that for reproducing. The below info is of the issue on KDE.
This was originally reported: https://bugs.kde.org/show_bug.cgi?id=493277, but they've passed me here.
in this specific scenario, the laptop was connected to the Lenovo TB3 dock (type 40AC) via a certified TB3 cable (99% of the time, laptop is connected via dock), and entered sleep. While the laptop was asleep, the USBC/TB3 connection was removed. Laptop was woken up without any peripherals connected, a window was resized and the crash occurred. I havent had any luck with sugestions of SysRq+REISUB method i found online when trying to get more info on the issue, but SSH did work to obtain the following attachments.
journalctl_-b_-1.txt backtrace.txt
Backtrace file should have 2 attempts; one before and one after installing the kwin-wayland-debuginfo package.
Recovery on the laptop is a press&hold power button till laptop turns off, so essentially a 'hard crash'. I didnt think to try a graceful restart via SSH at the time, but i assume that would work since SSH responds.
laptop is a Framework 13 i5-1240p laptop, latest Fedora40 KDE spin.
$ uname -srvmo
Linux 6.10.11-200.fc40.x86_64
#1 (moved) SMP PREEMPT_DYNAMIC Wed Sep 18 21:09:58 UTC 2024 x86_64 GNU/Linux
$ sudo lspci -vnn -d :*:0300
00:02.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-P GT2 [Iris Xe Graphics] [8086:46a6] (rev 0c) (prog-if 00 [VGA controller]) Subsystem: Framework Computer Inc. Device [f111:0002] Flags: bus master, fast devsel, latency 0, IRQ 163, IOMMU group 0 Memory at 605c000000 (64-bit, non-prefetchable) [size=16M] Memory at 4000000000 (64-bit, prefetchable) [size=256M] I/O ports at 3000 [size=64] Expansion ROM at 000c0000 [virtual] [disabled] [size=128K] Capabilities: [40] Vendor Specific Information: Len=0c <?> Capabilities: [70] Express Root Complex Integrated Endpoint, IntMsgNum 0 Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable+ 64bit- Capabilities: [d0] Power Management version 2 Capabilities: [100] Process Address Space ID (PASID) Capabilities: [200] Address Translation Service (ATS) Capabilities: [300] Page Request Interface (PRI) Capabilities: [320] Single Root I/O Virtualization (SR-IOV) Kernel driver in use: i915 Kernel modules: i915, xe
edit: my appologies if the above is poorly formated. at original posting time, i couldnt edit and now i can edit, it doesnt look quite like i remember after using the code tags.