WARNING: CPU: 9 PID: 2908 at drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_hwseq.c:1942 dcn20_setup_gsl_group_as_lock+0x94/0x220 [amdgpu]
Submitted by Stijn Tintel
Assigned to Default DRI bug account
Link to original bug (#111755)
Description
Created attachment 145440
dmesg > dmesg.log
I have a Sapphire Radeon RX 5700 XT, running kernel 5.3.0, LLVM 9.0.0 git branch release_90 at commit 5364ee5faec778f1ddf86b6b4b8452df7db191c5, mesa 19.2.0-rc4, libdrm 2.4.99, xf86-video-amdgpu git branch master at commit e6fce59a071220967fcd4e2c9e4a262c72870761, KDE Plasma 5.16.5 and Qt 5.12.5.
When I set the rendering backend in the Plasma compositor settings to OpenGL 2.0 or OpenGL 3.1, I start to get desktop lag after only a few minutes of uptime. I suspect this is related to the following recurring warning in dmesg:
[ 106.734466] WARNING: CPU: 9 PID: 2908 at drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/dcn20_hwseq.c:1942 dcn20_setup_gsl_group_as_lock+0x94/0x220 [amdgpu]<br>
[ 106.748446] Modules linked in: cmac rfcomm cfg80211 nf_conntrack_netlink nfnetlink xt_addrtype br_netfilter xfrm_user xfrm4_tunnel tunnel4 ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo nls_utf8 cifs gcm libarc4 xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp ip6table_mangle ip6table_nat iptable_mangle iptable_nat ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter ip_tables x_tables bpfilter bridge stp llc sctp bnep nvidia_drm(PO) edac_core intel_rapl_msr intel_rapl_common nvidia_modeset(PO) x86_pkg_temp_thermal nls_iso8859_1 intel_powerclamp nls_cp437 vfat fat amdgpu nvidia(PO) crct10dif_pclmul snd_hda_codec_realtek crc32_pclmul snd_hda_codec_hdmi snd_hda_codec_generic crc32c_intel gpu_sched snd_usb_audio snd_hda_intel ttm ghash_clmulni_intel snd_usbmidi_lib snd_hda_codec aesni_intel drm_kms_helper snd_hda_core crypto_simd snd_rawmidi btusb iTCO_wdt btrtl btbcm snd_seq_device cryptd btintel snd_hwdep efi_pstore drm joydev glue_helper intel_cstate<br>
[ 106.748507] snd_pcm iTCO_vendor_support drm_panel_orientation_quirks evdev uinput bluetooth intel_uncore syscopyarea snd_timer sysfillrect intel_rapl_perf wmi_bmof efivars cp210x i2c_i801 ecdh_generic lpc_ich uas ecc snd sysimgblt e1000e fb_sys_fops soundcore usbserial button sch_fq_codel nct6775 hwmon_vid coretemp openvswitch nsh nf_conncount nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 vhost_net tun vhost tap kvm_intel kvm nfsd irqbypass msr cpuid auth_rpcgss nfs_acl efivarfs virtio_ring virtio xts aes_x86_64 ecb cbc sha1_generic iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi bonding vxlan ip6_udp_tunnel udp_tunnel macvlan igb i2c_algo_bit dca e1000 fuse overlay nfs lockd grace sunrpc ext4 mbcache jbd2 multipath linear raid10 raid1 raid0 dm_raid raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx md_mod dm_snapshot dm_bufio dm_crypt dm_mirror dm_region_hash dm_log dm_mod firewire_core crc_itu_t hid_sony hid_samsung hid_petalynx hid_monterey hid_microsoft<br>
[ 106.835796] hid_logitech ff_memless hid_gyration hid_ezkey hid_cypress hid_chicony hid_cherry hid_belkin hid_apple hid_a4tech hid_generic usbhid ohci_pci ohci_hcd uhci_hcd hid arcmsr sr_mod cdrom sg usb_storage xhci_pci ehci_pci xhci_hcd ehci_hcd ptp usbcore pps_core usb_common<br>
[ 106.947505] CPU: 9 PID: 2908 Comm: kworker/u24:17 Tainted: P O T 5.3.0-gentoo #1<br>
[ 106.956021] Hardware name: System manufacturer System Product Name/P9X79 WS, BIOS 4901 05/07/2018<br>
[ 106.964914] Workqueue: events_unbound commit_work [drm_kms_helper]<br>
[ 106.971209] RIP: 0010:dcn20_setup_gsl_group_as_lock+0x94/0x220 [amdgpu]<br>
[ 106.977822] Code: b6 80 70 02 00 00 a8 01 0f 84 39 01 00 00 a8 02 0f 84 e6 00 00 00 a8 04 0f 84 4e 01 00 00 48 c7 c7 70 6f 57 a1 e8 af 3e c9 df `<0f>` 0b c6 83 50 02 00 00 00 48 c7 c7 70 6f 57 a1 e8 9a 3e c9 df 0f<br>
[ 106.996588] RSP: 0018:ffffc900021dba68 EFLAGS: 00010286<br>
[ 107.001817] RAX: 0000000000000024 RBX: ffff888e38820638 RCX: 0000000000000000<br>
[ 107.008950] RDX: 0000000000000000 RSI: ffff88901fa56598 RDI: ffff88901fa56598<br>
[ 107.016081] RBP: 0000000000000001 R08: 0000000000000706 R09: 0000000000000009<br>
[ 107.023215] R10: 0000000000000000 R11: ffffc900021db918 R12: ffff888fc1640000<br>
[ 107.030348] R13: ffff888e38821cb8 R14: ffff888e38820638 R15: 0000000000000006<br>
[ 107.037480] FS: 0000000000000000(0000) GS:ffff88901fa40000(0000) knlGS:0000000000000000<br>
[ 107.045567] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033<br>
[ 107.051313] CR2: 000056015dce91f8 CR3: 000000000220c004 CR4: 00000000000606e0<br>
[ 107.058445] Call Trace:<br>
[ 107.061020] dcn20_pipe_control_lock.part.15+0xe5/0x1b0 [amdgpu]<br>
[ 107.067136] dc_commit_updates_for_stream+0xd97/0x1290 [amdgpu]<br>
[ 107.073166] amdgpu_dm_atomic_commit_tail+0xfd2/0x1e10 [amdgpu]<br>
[ 107.079117] ? commit_tail+0x3d/0x70 [drm_kms_helper]<br>
[ 107.084185] commit_tail+0x3d/0x70 [drm_kms_helper]<br>
[ 107.089073] process_one_work+0x198/0x380<br>
[ 107.093089] worker_thread+0x30/0x380<br>
[ 107.096758] ? process_one_work+0x380/0x380<br>
[ 107.100949] kthread+0x113/0x130<br>
[ 107.104191] ? kthread_park+0x80/0x80<br>
[ 107.107860] ret_from_fork+0x35/0x40<br>
[ 107.111444] ---[ end trace 9a7bcd62f5f5e527 ]---
This does not occur with the XRender rendering backend.
Attachment 145440, "dmesg > dmesg.log":
dmesg.log