Issue definitely also occurs with stock Ubuntu GNOME DE (just did a fresh install on a ThinkPad t495s with "AMD Ryzen 7 PRO 3700U w/ Radeon Vega Mobile Gfx"; up-to-date kernel 5.3.0-26-generic and the issue occurred twice within 12 hours of installing - once upon resuming and the 2nd time just after forcing a reboot due to first issue.
I fully understand that complaining here isn't likely to have much effect but it's a real shame that just when AMD finally appears to be taking the Edge over Intel (we *desperately* need the competition IMHO; see the vulnerabilities debacle), the premier Linux desktop distribution falls flat on its face. I also understand that the issue is likely not Debian/Ubuntu specific.
That said, I really hope that Canonical sees this bug and sponsors a fix (perhaps in partnership with AMD) at least before 20.04 LTS hits the shelves.
Issue definitely also occurs with stock Ubuntu GNOME DE (just did a fresh install on a ThinkPad t495s with "AMD Ryzen 7 PRO 3700U w/ Radeon Vega Mobile Gfx"; up-to-date kernel 5.3.0-26-generic and the issue occurred twice within 12 hours of installing - once upon resuming and the 2nd time just after forcing a reboot due to first issue.
I fully understand that complaining here isn't likely to have much effect but it's a real shame that just when AMD finally appears to be taking the Edge over Intel (we *desperately* need the competition IMHO; see the vulnerabilities debacle), the premier Linux desktop distribution falls flat on its face. I also understand that the issue is likely not Debian/Ubuntu specific.
That said, I really hope that Canonical sees this bug and sponsors a fix (perhaps in partnership with AMD) at least before 20.04 LTS hits the shelves.
Stack trace:
Jan 21 08:56:57 t495s kernel: [ 7403.538132] ------------[ cut here ]------------ gpu/drm/ amd/amdgpu/ ../display/ dc/dcn10/ dcn10_hw_ sequencer. c:932 dcn10_verify_ allow_pstate_ change_ high.col codec_realtek mac80211 libarc4 snd_hda_ codec_generic uvcvideo btusb snd_h 20QJCTO1WW, BIOS R13ET40W(1.14 ) 10/29/2019 verify_ allow_pstate_ change_ high.cold+ 0xc/0x23d [amdgpu] 0f7710 EFLAGS: 00010246 0(0000) GS:ffff88e31ed4 0000(0000) knlGS:000000000 0000000 control_ lock.part. 0+0x76/ 0x80 [amdgpu] ctx_for_ surface+ 0x4a8/0x5e0 [amdgpu] plane_from_ context+ 0x108/0x270 [amdgpu] all_planes_ for_stream+ 0xc8/0x110 [amdgpu] state_no_ check+0x387/ 0x580 [amdgpu] cgs_read_ register+ 0x14/0x20 [amdgpu] state+0x96/ 0xb0 [amdgpu] dm_atomic_ commit_ tail+0x3bf/ 0xfb0 [amdgpu] crtc_scanoutpos +0x69/0xa0 [amdgpu] cgs_read_ register+ 0x14/0x20 [amdgpu] reg_func+ 0x25/0x90 [amdgpu] reg_get+ 0x22/0x40 [amdgpu] 0x19/0x30 bo_pin_ restricted+ 0x61/0x2a0 [amdgpu] unlock+ 0x26/0x30 backoff_ reservation+ 0x4d/0x90 [ttm] helper_ prepare_ fb+0x156/ 0x290 [amdgpu] 0x19/0x30 completion_ timeout+ 0x3a/0x120 completion_ interruptible+ 0x37/0x160 tail+0x41/ 0x70 [drm_kms_helper] tail+0x41/ 0x70 [drm_kms_helper] helper_ commit+ 0x118/0x120 [drm_kms_helper] dm_atomic_ commit+ 0xb1/0xf0 [amdgpu] commit+ 0x4a/0x50 [drm] connector_ commit_ dpms+0xdf/ 0x100 [drm] obj_set_ property_ ioctl+0x156/ 0x2a0 [drm] set_obj_ prop+0x90/ 0x90 [drm] property_ set_ioctl+ 0x3b/0x60 [drm] kernel+ 0xae/0xf0 [drm] iter+0x8c/ 0xf0 0x234/0x3d0 [drm] set_obj_ prop+0x90/ 0x90 [drm] write+0xe6/ 0x1a0 drm_ioctl+ 0x4e/0x80 [amdgpu] ioctl+0x407/ 0x670 0x12e/0x160 0x67/0x90 ioctl+0x1a/ 0x20 64+0x5a/ 0x130 64_after_ hwframe+ 0x44/0xa9 5cc058 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
Jan 21 08:56:57 t495s kernel: [ 7403.538257] WARNING: CPU: 5 PID: 1566 at drivers/
d+0xc/0x23d [amdgpu]
Jan 21 08:56:57 t495s kernel: [ 7403.538258] Modules linked in: rfcomm ccm cmac bnep nls_iso8859_1 iwlmvm snd_hda_
da_codec_hdmi btrtl videobuf2_vmalloc btbcm videobuf2_memops snd_seq_midi btintel videobuf2_v4l2 edac_mce_amd videobuf2_common snd_seq_midi_event snd_hda_intel kvm_amd snd_hda_codec video
dev bluetooth ccp kvm irqbypass snd_rawmidi snd_hda_core joydev mc serio_raw input_leds iwlwifi snd_hwdep wmi_bmof thinkpad_acpi snd_pcm nvram ecdh_generic k10temp ecc ledtrig_audio snd_s
eq snd_pci_acp3x snd_seq_device rtsx_pci_ms snd_timer ipmi_devintf memstick cfg80211 ipmi_msghandler snd ucsi_acpi typec_ucsi typec soundcore mac_hid sch_fq_codel parport_pc ppdev lp parp
ort ip_tables x_tables autofs4 hid_logitech_hidpp hid_logitech_dj hid_generic usbhid hid dm_crypt amdgpu crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel amd_iommu_v2 rtsx_pc
i_sdmmc gpu_sched i2c_algo_bit ttm drm_kms_helper aes_x86_64 crypto_simd syscopyarea sysfillrect
Jan 21 08:56:57 t495s kernel: [ 7403.538286] sysimgblt cryptd glue_helper psmouse fb_sys_fops drm i2c_piix4 nvme rtsx_pci r8169 nvme_core realtek wmi video i2c_scmi
Jan 21 08:56:57 t495s kernel: [ 7403.538295] CPU: 5 PID: 1566 Comm: Xorg Tainted: G W 5.3.0-26-generic #28-Ubuntu
Jan 21 08:56:57 t495s kernel: [ 7403.538296] Hardware name: LENOVO 20QJCTO1WW/
Jan 21 08:56:57 t495s kernel: [ 7403.538381] RIP: 0010:dcn10_
Jan 21 08:56:57 t495s kernel: [ 7403.538385] Code: 83 c8 ff e9 59 f7 f7 ff 48 c7 c7 08 f1 a2 c0 e8 9d 97 79 f8 0f 0b 83 c8 ff e9 43 f7 f7 ff 48 c7 c7 08 f1 a2 c0 e8 87 97 79 f8 <0f> 0b 80 bb 9f 01 00 00 00 75 05 e9 6a 1e f8 ff 48 8b 83 f8 02 00
Jan 21 08:56:57 t495s kernel: [ 7403.538386] RSP: 0018:ffff9d0482
Jan 21 08:56:57 t495s kernel: [ 7403.538387] RAX: 0000000000000024 RBX: ffff88e30cc80000 RCX: 0000000000000006
Jan 21 08:56:57 t495s kernel: [ 7403.538388] RDX: 0000000000000000 RSI: 0000000000000082 RDI: ffff88e31ed57440
Jan 21 08:56:57 t495s kernel: [ 7403.538388] RBP: ffff9d04820f7720 R08: 0000000000000617 R09: 0000000000000004
Jan 21 08:56:57 t495s kernel: [ 7403.538389] R10: 0000000000000000 R11: 0000000000000001 R12: ffff88e30cc80000
Jan 21 08:56:57 t495s kernel: [ 7403.538390] R13: ffff88e1d06701b8 R14: 00000000ffffffff R15: ffff88e1d1253000
Jan 21 08:56:57 t495s kernel: [ 7403.538391] FS: 00007effe0e44a8
Jan 21 08:56:57 t495s kernel: [ 7403.538392] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jan 21 08:56:57 t495s kernel: [ 7403.538392] CR2: 0000000000000000 CR3: 000000040fbec000 CR4: 00000000003406e0
Jan 21 08:56:57 t495s kernel: [ 7403.538393] Call Trace:
Jan 21 08:56:57 t495s kernel: [ 7403.538474] dcn10_pipe_
Jan 21 08:56:57 t495s kernel: [ 7403.538554] dcn10_apply_
Jan 21 08:56:57 t495s kernel: [ 7403.538634] ? dc_remove_
Jan 21 08:56:57 t495s kernel: [ 7403.538635] done.
Jan 21 08:56:57 t495s kernel: [ 7403.538706] ? dc_rem_
Jan 21 08:56:57 t495s kernel: [ 7403.538777] dc_commit_
Jan 21 08:56:57 t495s kernel: [ 7403.538840] ? amdgpu_
Jan 21 08:56:57 t495s kernel: [ 7403.538914] dc_commit_
Jan 21 08:56:57 t495s kernel: [ 7403.538987] amdgpu_
Jan 21 08:56:57 t495s kernel: [ 7403.539062] ? optc1_get_
Jan 21 08:56:57 t495s kernel: [ 7403.539130] ? amdgpu_
Jan 21 08:56:57 t495s kernel: [ 7403.539199] ? dm_read_
Jan 21 08:56:57 t495s kernel: [ 7403.539268] ? generic_
Jan 21 08:56:57 t495s kernel: [ 7403.539272] ? _cond_resched+
Jan 21 08:56:57 t495s kernel: [ 7403.539318] ? amdgpu_
Jan 21 08:56:57 t495s kernel: [ 7403.539321] ? ww_mutex_
Jan 21 08:56:57 t495s kernel: [ 7403.539325] ? ttm_eu_
Jan 21 08:56:57 t495s kernel: [ 7403.539398] ? dm_plane_
Jan 21 08:56:57 t495s kernel: [ 7403.539400] ? _cond_resched+
Jan 21 08:56:57 t495s kernel: [ 7403.539402] ? wait_for_
Jan 21 08:56:57 t495s kernel: [ 7403.539404] ? wait_for_
Jan 21 08:56:57 t495s kernel: [ 7403.539414] commit_
Jan 21 08:56:57 t495s kernel: [ 7403.539421] ? commit_
Jan 21 08:56:57 t495s kernel: [ 7403.539428] drm_atomic_
Jan 21 08:56:57 t495s kernel: [ 7403.539496] amdgpu_
Jan 21 08:56:57 t495s kernel: [ 7403.539510] drm_atomic_
Jan 21 08:56:57 t495s kernel: [ 7403.539522] drm_atomic_
Jan 21 08:56:57 t495s kernel: [ 7403.539535] drm_mode_
Jan 21 08:56:57 t495s kernel: [ 7403.539550] ? drm_connector_
Jan 21 08:56:57 t495s kernel: [ 7403.539563] drm_connector_
Jan 21 08:56:57 t495s kernel: [ 7403.539572] drm_ioctl_
Jan 21 08:56:57 t495s kernel: [ 7403.539575] ? sock_write_
Jan 21 08:56:57 t495s kernel: [ 7403.539586] drm_ioctl+
Jan 21 08:56:57 t495s kernel: [ 7403.539599] ? drm_connector_
Jan 21 08:56:57 t495s kernel: [ 7403.539603] ? do_iter_
Jan 21 08:56:57 t495s kernel: [ 7403.539655] amdgpu_
Jan 21 08:56:57 t495s kernel: [ 7403.539658] do_vfs_
Jan 21 08:56:57 t495s kernel: [ 7403.539660] ? vfs_read+
Jan 21 08:56:57 t495s kernel: [ 7403.539661] ksys_ioctl+
Jan 21 08:56:57 t495s kernel: [ 7403.539663] __x64_sys_
Jan 21 08:56:57 t495s kernel: [ 7403.539666] do_syscall_
Jan 21 08:56:57 t495s kernel: [ 7403.539668] entry_SYSCALL_
Jan 21 08:56:57 t495s kernel: [ 7403.539671] RIP: 0033:0x7effe119267b
Jan 21 08:56:57 t495s kernel: [ 7403.539673] Code: 0f 1e fa 48 8b 05 15 28 0d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e5 27 0d 00 f7 d8 64 89 01 48
Jan 21 08:56:57 t495s kernel: [ 7403.539674] RSP: 002b:00007ffe6c
Jan 21 08:56:57 t495s kernel: [ 7403.539676] RAX: ffffffffffffffda RBX: 00007ffe6c5cc090 RCX: 00007effe119267b
Jan 21 08:56:57 t495s kernel: [ 7403.539677] RDX: 00007ffe6c5cc090 RSI: 00000000c01064ab RDI: 000000000000000c
Jan 21 08:56:57 t495s kernel: [ 7403.539677] RBP: 00000000c01064ab R08: 0000000000000000 R09: 00007effe0a6ed10
Jan 21 08:56:57 t495s kernel: [ 7403.539678] R10: 00007effe0a6ed20 R11: 0000000000000246 R12: 000055c6f5937c40
Jan 21 08:56:57 t495s kernel: [ 7403.539679] R13: 000000000000000c R14: 0000000000000000 R15: 000055c6f3b879c0
Jan 21 08:56:57 t495s kernel: [ 7403.539681] ---[ end trace d8cbaf69d48fc546 ]---