5.11-rc7 - 5.11: Frozen screen after boot (RX 5700 XT)
Brief summary of the problem:
Kernel 5.11-rc7 seems to have introduced a frozen screen when the display manager gets loaded. The issue is still present in the just released 5.11 kernel. 5.11-rc6 is working fine, which I am using right now.
Hardware description:
- CPU: Ryzen 3950X
- GPU: PowerColor RX 5700 XT RedDevil
- System Memory: 2x16G G.Skill Trident Z Neo DDR4-3600 CL16-19-19-39
- Display(s): 1920x1080, 1920x1080
- Type of Display Connection: DP->HDMI, HDMI
System infomration:
- Distro name and Version: Arch (rolling - up2date)
- Kernel version: 5.11-rc7 / 5.11
- Custom kernel: 5.11-rc7 / 5.11
- AMD package version: No package
How to reproduce the issue:
After booting the system and loading the display manager (SDDM / XOrg), the entire screen freezes with a black screen and a stuck mouse cursor, and it doesn't react to any key presses, eg. when trying to switch to a different TTY. It then continues regularly after a minute or so, but when trying to log into the desktop (Plasma) or switching TTY to investigate, the entire screen freezes again.
When SSH-ing into my machine, I can only see errors in the dmesg output. The XOrg log file doesn't show anything unusual.
I'm using a self-built kernel with the default PKGBUILD + kernel config of my distro, but with three additional patches which are unrelated to the DRM/AMDGPU stuff, so I don't think this is the problem.
Attached files:
dmesg excerpt:
Feb 15 04:48:10 basti-pc kernel: [drm] amdgpu_dm_irq_schedule_work FAILED src 4
Feb 15 04:48:11 basti-pc kernel: [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:80:crtc-1] flip_done timed out
Feb 15 04:48:12 basti-pc kernel: [drm:amdgpu_dm_atomic_check [amdgpu]] *ERROR* [CRTC:80:crtc-1] hw_done or flip_done timed out
Feb 15 04:48:18 basti-pc kernel: [drm] amdgpu_dm_irq_schedule_work FAILED src 4
Feb 15 04:48:18 basti-pc kernel: audit: type=1101 audit(1613360898.406:117): pid=1295 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="basti" exe="/usr/bin/sshd" hostname=192.168.178.98 addr=192.168.178.98 terminal=ssh res=success'
Feb 15 04:48:18 basti-pc kernel: audit: type=1103 audit(1613360898.406:118): pid=1295 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=pam_shells,pam_faillock,pam_permit,pam_env,pam_faillock acct="basti" exe="/usr/bin/sshd" hostname=192.168.178.98 addr=192.168.178.98 terminal=ssh res=success'
Feb 15 04:48:18 basti-pc kernel: audit: type=1006 audit(1613360898.406:119): pid=1295 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=2 res=1
Feb 15 04:48:18 basti-pc kernel: audit: type=1300 audit(1613360898.406:119): arch=c000003e syscall=1 success=yes exit=4 a0=3 a1=7fff358fcaf0 a2=4 a3=3e8 items=0 ppid=959 pid=1295 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=2 comm="sshd" exe="/usr/bin/sshd" key=(null)
Feb 15 04:48:18 basti-pc kernel: audit: type=1327 audit(1613360898.406:119): proctitle=737368643A206261737469205B707269765D
Feb 15 04:48:18 basti-pc kernel: audit: type=1130 audit(1613360898.416:120): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user-runtime-dir@1000 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 15 04:48:18 basti-pc kernel: audit: type=1101 audit(1613360898.419:121): pid=1300 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:accounting grantors=pam_access,pam_unix,pam_permit,pam_time acct="basti" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 15 04:48:18 basti-pc kernel: audit: type=1103 audit(1613360898.419:122): pid=1300 uid=0 auid=4294967295 ses=4294967295 msg='op=PAM:setcred grantors=? acct="basti" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Feb 15 04:48:18 basti-pc kernel: audit: type=1006 audit(1613360898.419:123): pid=1300 uid=0 old-auid=4294967295 auid=1000 tty=(none) old-ses=4294967295 ses=3 res=1
Feb 15 04:48:18 basti-pc kernel: audit: type=1300 audit(1613360898.419:123): arch=c000003e syscall=1 success=yes exit=4 a0=9 a1=7ffeb4c427f0 a2=4 a3=3e8 items=0 ppid=1 pid=1300 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm="(systemd)" exe="/usr/lib/systemd/systemd" key=(null)
Feb 15 04:48:18 basti-pc kernel: [drm] amdgpu_dm_irq_schedule_work FAILED src 4
Feb 15 04:48:22 basti-pc kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:80:crtc-1] flip_done timed out
Feb 15 04:48:26 basti-pc kernel: [drm] amdgpu_dm_irq_schedule_work FAILED src 4
Feb 15 04:48:27 basti-pc kernel: [drm] amdgpu_dm_irq_schedule_work FAILED src 4
Feb 15 04:48:29 basti-pc kernel: kauditd_printk_skb: 9 callbacks suppressed
Feb 15 04:48:29 basti-pc kernel: audit: type=1131 audit(1613360909.546:130): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 15 04:48:29 basti-pc kernel: audit: type=1334 audit(1613360909.759:131): prog-id=20 op=UNLOAD
Feb 15 04:48:29 basti-pc kernel: audit: type=1334 audit(1613360909.759:132): prog-id=19 op=UNLOAD
Feb 15 04:48:32 basti-pc kernel: [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:60:plane-4] flip_done timed out
Feb 15 04:48:32 basti-pc kernel: snd_hda_codec_hdmi hdaudioC1D0: HDMI: ELD buf size is 0, force 128
Feb 15 04:48:32 basti-pc kernel: snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD data byte 0
Feb 15 04:48:32 basti-pc kernel: snd_hda_codec_hdmi hdaudioC1D0: HDMI: ELD buf size is 0, force 128
Feb 15 04:48:32 basti-pc kernel: snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD data byte 0
Feb 15 04:48:32 basti-pc kernel: snd_hda_codec_hdmi hdaudioC1D0: HDMI: ELD buf size is 0, force 128
Feb 15 04:48:32 basti-pc kernel: snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD data byte 0
Feb 15 04:48:32 basti-pc kernel: snd_hda_codec_hdmi hdaudioC1D0: HDMI: ELD buf size is 0, force 128
Feb 15 04:48:32 basti-pc kernel: snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD data byte 0
Feb 15 04:48:32 basti-pc kernel: ------------[ cut here ]------------
Feb 15 04:48:32 basti-pc kernel: WARNING: CPU: 23 PID: 309 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:7754 amdgpu_dm_atomic_commit_tail+0x25b9/0x2650 [amdgpu]
Feb 15 04:48:32 basti-pc kernel: Modules linked in: xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp ip6table_mangle ip6table_nat ip6table_filter ip6_tables iptable_mangle iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_filter bridge stp llc nct6775 hwmon_vid eeepc_wmi asus_wmi sparse_keymap rfkill intel_rapl_msr video wmi_bmof mxm_wmi snd_hda_codec_realtek snd_hda_codec_generic ext4 ledtrig_audio snd_hda_codec_hdmi amdgpu snd_hda_intel snd_intel_dspcfg soundwire_intel soundwire_generic_allocation nls_iso8859_1 soundwire_cadence crc16 intel_rapl_common vfat mbcache fat jbd2 snd_hda_codec snd_hda_core snd_hwdep edac_mce_amd soundwire_bus kvm_amd gpu_sched drm_ttm_helper snd_soc_core ttm joydev snd_compress mousedev kvm drm_kms_helper ac97_bus hid_lg_g710_plus(OE) snd_ctxfi snd_pcm_dmaengine snd_pcm cec syscopyarea irqbypass sysfillrect sysimgblt sp5100_tco rapl pcspkr k10temp i2c_piix4 fb_sys_fops snd_timer igb snd i2c_algo_bit soundcore dca wmi pinctrl_amd
Feb 15 04:48:32 basti-pc kernel: mac_hid acpi_cpufreq drm sg fuse crypto_user agpgart bpf_preload ip_tables x_tables usbhid dm_crypt cbc encrypted_keys dm_mod trusted tpm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel crypto_simd cryptd glue_helper ccp rng_core xhci_pci xhci_pci_renesas btrfs blake2b_generic libcrc32c crc32c_generic crc32c_intel xor raid6_pq
Feb 15 04:48:32 basti-pc kernel: CPU: 23 PID: 309 Comm: kworker/23:1 Tainted: G OE 5.11.0-1-git #1
Feb 15 04:48:32 basti-pc kernel: Hardware name: System manufacturer System Product Name/ROG STRIX X570-F GAMING, BIOS 2802 10/21/2020
Feb 15 04:48:32 basti-pc kernel: Workqueue: events dm_irq_work_func [amdgpu]
Feb 15 04:48:32 basti-pc kernel: RIP: 0010:amdgpu_dm_atomic_commit_tail+0x25b9/0x2650 [amdgpu]
Feb 15 04:48:32 basti-pc kernel: Code: 28 fd ff ff 01 c7 85 24 fd ff ff 37 00 00 00 c7 85 2c fd ff ff 20 00 00 00 e8 03 10 13 00 e9 e4 fa ff ff 0f 0b e9 34 f9 ff ff <0f> 0b e9 83 f9 ff ff 0f 0b 0f 0b e9 99 f9 ff ff 49 8b 06 41 0f b6
Feb 15 04:48:32 basti-pc kernel: RSP: 0018:ffffb82080bcfa18 EFLAGS: 00010002
Feb 15 04:48:32 basti-pc kernel: RAX: 0000000000000002 RBX: 0000000000000004 RCX: ffff9a1c2b98e918
Feb 15 04:48:32 basti-pc kernel: RDX: 0000000000000001 RSI: 0000000000000293 RDI: ffff9a1c33940188
Feb 15 04:48:32 basti-pc kernel: RBP: ffffb82080bcfda8 R08: 0000000000000005 R09: 0000000000000000
Feb 15 04:48:32 basti-pc kernel: R10: ffffb82080bcf978 R11: ffffb82080bcf97c R12: 0000000000000287
Feb 15 04:48:32 basti-pc kernel: R13: ffff9a1c398dc600 R14: ffff9a1c2b98e800 R15: ffff9a1c0760a600
Feb 15 04:48:32 basti-pc kernel: FS: 0000000000000000(0000) GS:ffff9a230efc0000(0000) knlGS:0000000000000000
Feb 15 04:48:32 basti-pc kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 15 04:48:32 basti-pc kernel: CR2: 00007eff87873320 CR3: 000000010b542000 CR4: 0000000000350ee0
Feb 15 04:48:32 basti-pc kernel: Call Trace:
Feb 15 04:48:32 basti-pc kernel: commit_tail+0x94/0x130 [drm_kms_helper]
Feb 15 04:48:32 basti-pc kernel: drm_atomic_helper_commit+0x113/0x140 [drm_kms_helper]
Feb 15 04:48:32 basti-pc kernel: dm_restore_drm_connector_state+0xef/0x170 [amdgpu]
Feb 15 04:48:32 basti-pc kernel: handle_hpd_irq+0x118/0x150 [amdgpu]
Feb 15 04:48:32 basti-pc kernel: dm_irq_work_func+0x49/0x60 [amdgpu]
Feb 15 04:48:32 basti-pc kernel: process_one_work+0x214/0x3e0
Feb 15 04:48:32 basti-pc kernel: worker_thread+0x4d/0x3d0
Feb 15 04:48:32 basti-pc kernel: ? rescuer_thread+0x3c0/0x3c0
Feb 15 04:48:32 basti-pc kernel: kthread+0x133/0x150
Feb 15 04:48:32 basti-pc kernel: ? __kthread_bind_mask+0x60/0x60
Feb 15 04:48:32 basti-pc kernel: ret_from_fork+0x22/0x30
Feb 15 04:48:32 basti-pc kernel: ---[ end trace 7fd4eb184685cbf2 ]---
Feb 15 04:48:32 basti-pc kernel: ------------[ cut here ]------------
Feb 15 04:48:32 basti-pc kernel: WARNING: CPU: 23 PID: 309 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:7354 amdgpu_dm_atomic_commit_tail+0x25c2/0x2650 [amdgpu]
Feb 15 04:48:32 basti-pc kernel: Modules linked in: xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp ip6table_mangle ip6table_nat ip6table_filter ip6_tables iptable_mangle iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_filter bridge stp llc nct6775 hwmon_vid eeepc_wmi asus_wmi sparse_keymap rfkill intel_rapl_msr video wmi_bmof mxm_wmi snd_hda_codec_realtek snd_hda_codec_generic ext4 ledtrig_audio snd_hda_codec_hdmi amdgpu snd_hda_intel snd_intel_dspcfg soundwire_intel soundwire_generic_allocation nls_iso8859_1 soundwire_cadence crc16 intel_rapl_common vfat mbcache fat jbd2 snd_hda_codec snd_hda_core snd_hwdep edac_mce_amd soundwire_bus kvm_amd gpu_sched drm_ttm_helper snd_soc_core ttm joydev snd_compress mousedev kvm drm_kms_helper ac97_bus hid_lg_g710_plus(OE) snd_ctxfi snd_pcm_dmaengine snd_pcm cec syscopyarea irqbypass sysfillrect sysimgblt sp5100_tco rapl pcspkr k10temp i2c_piix4 fb_sys_fops snd_timer igb snd i2c_algo_bit soundcore dca wmi pinctrl_amd
Feb 15 04:48:32 basti-pc kernel: mac_hid acpi_cpufreq drm sg fuse crypto_user agpgart bpf_preload ip_tables x_tables usbhid dm_crypt cbc encrypted_keys dm_mod trusted tpm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel crypto_simd cryptd glue_helper ccp rng_core xhci_pci xhci_pci_renesas btrfs blake2b_generic libcrc32c crc32c_generic crc32c_intel xor raid6_pq
Feb 15 04:48:32 basti-pc kernel: CPU: 23 PID: 309 Comm: kworker/23:1 Tainted: G W OE 5.11.0-1-git #1
Feb 15 04:48:32 basti-pc kernel: Hardware name: System manufacturer System Product Name/ROG STRIX X570-F GAMING, BIOS 2802 10/21/2020
Feb 15 04:48:32 basti-pc kernel: Workqueue: events dm_irq_work_func [amdgpu]
Feb 15 04:48:32 basti-pc kernel: RIP: 0010:amdgpu_dm_atomic_commit_tail+0x25c2/0x2650 [amdgpu]
Feb 15 04:48:32 basti-pc kernel: Code: ff ff 37 00 00 00 c7 85 2c fd ff ff 20 00 00 00 e8 03 10 13 00 e9 e4 fa ff ff 0f 0b e9 34 f9 ff ff 0f 0b e9 83 f9 ff ff 0f 0b <0f> 0b e9 99 f9 ff ff 49 8b 06 41 0f b6 8e 2d 01 00 00 48 c7 c6 28
Feb 15 04:48:32 basti-pc kernel: RSP: 0018:ffffb82080bcfa18 EFLAGS: 00010082
Feb 15 04:48:32 basti-pc kernel: RAX: 0000000000000001 RBX: 0000000000000004 RCX: ffff9a1c2b98e918
Feb 15 04:48:32 basti-pc kernel: RDX: 0000000000000001 RSI: 0000000000000293 RDI: ffff9a1c33940188
Feb 15 04:48:32 basti-pc kernel: RBP: ffffb82080bcfda8 R08: 0000000000000005 R09: 0000000000000000
Feb 15 04:48:32 basti-pc kernel: R10: ffffb82080bcf978 R11: ffffb82080bcf97c R12: 0000000000000287
Feb 15 04:48:32 basti-pc kernel: R13: ffff9a1c398dc600 R14: ffff9a1c2b98e800 R15: ffff9a1c0760a600
Feb 15 04:48:32 basti-pc kernel: FS: 0000000000000000(0000) GS:ffff9a230efc0000(0000) knlGS:0000000000000000
Feb 15 04:48:32 basti-pc kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb 15 04:48:32 basti-pc kernel: CR2: 00007eff87873320 CR3: 000000010b542000 CR4: 0000000000350ee0
Feb 15 04:48:32 basti-pc kernel: Call Trace:
Feb 15 04:48:32 basti-pc kernel: commit_tail+0x94/0x130 [drm_kms_helper]
Feb 15 04:48:32 basti-pc kernel: drm_atomic_helper_commit+0x113/0x140 [drm_kms_helper]
Feb 15 04:48:32 basti-pc kernel: dm_restore_drm_connector_state+0xef/0x170 [amdgpu]
Feb 15 04:48:32 basti-pc kernel: handle_hpd_irq+0x118/0x150 [amdgpu]
Feb 15 04:48:32 basti-pc kernel: dm_irq_work_func+0x49/0x60 [amdgpu]
Feb 15 04:48:32 basti-pc kernel: process_one_work+0x214/0x3e0
Feb 15 04:48:32 basti-pc kernel: worker_thread+0x4d/0x3d0
Feb 15 04:48:32 basti-pc kernel: ? rescuer_thread+0x3c0/0x3c0
Feb 15 04:48:32 basti-pc kernel: kthread+0x133/0x150
Feb 15 04:48:32 basti-pc kernel: ? __kthread_bind_mask+0x60/0x60
Feb 15 04:48:32 basti-pc kernel: ret_from_fork+0x22/0x30
Feb 15 04:48:32 basti-pc kernel: ---[ end trace 7fd4eb184685cbf3 ]---