Bug 111755 - 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]
Summary: WARNING: CPU: 9 PID: 2908 at drivers/gpu/drm/amd/amdgpu/../display/dc/dcn20/d...
Status: NEW
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/AMDgpu (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: not set normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-20 09:22 UTC by Stijn Tintel
Modified: 2019-09-20 09:47 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
dmesg > dmesg.log (117.47 KB, text/x-log)
2019-09-20 09:22 UTC, Stijn Tintel
no flags Details
basic.conf as requested on https://amdgpu-install.readthedocs.io/en/latest/install-bugrep.html (488 bytes, text/plain)
2019-09-20 09:23 UTC, Stijn Tintel
no flags Details
lsmod | grep amdgpu > lsmod.amdgpu.log (284 bytes, text/x-log)
2019-09-20 09:24 UTC, Stijn Tintel
no flags Details
Xorg.0.log (63.85 KB, text/x-log)
2019-09-20 09:25 UTC, Stijn Tintel
no flags Details
lspci -vnn > lspci.vnn.log (24.71 KB, text/x-log)
2019-09-20 09:25 UTC, Stijn Tintel
no flags Details
lspci -nn > lspci.nn.log (8.80 KB, text/x-log)
2019-09-20 09:26 UTC, Stijn Tintel
no flags Details
sudo dmidecode > dmidecode.log (31.59 KB, text/x-log)
2019-09-20 09:26 UTC, Stijn Tintel
no flags Details
uname -a > uname.a.log (139 bytes, text/x-log)
2019-09-20 09:26 UTC, Stijn Tintel
no flags Details
sudo lshw > lshw.log (74.93 KB, text/x-log)
2019-09-20 09:27 UTC, Stijn Tintel
no flags Details
modinfo amdgpu > modinfo.amdgpu.log (33.44 KB, text/x-log)
2019-09-20 09:27 UTC, Stijn Tintel
no flags Details
glxinfo > glxinfo.log (145.35 KB, text/x-log)
2019-09-20 09:28 UTC, Stijn Tintel
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stijn Tintel 2019-09-20 09:22:22 UTC
Created attachment 145440 [details]
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]
[  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
[  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
[  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
[  106.947505] CPU: 9 PID: 2908 Comm: kworker/u24:17 Tainted: P           O    T 5.3.0-gentoo #1
[  106.956021] Hardware name: System manufacturer System Product Name/P9X79 WS, BIOS 4901 05/07/2018
[  106.964914] Workqueue: events_unbound commit_work [drm_kms_helper]
[  106.971209] RIP: 0010:dcn20_setup_gsl_group_as_lock+0x94/0x220 [amdgpu]
[  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
[  106.996588] RSP: 0018:ffffc900021dba68 EFLAGS: 00010286
[  107.001817] RAX: 0000000000000024 RBX: ffff888e38820638 RCX: 0000000000000000
[  107.008950] RDX: 0000000000000000 RSI: ffff88901fa56598 RDI: ffff88901fa56598
[  107.016081] RBP: 0000000000000001 R08: 0000000000000706 R09: 0000000000000009
[  107.023215] R10: 0000000000000000 R11: ffffc900021db918 R12: ffff888fc1640000
[  107.030348] R13: ffff888e38821cb8 R14: ffff888e38820638 R15: 0000000000000006
[  107.037480] FS:  0000000000000000(0000) GS:ffff88901fa40000(0000) knlGS:0000000000000000
[  107.045567] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  107.051313] CR2: 000056015dce91f8 CR3: 000000000220c004 CR4: 00000000000606e0
[  107.058445] Call Trace:
[  107.061020]  dcn20_pipe_control_lock.part.15+0xe5/0x1b0 [amdgpu]
[  107.067136]  dc_commit_updates_for_stream+0xd97/0x1290 [amdgpu]
[  107.073166]  amdgpu_dm_atomic_commit_tail+0xfd2/0x1e10 [amdgpu]
[  107.079117]  ? commit_tail+0x3d/0x70 [drm_kms_helper]
[  107.084185]  commit_tail+0x3d/0x70 [drm_kms_helper]
[  107.089073]  process_one_work+0x198/0x380
[  107.093089]  worker_thread+0x30/0x380
[  107.096758]  ? process_one_work+0x380/0x380
[  107.100949]  kthread+0x113/0x130
[  107.104191]  ? kthread_park+0x80/0x80
[  107.107860]  ret_from_fork+0x35/0x40
[  107.111444] ---[ end trace 9a7bcd62f5f5e527 ]---

This does not occur with the XRender rendering backend.
Comment 1 Stijn Tintel 2019-09-20 09:23:52 UTC
Created attachment 145441 [details]
basic.conf as requested on https://amdgpu-install.readthedocs.io/en/latest/install-bugrep.html
Comment 2 Stijn Tintel 2019-09-20 09:24:29 UTC
Created attachment 145442 [details]
lsmod | grep amdgpu > lsmod.amdgpu.log
Comment 3 Stijn Tintel 2019-09-20 09:25:23 UTC
Created attachment 145443 [details]
Xorg.0.log
Comment 4 Stijn Tintel 2019-09-20 09:25:59 UTC
Created attachment 145444 [details]
lspci -vnn > lspci.vnn.log
Comment 5 Stijn Tintel 2019-09-20 09:26:18 UTC
Created attachment 145445 [details]
lspci -nn > lspci.nn.log
Comment 6 Stijn Tintel 2019-09-20 09:26:35 UTC
Created attachment 145446 [details]
sudo dmidecode > dmidecode.log
Comment 7 Stijn Tintel 2019-09-20 09:26:52 UTC
Created attachment 145447 [details]
uname -a > uname.a.log
Comment 8 Stijn Tintel 2019-09-20 09:27:17 UTC
Created attachment 145448 [details]
sudo lshw > lshw.log
Comment 9 Stijn Tintel 2019-09-20 09:27:42 UTC
Created attachment 145449 [details]
modinfo amdgpu > modinfo.amdgpu.log
Comment 10 Stijn Tintel 2019-09-20 09:28:13 UTC
Created attachment 145450 [details]
glxinfo > glxinfo.log
Comment 11 Stijn Tintel 2019-09-20 09:30:28 UTC
navi10 firmware downloaded from https://people.freedesktop.org/~agd5f/radeon_ucode/navi10/ on 20190913 - which seems still current.

taz ~ # sha512sum /lib/firmware/amdgpu/navi10_*
d9f04485f53e92aa97ce6713b00236e273d40085015d3b65d34d704bae77f072b4bc709d48fa183691853de207569a23132eccbf7d05aff992e6c62140ee0e71  /lib/firmware/amdgpu/navi10_asd.bin
d3631f12f444bf8a53e8e8ecf352c8601275444e6639b14075612c080cc84b9c2b5326ca905a40247c55c4eb2ec961ff93dcfc41b0b42f4ff64bb85a3dd4a0d4  /lib/firmware/amdgpu/navi10_ce.bin
7867b095263d75ecc9cd071e85cacced4f61fa1f81b40335e83624910854deed8acb6017acd24e55bad0c410e979fbb142de24dfb4e46b68c3c8f30ba39f42c3  /lib/firmware/amdgpu/navi10_gpu_info.bin
fd358b6412ff4e8b20df8173b29057cd5e53e8f421942e3e1b64cfd87afbcb383267e5077102550176f4b6597175e9d14d84113c296ec9358c3dfe76c912742d  /lib/firmware/amdgpu/navi10_me.bin
a15f7861191ee7ed4ee1b475bee394ff418edb7e471203a8af29894caead12982b2ab924a86a337ba5e06fd4910a764e2f675f15f53968a38f6ce8db9fc20165  /lib/firmware/amdgpu/navi10_mec2.bin
a15f7861191ee7ed4ee1b475bee394ff418edb7e471203a8af29894caead12982b2ab924a86a337ba5e06fd4910a764e2f675f15f53968a38f6ce8db9fc20165  /lib/firmware/amdgpu/navi10_mec.bin
ac616d7be0867d6148a623a53ab5ef539dbae917c53c0e67883e3b763170cb880579be2709431cd1c6ca61be787732a0d0265812b7b7cfa263138b7fcc4d0f25  /lib/firmware/amdgpu/navi10_pfp.bin
c5a3278009fed96ecdae0cf4ff8516bf23afcaa5eb5b3014cfd80a9275d8b2884aa3d0c8b184ae9b3627c0e814ef670e445ad785b7b930114611cbc1c6c4724e  /lib/firmware/amdgpu/navi10_rlc.bin
d975a66ecd7e02f27996c8badd0ceb7f452182f2d2c416e9269addedd291085c43111b30a32824d2bf99c4c90a12104d272ef6b4f077e49b72e7fa1a050c519d  /lib/firmware/amdgpu/navi10_sdma1.bin
d975a66ecd7e02f27996c8badd0ceb7f452182f2d2c416e9269addedd291085c43111b30a32824d2bf99c4c90a12104d272ef6b4f077e49b72e7fa1a050c519d  /lib/firmware/amdgpu/navi10_sdma.bin
3280d80b6d2f949b5a0c5f2b227ec7ef4bfa9affbad296dc127f49b64d45629cb6e067e047597ceeeffdf28267455a6b08e4b9dd4c3627d0236fd5c7cbe9a6e3  /lib/firmware/amdgpu/navi10_smc.bin
29c042f70637951ec549175194ea792cb0733c747313c04377e09e9f3dd2562c7ee242d7adf0713f226d8c58dd71921bfe6cbbb485b36e523e0381e074d2a4b5  /lib/firmware/amdgpu/navi10_sos.bin
e92fc20428117c7a7ce951b3db80f534844d514d12db0fc72deb9ff593adee167a6c1f2f27613e344230c06e9b129d33cadf6ed1b6bed21cbeb86e613c664140  /lib/firmware/amdgpu/navi10_vcn.bin
Comment 12 Stijn Tintel 2019-09-20 09:47:39 UTC
I noticed after creating the bug that I had the proprietary nvidia kernel modules loaded. I briefly used this card after my HD7970 died, until my new RX 5700 XT arrived. This card is normally assigned to a Windows VM. To rule out that these nvidia modules cause any trouble, I removed them, rebooted, and within 2 minutes of uptime the warning appears again.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.