Package: linux-image-5.10.0-19-rt-amd64 Severity: important X-Debbugs-Cc: jhlei...@gmail.com
Dear Maintainer, linux-image-5.10.0-19-rt-amd64 drm_kms_helper "flip_done timed out" messages during boot. amdgpu. Only "nomodeset" works. This started upgrading from vunerable linux-image-5.10.0-18-rt-amd64 to linux-image-5.10.0-19-rt-amd64 (Debian security). I see a constant stream of these messages which repeat: [ 16.405686] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:62:crtc-0] flip_done timed out [ 26.645844] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:62:crtc-0] flip_done timed out [ 36.885904] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:52:plane-3] flip_done timed out I see a Linux Mint user has the same problem with 5.10.0.19-amd64 that I have ( https://forums.linuxmint.com/viewtopic.php?t=383942&p=2247003 ). I have an amdgpu. Hardware name: ASUS System Product Name/PRIME B550M-K, BIOS 2803 04/28/2022 (This motherboard has the AMD B550 chipset. I already installed the most recent BIOS version for this motherboard.) CPU model name: AMD Ryzen 7 5700G with Radeon Graphics microcode : 0xa50000d cpu MHz : 1516.675 The system is not completely dead. I can ssh into it from another computer. My daemons like apache,squid and apt-cacher-ng are responsive. The problem is I do not have **any** VTs and lightdm never appears on VT7. Thinking that the "rt" version was fussy about hardware, I tried linux-image-5.10.0-19-amd64 but had the same poor results. I tried some suggestions I found on the internet: I changed from GRUB_CMDLINE_LINUX_DEFAULT="quiet" to GRUB_CMDLINE_LINUX_DEFAULT="quiet video=SVIDEO-1:d" I changed GRUB_CMDLINE_LINUX="zswap.enabled=1 blacklist=watchdog,sp5100_tco" to GRUB_CMDLINE_LINUX="amd_iommu=on iommu=pt amdgpu.noretry=0 amdgpu.lockup_timeout=1000 amdgpu.gpu_recovery=1 amdgpu.audio=0 efi=runtime zswap.enabled=1 blacklist=watchdog,sp5100_tco" These parameter changes did not help. The only way I successfully boot is to either use the vunerable linux-image-5.10.0-18-rt-amd64 or use GRUB_CMDLINE_LINUX="nomodeset zswap.enabled=1 blacklist=watchdog,sp5100_tco" The GUI resolution with "nomodeset" is poor. Please let me know if you need more information. dmesg gives much more context: [ 16.405686] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:62:crtc-0] flip_done timed out [ 16.407440] amdgpu 0000:0a:00.0: [drm] fb0: amdgpudrmfb frame buffer device [ 16.437782] amdgpu 0000:0a:00.0: amdgpu: ring gfx uses VM inv eng 0 on hub 0 [ 16.437786] amdgpu 0000:0a:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0 [ 16.437787] amdgpu 0000:0a:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0 [ 16.437788] amdgpu 0000:0a:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0 [ 16.437789] amdgpu 0000:0a:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0 [ 16.437789] amdgpu 0000:0a:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0 [ 16.437790] amdgpu 0000:0a:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0 [ 16.437791] amdgpu 0000:0a:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0 [ 16.437791] amdgpu 0000:0a:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0 [ 16.437792] amdgpu 0000:0a:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11 on hub 0 [ 16.437793] amdgpu 0000:0a:00.0: amdgpu: ring sdma0 uses VM inv eng 0 on hub 1 [ 16.437794] amdgpu 0000:0a:00.0: amdgpu: ring vcn_dec uses VM inv eng 1 on hub 1 [ 16.437795] amdgpu 0000:0a:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 4 on hub 1 [ 16.437796] amdgpu 0000:0a:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 5 on hub 1 [ 16.437797] amdgpu 0000:0a:00.0: amdgpu: ring jpeg_dec uses VM inv eng 6 on hub 1 [ 16.443571] [drm] Initialized amdgpu 3.40.0 20150101 for 0000:0a:00.0 on minor 0 <snip> [ 26.645844] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:62:crtc-0] flip_done timed out [ 36.885904] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:52:plane-3] flip_done timed out [ 36.885943] ------------[ cut here ]------------ [ 36.885944] WARNING: CPU: 8 PID: 188 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm. c:7391 amdgpu_dm_atomic_commit_tail+0x2361/0x23f0 [amdgpu] [ 36.886067] Modules linked in: raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor as ync_tx xor raid6_pq libcrc32c raid0 multipath linear dm_mod raid1 md_mod hid_generic amdgpu usbhid hi d sd_mod t10_pi sr_mod crc_t10dif crct10dif_generic cdrom gpu_sched i2c_algo_bit ttm crct10dif_pclmul crct10dif_common crc32_pclmul ahci crc32c_intel libahci xhci_pci ghash_clmulni_intel drm_kms_helper xhci_hcd r8169 libata cec realtek mdio_devres aesni_intel libphy libaes usbcore drm crypto_simd scsi_ mod cryptd usb_common glue_helper i2c_piix4 wmi gpio_amdpt gpio_generic button [ 36.886088] CPU: 8 PID: 188 Comm: kworker/8:1 Not tainted 5.10.0-19-rt-amd64 #1 Debian 5.10.149-1 [ 36.886091] Hardware name: ASUS System Product Name/PRIME B550M-K, BIOS 2803 04/28/2022 [ 36.886092] Workqueue: events drm_fb_helper_dirty_work [drm_kms_helper] [ 36.886101] RIP: 0010:amdgpu_dm_atomic_commit_tail+0x2361/0x23f0 [amdgpu] [ 36.886201] Code: a8 fd ff ff 01 c7 85 a4 fd ff ff 37 00 00 00 c7 85 ac fd ff ff 20 00 00 00 e8 2b c1 13 00 e9 03 fb ff ff 0f 0b e9 74 f9 ff ff <0f> 0b e9 c1 f9 ff ff 0f 0b 0f 0b e9 d8 f9 ff ff 49 8b 06 41 0f b6 [ 36.886203] RSP: 0018:ffffa43fc0773a78 EFLAGS: 00010202 [ 36.886204] RAX: 0000000000000002 RBX: 0000000000000734 RCX: 0000000000000000 [ 36.886205] RDX: 0000000000000001 RSI: ffffffffbaf1512c RDI: 00000000ffffffff [ 36.886206] RBP: ffffa43fc0773d70 R08: 0000000000000005 R09: 0000000000000000 [ 36.886206] R10: ffffa43fc07739d8 R11: ffffa43fc07739dc R12: ffff898cd5137120 [ 36.886207] R13: ffff898cd5137000 R14: ffff898cd521ec00 R15: ffff898ce2392c80 [ 36.886208] FS: 0000000000000000(0000) GS:ffff899b8e400000(0000) knlGS:0000000000000000 [ 36.886209] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 36.886210] CR2: 0000556d1b5e3078 CR3: 0000000376c10000 CR4: 0000000000750ee0 [ 36.886211] PKRU: 55555554 [ 36.886211] Call Trace: [ 36.886217] ? __irq_work_queue_local+0x39/0xb0 [ 36.886220] ? irq_work_queue+0x39/0x70 [ 36.886222] ? wake_up_klogd.part.0+0x4f/0x90 [ 36.886224] ? vprintk_emit+0x3c/0x60 [ 36.886226] ? printk+0x62/0x7d [ 36.886228] ? drm_atomic_helper_wait_for_dependencies+0x1e4/0x200 [drm_kms_helper] [ 36.886237] ? __drm_err+0x72/0x90 [drm] [ 36.886255] commit_tail+0x94/0x130 [drm_kms_helper] [ 36.886264] drm_atomic_helper_commit+0x11b/0x140 [drm_kms_helper] [ 36.886271] drm_atomic_helper_dirtyfb+0x188/0x260 [drm_kms_helper] [ 36.886280] drm_fb_helper_dirty_work+0x188/0x1c0 [drm_kms_helper] [ 36.886288] process_one_work+0x1ad/0x3d0 [ 36.886292] ? process_one_work+0x3d0/0x3d0 [ 36.886293] worker_thread+0x50/0x3b0 [ 36.886295] ? process_one_work+0x3d0/0x3d0 [ 36.886297] kthread+0x186/0x1a0 [ 36.886299] ? __kthread_parkme+0xa0/0xa0 [ 36.886300] ret_from_fork+0x22/0x30 [ 36.886304] ---[ end trace 0000000000000002 ]--- [ 36.886319] ------------[ cut here ]------------ [ 36.886319] WARNING: CPU: 8 PID: 188 at kernel/rcu/tree_plugin.h:297 rcu_note_context_switch+0x52/0x600[ 36.886323] Modules linked in: raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid0 multipath linear dm_mod raid1 md_mod hid_generic amdgpu usbhid hid sd_mod t10_pi sr_mod crc_t10dif crct10dif_generic cdrom gpu_sched i2c_algo_bit ttm crct10dif_pclmul crct10dif_common crc32_pclmul ahci crc32c_intel libahci xhci_pci ghash_clmulni_intel drm_kms_helperxhci_hcd r8169 libata cec realtek mdio_devres aesni_intel libphy libaes usbcore drm crypto_simd scsi_mod cryptd usb_common glue_helper i2c_piix4 wmi gpio_amdpt gpio_generic button [ 36.886336] CPU: 8 PID: 188 Comm: kworker/8:1 Not tainted 5.10.0-19-rt-amd64 #1 Debian 5.10.149-1 [ 36.886338] Hardware name: ASUS System Product Name/PRIME B550M-K, BIOS 2803 04/28/2022 [ 36.886338] Workqueue: events drm_fb_helper_dirty_work [drm_kms_helper] [ 36.886345] RIP: 0010:rcu_note_context_switch+0x52/0x600 [ 36.886347] Code: ff 7e 00 89 c0 48 03 1c c5 00 49 f8 ba 0f 1f 44 00 00 45 84 e4 75 15 65 48 8b 04 25 80 bc 01 00 8b b8 c4 07 00 00 85 ff 7e 02 <0f> 0b 65 48 8b 04 25 80 bc 01 00 8b b0 c4 07 00 00 85 f6 7e 0e 41 [ 36.886348] RSP: 0018:ffffa43fc07737c8 EFLAGS: 00010002 [ 36.886349] RAX: ffff898ce1bcca40 RBX: ffff899b8e42d800 RCX: 0000000000000000 [ 36.886349] RDX: 0000000000000000 RSI: ffffffffbaf1512c RDI: 0000000000000001 [ 36.886350] RBP: ffffa43fc0773860 R08: 0000000000000000 R09: ffffa43fc0773878 [ 36.886350] R10: ffffa43fc0773870 R11: ffff899bce277d28 R12: 0000000000000000 [ 36.886351] R13: ffff898ce1bcca40 R14: ffff898ce1bcca40 R15: 000000000002cb00 [ 36.886352] FS: 0000000000000000(0000) GS:ffff899b8e400000(0000) knlGS:0000000000000000 [ 36.886352] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 36.886353] CR2: 0000556d1b5e3078 CR3: 0000000376c10000 CR4: 0000000000750ee0 [ 36.886354] PKRU: 55555554 [ 36.886354] Call Trace: [ 36.886356] __schedule+0x9c/0x980 [ 36.886358] ? _raw_spin_unlock_irqrestore+0x20/0x60 [ 36.886360] schedule+0x5f/0x120 [ 36.886358] ? _raw_spin_unlock_irqrestore+0x20/0x60 [ 36.886360] schedule+0x5f/0x120 [ 36.886361] schedule_timeout+0x8b/0x1a0 [ 36.886362] ? __next_timer_interrupt+0x110/0x110 [ 36.886365] msleep+0x2a/0x40 [ 36.886366] pr_flush+0x14a/0x1a0 [ 36.886368] ? amdgpu_dm_atomic_commit_tail+0x2361/0x23f0 [amdgpu] [ 36.886469] __warn.cold+0x13/0x3d [ 36.886472] ? amdgpu_dm_atomic_commit_tail+0x2361/0x23f0 [amdgpu] [ 36.886562] report_bug+0x9e/0xc0 [ 36.886565] handle_bug+0x35/0x80 [ 36.886567] exc_invalid_op+0x14/0x70 [ 36.886568] asm_exc_invalid_op+0x12/0x20 [ 36.886570] RIP: 0010:amdgpu_dm_atomic_commit_tail+0x2361/0x23f0 [amdgpu] [ 36.886636] Code: a8 fd ff ff 01 c7 85 a4 fd ff ff 37 00 00 00 c7 85 ac fd ff ff 20 00 00 00 e8 2b c1 13 00 e9 03 fb ff ff 0f 0b e9 74 f9 ff ff <0f> 0b e9 c1 f9 ff ff 0f 0b 0f 0b e9 d8 f9 ff ff 49 8b 06 41 0f b6 [ 36.886637] RSP: 0018:ffffa43fc0773a78 EFLAGS: 00010202 [ 36.886637] RAX: 0000000000000002 RBX: 0000000000000734 RCX: 0000000000000000 [ 36.886638] RDX: 0000000000000001 RSI: ffffffffbaf1512c RDI: 00000000ffffffff [ 36.886638] RBP: ffffa43fc0773d70 R08: 0000000000000005 R09: 0000000000000000 [ 36.886638] R10: ffffa43fc07739d8 R11: ffffa43fc07739dc R12: ffff898cd5137120 [ 36.886639] R13: ffff898cd5137000 R14: ffff898cd521ec00 R15: ffff898ce2392c80 [ 36.886640] ? amdgpu_dm_atomic_commit_tail+0x1d1a/0x23f0 [amdgpu] [ 36.886697] ? __irq_work_queue_local+0x39/0xb0 [ 36.886699] ? irq_work_queue+0x39/0x70 [ 36.886700] ? wake_up_klogd.part.0+0x4f/0x90 [ 36.886701] ? vprintk_emit+0x3c/0x60 [ 36.886701] ? printk+0x62/0x7d [ 36.886702] ? drm_atomic_helper_wait_for_dependencies+0x1e4/0x200 [drm_kms_helper] [ 36.886708] ? __drm_err+0x72/0x90 [drm] [ 36.886719] commit_tail+0x94/0x130 [drm_kms_helper] [ 36.886724] drm_atomic_helper_commit+0x11b/0x140 [drm_kms_helper] [ 36.886729] drm_atomic_helper_dirtyfb+0x188/0x260 [drm_kms_helper] [ 36.886734] drm_fb_helper_dirty_work+0x188/0x1c0 [drm_kms_helper] [ 36.886739] process_one_work+0x1ad/0x3d0 [ 36.886740] ? process_one_work+0x3d0/0x3d0 [ 36.886741] worker_thread+0x50/0x3b0 [ 36.886742] ? process_one_work+0x3d0/0x3d0 [ 36.886743] kthread+0x186/0x1a0 [ 36.886744] ? __kthread_parkme+0xa0/0xa0 [ 36.886745] ret_from_fork+0x22/0x30 [ 36.886747] ---[ end trace 0000000000000003 ]--- [ 39.065933] ------------[ cut here ]------------ -- System Information: Debian Release: 11.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-19-amd64 (SMP w/16 CPU threads) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages linux-image-5.10.0-19-rt-amd64 depends on: ii initramfs-tools [linux-initramfs-tool] 0.140 ii kmod 28-1 ii linux-base 4.6 Versions of packages linux-image-5.10.0-19-rt-amd64 recommends: ii apparmor 2.13.6-10 ii firmware-linux-free 20200122-1 Versions of packages linux-image-5.10.0-19-rt-amd64 suggests: pn debian-kernel-handbook <none> ii grub-efi-amd64 2.06-3~deb11u2 pn linux-doc-5.10 <none>