kwin_wayland_drm: Pageflip timed out! This is a bug in the amdgpu kernel driver
Brief summary of the problem:
Hello,
I get these errors while doing my daily work. When this happens, the desktop freezes. All i can do is switch to a terminal and reboot.
Please let me know if you need further info.
Thank you
Hardware description:
- CPU: Ryzen 7 7800X3D
- GPU: AMD Radeon RX 7900 XT
- System Memory: 64GB DDR5 6000MHz
- Display(s): Corsair Xeneon 27QHD240 2560x1440 @ 120 Hz in 27"
- Type of Display Connection: DP
System information:
- Distro name and Version: Arch Linux x86_64
- Kernel version: Linux hostname 6.13.2-arch1-1 #1 (closed) SMP PREEMPT_DYNAMIC Sat, 08 Feb 2025 18:54:55 +0000 x86_64 GNU/Linux
- Custom kernel:
- AMD official driver version: N/A
How to reproduce the issue:
I have no idea how to force this to happen. It seems completely random to me... BTW: This never happened while gaming.
Log files (for system lockups / game freezes / crashes)
fev 19 10:54:42 hostname kwin_wayland[1053]: kwin_wayland_drm: Pageflip timed out! This is a bug in the amdgpu kernel driver
fev 19 10:54:42 hostname kwin_wayland[1053]: kwin_wayland_drm: Please report this at https://gitlab.freedesktop.org/drm/amd/-/issues
fev 19 10:54:42 hostname kwin_wayland[1053]: kwin_wayland_drm: With the output of 'sudo dmesg' and 'journalctl --user-unit plasma-kwin_wayland --boot 0'
fev 19 10:53:24 hostname kernel: amdgpu 0000:03:00.0: [drm] *ERROR* [CRTC:79:crtc-0] flip_done timed out
fev 19 10:53:29 hostname kernel: [drm:amdgpu_dm_atomic_check [amdgpu]] *ERROR* [CRTC:79:crtc-0] hw_done or flip_done timed out
fev 19 10:53:39 hostname kernel: amdgpu 0000:03:00.0: [drm] *ERROR* flip_done timed out
fev 19 10:53:39 hostname kernel: amdgpu 0000:03:00.0: [drm] *ERROR* [CRTC:79:crtc-0] commit wait timed out
fev 19 10:53:50 hostname kernel: amdgpu 0000:03:00.0: [drm] *ERROR* flip_done timed out
fev 19 10:53:50 hostname kernel: amdgpu 0000:03:00.0: [drm] *ERROR* [PLANE:76:plane-6] commit wait timed out
fev 19 10:53:50 hostname kernel: ------------[ cut here ]------------
fev 19 10:53:50 hostname kernel: WARNING: CPU: 15 PID: 198 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:8598 amdgpu_dm_atomic_commit_tail+0x39fb/0x3ae0 [amdgpu]
fev 19 10:53:50 hostname kernel: Modules linked in: ppp_deflate bsd_comp ppp_async ppp_generic slhc tls uinput rfcomm snd_seq_dummy snd_hrtimer snd_seq nft_masq nft_ct nft_reject_ipv4 nft_reject act_csum cls_u32 sch_htb nft_chain_nat nf_nat nf_tables bridge stp llc uhid cmac algif_hash algif_skcipher a>
fev 19 10:53:50 hostname kernel: nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c ip6table_filter ip6_tables iptable_filter nct6775 nct6775_core hwmon_vid i2c_dev crypto_user loop nfnetlink ip_tables x_tables ext4 crc32c_generic mbcache jbd2 dm_crypt cbc encrypted_keys trusted asn1_encoder tee crct10dif_pclmul>
fev 19 10:53:50 hostname kernel: CPU: 15 UID: 0 PID: 198 Comm: kworker/15:1 Not tainted 6.13.2-arch1-1 #1 0973c91260d936c90a829134c4296c40fdd8c0c0
fev 19 10:53:50 hostname kernel: Hardware name: ASRock B650M PG Riptide/B650M PG Riptide, BIOS 3.16 12/18/2024
fev 19 10:53:50 hostname kernel: Workqueue: events fbcon_register_existing_fbs
fev 19 10:53:50 hostname kernel: RIP: 0010:amdgpu_dm_atomic_commit_tail+0x39fb/0x3ae0 [amdgpu]
fev 19 10:53:50 hostname kernel: Code: fd ea e9 db fd ff ff 49 8d 87 f8 31 04 00 c6 85 30 fe ff ff 00 48 89 85 40 fe ff ff e9 31 cc ff ff 0f 0b 0f 0b e9 55 f3 ff ff <0f> 0b e9 6d f3 ff ff 0f 0b e9 5c cc ff ff 48 c7 85 20 fe ff ff 00
fev 19 10:53:50 hostname kernel: RSP: 0018:ffffb90680c77928 EFLAGS: 00010082
fev 19 10:53:50 hostname kernel: RAX: 0000000000000001 RBX: 0000000000000286 RCX: ffff902256296118
fev 19 10:53:50 hostname kernel: RDX: 0000000000000001 RSI: 0000000000000297 RDI: ffff902259900178
fev 19 10:53:50 hostname kernel: RBP: ffffb90680c77b78 R08: ffffb90680c77814 R09: 0000000000000000
fev 19 10:53:50 hostname kernel: R10: ffffb90680c77880 R11: ffffb90680c77884 R12: 0000000000000000
fev 19 10:53:50 hostname kernel: R13: 0000000000000001 R14: ffff902256296000 R15: ffff9022a3ec1e00
fev 19 10:53:50 hostname kernel: FS: 0000000000000000(0000) GS:ffff90315df80000(0000) knlGS:0000000000000000
fev 19 10:53:50 hostname kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
fev 19 10:53:50 hostname kernel: CR2: 000013f4013bc000 CR3: 0000000f412c2000 CR4: 0000000000f50ef0
fev 19 10:53:50 hostname kernel: PKRU: 55555554
fev 19 10:53:50 hostname kernel: Call Trace:
fev 19 10:53:50 hostname kernel: <TASK>
fev 19 10:53:50 hostname kernel: ? amdgpu_dm_atomic_commit_tail+0x39fb/0x3ae0 [amdgpu 03381fca259d0f525aa4d1d7cc3e40c6c7270b4a]
fev 19 10:53:50 hostname kernel: ? __warn.cold+0x93/0xf6
fev 19 10:53:50 hostname kernel: ? amdgpu_dm_atomic_commit_tail+0x39fb/0x3ae0 [amdgpu 03381fca259d0f525aa4d1d7cc3e40c6c7270b4a]
fev 19 10:53:50 hostname kernel: ? report_bug+0xff/0x140
fev 19 10:53:50 hostname kernel: ? handle_bug+0x58/0x90
fev 19 10:53:50 hostname kernel: ? exc_invalid_op+0x17/0x70
fev 19 10:53:50 hostname kernel: ? asm_exc_invalid_op+0x1a/0x20
fev 19 10:53:50 hostname kernel: ? amdgpu_dm_atomic_commit_tail+0x39fb/0x3ae0 [amdgpu 03381fca259d0f525aa4d1d7cc3e40c6c7270b4a]
fev 19 10:53:50 hostname kernel: ? amdgpu_dm_atomic_commit_tail+0x2d3d/0x3ae0 [amdgpu 03381fca259d0f525aa4d1d7cc3e40c6c7270b4a]
fev 19 10:53:50 hostname kernel: commit_tail+0x91/0x130
fev 19 10:53:50 hostname kernel: drm_atomic_helper_commit+0x11a/0x140
fev 19 10:53:50 hostname kernel: drm_atomic_commit+0xaf/0xe0
fev 19 10:53:50 hostname kernel: ? __pfx___drm_printfn_info+0x10/0x10
fev 19 10:53:50 hostname kernel: drm_client_modeset_commit_atomic+0x203/0x250
fev 19 10:53:50 hostname kernel: drm_client_modeset_commit_locked+0x5a/0x160
fev 19 10:53:50 hostname kernel: drm_client_modeset_commit+0x25/0x40
fev 19 10:53:50 hostname kernel: __drm_fb_helper_restore_fbdev_mode_unlocked+0x85/0xd0
fev 19 10:53:50 hostname kernel: drm_fb_helper_set_par+0x30/0x40
fev 19 10:53:50 hostname kernel: fbcon_init+0x2e6/0x630
fev 19 10:53:50 hostname kernel: visual_init+0xcb/0x130
fev 19 10:53:50 hostname kernel: do_bind_con_driver.isra.0+0x1e6/0x2f0
fev 19 10:53:50 hostname kernel: do_take_over_console+0x15e/0x190
fev 19 10:53:50 hostname kernel: do_fbcon_takeover+0x66/0xe0
fev 19 10:53:50 hostname kernel: fbcon_register_existing_fbs+0x3f/0x70
fev 19 10:53:50 hostname kernel: process_one_work+0x17b/0x330
fev 19 10:53:50 hostname kernel: worker_thread+0x2ce/0x3f0
fev 19 10:53:50 hostname kernel: ? __pfx_worker_thread+0x10/0x10
fev 19 10:53:50 hostname kernel: kthread+0xcf/0x100
fev 19 10:53:50 hostname kernel: ? __pfx_kthread+0x10/0x10
fev 19 10:53:50 hostname kernel: ret_from_fork+0x31/0x50
fev 19 10:53:50 hostname kernel: ? __pfx_kthread+0x10/0x10
fev 19 10:53:50 hostname kernel: ret_from_fork_asm+0x1a/0x30
fev 19 10:53:50 hostname kernel: </TASK>
fev 19 10:53:50 hostname kernel: ---[ end trace 0000000000000000 ]---