amdgpu error amdgpu_dm_commit_planes.constprop.0+0x9cf/0x9f0

Bug #1919398 reported by satmandu
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux-meta (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Running 5.11.0-11-lowlatency on radeon RX 5500 XT "[AMD/ATI] Navi 14 [Radeon RX 5500/5500M / Pro 5500M] (rev c5)"

Primary application is Kodi, which freezes on start, requiring the process to be restarted (sometimes this requires a reboot of the entire machine.)

dmesg shows this error:

[ 1567.704562] [drm] amdgpu_dm_irq_schedule_work FAILED src 4
[ 1567.974561] [drm] amdgpu_dm_irq_schedule_work FAILED src 4
[ 1568.704568] [drm] amdgpu_dm_irq_schedule_work FAILED src 4
[ 1570.025161] [drm:drm_atomic_helper_wait_for_flip_done [drm_kms_helper]] *ERROR* [CRTC:72:crtc-0] flip_done timed out
[ 1571.049175] [drm:do_aquire_global_lock.isra.0 [amdgpu]] *ERROR* [CRTC:72:crtc-0] hw_done or flip_done timed out
[ 1581.289438] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:72:crtc-0] flip_done timed out
[ 1591.529598] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:60:plane-4] flip_done timed out
[ 1591.594241] ------------[ cut here ]------------
[ 1591.594243] WARNING: CPU: 1 PID: 54905 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:7754 amdgpu_dm_commit_planes.constprop.0+0x9cf/0x9f0 [amdgpu]
[ 1591.594436] Modules linked in: hidp xt_nat rfcomm veth nf_conntrack_netlink xfrm_user xfrm_algo xt_addrtype br_netfilter wireguard curve25519_x86_64 libchacha20poly1305 chacha_x86_64 poly1305_x86_64 libblake2s blake2s_x86_64 ip6_udp_tunnel udp_tunnel libcurve25519_generic libchacha libblake2s_generic xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_counter nf_tables nfnetlink bridge stp llc overlay cmac algif_hash algif_skcipher af_alg bnep binfmt_misc nls_iso8859_1 xfs intel_rapl_msr mei_hdcp btusb btrtl btbcm btintel bluetooth ecdh_generic ecc intel_rapl_common x86_pkg_temp_thermal intel_powerclamp kvm_intel kvm rapl intel_cstate efi_pstore intel_wmi_thunderbolt snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi ee1004 snd_hda_intel snd_intel_dspcfg soundwire_intel soundwire_generic_allocation soundwire_cadence snd_hda_codec snd_hda_core soundwire_bus
[ 1591.594476] snd_soc_core snd_compress snd_usb_audio ac97_bus snd_pcm_dmaengine snd_usbmidi_lib snd_hwdep snd_seq_midi uvcvideo snd_seq_midi_event videobuf2_vmalloc videobuf2_memops snd_pcm videobuf2_v4l2 snd_rawmidi videobuf2_common cdc_acm joydev input_leds snd_seq videodev mc snd_seq_device snd_timer mei_me mei intel_pch_thermal snd soundcore mac_hid acpi_pad sch_fq_codel nct6775 hwmon_vid coretemp msr parport_pc ppdev lp parport binder_linux nfsd ashmem_linux(CE) auth_rpcgss nfs_acl lockd grace sunrpc nfs_ssc ip_tables x_tables autofs4 zfs(POE) zunicode(POE) zzstd(O) zlua(OE) zavl(POE) icp(POE) zcommon(POE) znvpair(POE) spl(OE) raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid_magicmouse mlx4_ib ib_uverbs ib_core mlx4_en hid_logitech_hidpp hid_logitech_dj hid_generic usbhid hid uas usb_storage amdgpu iommu_v2 gpu_sched i2c_algo_bit drm_ttm_helper ttm mxm_wmi drm_kms_helper crct10dif_pclmul crc32_pclmul
[ 1591.594527] syscopyarea sysfillrect sysimgblt fb_sys_fops ghash_clmulni_intel cec aesni_intel rc_core crypto_simd cryptd glue_helper mpt3sas nvme drm mlx4_core e1000e i2c_i801 i2c_smbus raid_class nvme_core scsi_transport_sas ahci libahci xhci_pci xhci_pci_renesas wmi video
[ 1591.594544] CPU: 1 PID: 54905 Comm: kworker/1:2 Tainted: P WC OE 5.11.0-11-lowlatency #12-Ubuntu
[ 1591.594546] Hardware name: MSI MS-7998/C236A WORKSTATION (MS-7998), BIOS 2.A0 06/15/2018
[ 1591.594548] Workqueue: events dm_irq_work_func [amdgpu]
[ 1591.594689] RIP: 0010:amdgpu_dm_commit_planes.constprop.0+0x9cf/0x9f0 [amdgpu]
[ 1591.594826] Code: ff 48 8b 45 a8 48 c7 c7 12 9f c1 c0 4c 89 55 80 8b b0 f0 03 00 00 e8 e0 04 c9 ff 0f b6 55 a3 4c 8b 55 80 e9 24 fa ff ff 0f 0b <0f> 0b e9 89 fe ff ff 0f 0b e9 a2 fe ff ff e8 9e f3 af f9 66 66 2e
[ 1591.594828] RSP: 0018:ffffa84784bf79f0 EFLAGS: 00010002
[ 1591.594830] RAX: 0000000000000287 RBX: 0000000000000004 RCX: 0000000000000461
[ 1591.594831] RDX: 0000000000000001 RSI: 0000000000000293 RDI: ffff908517ea0188
[ 1591.594832] RBP: ffffa84784bf7ab0 R08: 0000000000000002 R09: 0000000000000001
[ 1591.594833] R10: 0000000000000000 R11: ffff90851a35b918 R12: 0000000000000287
[ 1591.594834] R13: ffff90851a35b800 R14: ffff9085eb9d9d00 R15: ffff9087e43c7600
[ 1591.594835] FS: 0000000000000000(0000) GS:ffff90903ec80000(0000) knlGS:0000000000000000
[ 1591.594837] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1591.594838] CR2: 00007fb1c0e74d12 CR3: 0000000c23810004 CR4: 00000000003706e0
[ 1591.594839] Call Trace:
[ 1591.594842] amdgpu_dm_atomic_commit_tail+0xc66/0x1280 [amdgpu]
[ 1591.594980] ? wake_up_klogd.part.0+0x3b/0x50
[ 1591.594983] ? vprintk_emit+0xae/0x110
[ 1591.594987] commit_tail+0x99/0x130 [drm_kms_helper]
[ 1591.595000] drm_atomic_helper_commit+0x123/0x150 [drm_kms_helper]
[ 1591.595010] drm_atomic_commit+0x4a/0x50 [drm]
[ 1591.595033] dm_force_atomic_commit.isra.0+0x93/0x120 [amdgpu]
[ 1591.595170] dm_restore_drm_connector_state+0x54/0x60 [amdgpu]
[ 1591.595307] handle_hpd_irq+0x11a/0x150 [amdgpu]
[ 1591.595444] dm_irq_work_func+0x4e/0x60 [amdgpu]
[ 1591.595584] process_one_work+0x217/0x3e0
[ 1591.595586] worker_thread+0x4d/0x350
[ 1591.595588] ? rescuer_thread+0x370/0x370
[ 1591.595589] kthread+0x145/0x170
[ 1591.595592] ? kthread_create_on_node+0x60/0x60
[ 1591.595595] ret_from_fork+0x1f/0x30
[ 1591.595598] ---[ end trace 0d597640bd0932e4 ]---
[ 1591.595615] ------------[ cut here ]------------
[ 1591.595616] WARNING: CPU: 1 PID: 54905 at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:7354 amdgpu_dm_commit_planes.constprop.0+0x9d6/0x9f0 [amdgpu]
[ 1591.595752] Modules linked in: hidp xt_nat rfcomm veth nf_conntrack_netlink xfrm_user xfrm_algo xt_addrtype br_netfilter wireguard curve25519_x86_64 libchacha20poly1305 chacha_x86_64 poly1305_x86_64 libblake2s blake2s_x86_64 ip6_udp_tunnel udp_tunnel libcurve25519_generic libchacha libblake2s_generic xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_counter nf_tables nfnetlink bridge stp llc overlay cmac algif_hash algif_skcipher af_alg bnep binfmt_misc nls_iso8859_1 xfs intel_rapl_msr mei_hdcp btusb btrtl btbcm btintel bluetooth ecdh_generic ecc intel_rapl_common x86_pkg_temp_thermal intel_powerclamp kvm_intel kvm rapl intel_cstate efi_pstore intel_wmi_thunderbolt snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi ee1004 snd_hda_intel snd_intel_dspcfg soundwire_intel soundwire_generic_allocation soundwire_cadence snd_hda_codec snd_hda_core soundwire_bus
[ 1591.595787] snd_soc_core snd_compress snd_usb_audio ac97_bus snd_pcm_dmaengine snd_usbmidi_lib snd_hwdep snd_seq_midi uvcvideo snd_seq_midi_event videobuf2_vmalloc videobuf2_memops snd_pcm videobuf2_v4l2 snd_rawmidi videobuf2_common cdc_acm joydev input_leds snd_seq videodev mc snd_seq_device snd_timer mei_me mei intel_pch_thermal snd soundcore mac_hid acpi_pad sch_fq_codel nct6775 hwmon_vid coretemp msr parport_pc ppdev lp parport binder_linux nfsd ashmem_linux(CE) auth_rpcgss nfs_acl lockd grace sunrpc nfs_ssc ip_tables x_tables autofs4 zfs(POE) zunicode(POE) zzstd(O) zlua(OE) zavl(POE) icp(POE) zcommon(POE) znvpair(POE) spl(OE) raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid_magicmouse mlx4_ib ib_uverbs ib_core mlx4_en hid_logitech_hidpp hid_logitech_dj hid_generic usbhid hid uas usb_storage amdgpu iommu_v2 gpu_sched i2c_algo_bit drm_ttm_helper ttm mxm_wmi drm_kms_helper crct10dif_pclmul crc32_pclmul
[ 1591.595829] syscopyarea sysfillrect sysimgblt fb_sys_fops ghash_clmulni_intel cec aesni_intel rc_core crypto_simd cryptd glue_helper mpt3sas nvme drm mlx4_core e1000e i2c_i801 i2c_smbus raid_class nvme_core scsi_transport_sas ahci libahci xhci_pci xhci_pci_renesas wmi video
[ 1591.595841] CPU: 1 PID: 54905 Comm: kworker/1:2 Tainted: P WC OE 5.11.0-11-lowlatency #12-Ubuntu
[ 1591.595843] Hardware name: MSI MS-7998/C236A WORKSTATION (MS-7998), BIOS 2.A0 06/15/2018
[ 1591.595844] Workqueue: events dm_irq_work_func [amdgpu]
[ 1591.595984] RIP: 0010:amdgpu_dm_commit_planes.constprop.0+0x9d6/0x9f0 [amdgpu]
[ 1591.596120] Code: c7 12 9f c1 c0 4c 89 55 80 8b b0 f0 03 00 00 e8 e0 04 c9 ff 0f b6 55 a3 4c 8b 55 80 e9 24 fa ff ff 0f 0b 0f 0b e9 89 fe ff ff <0f> 0b e9 a2 fe ff ff e8 9e f3 af f9 66 66 2e 0f 1f 84 00 00 00 00
[ 1591.596122] RSP: 0018:ffffa84784bf79f0 EFLAGS: 00010086
[ 1591.596124] RAX: 0000000000000001 RBX: 0000000000000004 RCX: 0000000000000461
[ 1591.596126] RDX: 0000000000000001 RSI: 0000000000000293 RDI: ffff908517ea0188
[ 1591.596127] RBP: ffffa84784bf7ab0 R08: 0000000000000002 R09: 0000000000000001
[ 1591.596128] R10: 0000000000000000 R11: ffff90851a35b918 R12: 0000000000000287
[ 1591.596129] R13: ffff90851a35b800 R14: ffff9085eb9d9d00 R15: ffff9087e43c7600
[ 1591.596131] FS: 0000000000000000(0000) GS:ffff90903ec80000(0000) knlGS:0000000000000000
[ 1591.596132] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1591.596133] CR2: 00007fb1c0e74d12 CR3: 0000000c23810004 CR4: 00000000003706e0
[ 1591.596135] Call Trace:
[ 1591.596137] amdgpu_dm_atomic_commit_tail+0xc66/0x1280 [amdgpu]
[ 1591.596292] ? wake_up_klogd.part.0+0x3b/0x50
[ 1591.596294] ? vprintk_emit+0xae/0x110
[ 1591.596298] commit_tail+0x99/0x130 [drm_kms_helper]
[ 1591.596311] drm_atomic_helper_commit+0x123/0x150 [drm_kms_helper]
[ 1591.596320] drm_atomic_commit+0x4a/0x50 [drm]
[ 1591.596347] dm_force_atomic_commit.isra.0+0x93/0x120 [amdgpu]
[ 1591.596486] dm_restore_drm_connector_state+0x54/0x60 [amdgpu]
[ 1591.596622] handle_hpd_irq+0x11a/0x150 [amdgpu]
[ 1591.596757] dm_irq_work_func+0x4e/0x60 [amdgpu]
[ 1591.596892] process_one_work+0x217/0x3e0
[ 1591.596894] worker_thread+0x4d/0x350
[ 1591.596895] ? rescuer_thread+0x370/0x370
[ 1591.596897] kthread+0x145/0x170
[ 1591.596899] ? kthread_create_on_node+0x60/0x60
[ 1591.596902] ret_from_fork+0x1f/0x30
[ 1591.596905] ---[ end trace 0d597640bd0932e5 ]---

uname -a
Linux cheekon 5.11.0-11-lowlatency #12-Ubuntu SMP PREEMPT Mon Mar 1 20:26:22 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

cat /proc/version_signature
Ubuntu 5.11.0-11.12-lowlatency 5.11.0

dmesg: https://paste.ubuntu.com/p/cWPQwN69kG/
sudo lspci -vnvn: https://paste.ubuntu.com/p/nf35qFvcPd/

Revision history for this message
satmandu (satadru-umich) wrote :
Revision history for this message
satmandu (satadru-umich) wrote :

This is not a problem in the 5.10 kernels.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-meta (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.