Hello dears - me too:
it is a ASUS with Ryzen and Kubuntu LTS 20.04 - It happens from my point of
view only with battary power.
May be it is related to also happen
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1873325 with missing
firmware, that also not can found in git repo for Linux Firmware
notebook:~$ uname -a
Linux notebook 5.4.0-37-generic #41-Ubuntu SMP Wed Jun 3 18:57:02 UTC 2020
x86_64 x86_64 x86_64 GNU/Linux
Jun 20 21:55:02 notebook systemd[1]: snapd.service: Succeeded.
Jun 20 21:55:08 notebook kernel: [ 20.435116] [drm:amdgpu_job_timedout
[amdgpu]] *ERROR* ring gfx timeout, signaled seq=1, emitted seq=3
Jun 20 21:55:08 notebook kernel: [ 20.435251] [drm:amdgpu_job_timedout
[amdgpu]] *ERROR* Process information: process Xorg pid 843 thread Xorg:cs0 pid
850
Jun 20 21:55:08 notebook kernel: [ 20.435259] amdgpu :03:00.0: GPU reset
begin!
Jun 20 21:55:08 notebook systemd[1]: NetworkManager-dispatcher.service:
Succeeded.
Jun 20 21:55:09 notebook kernel: [ 21.587697] amdgpu :03:00.0: GPU reset
succeeded, trying to resume
Jun 20 21:55:09 notebook kernel: [ 21.588322] [drm] PCIE GART of 1024M
enabled (table at 0x00F40090).
Jun 20 21:55:09 notebook kernel: [ 21.588923] [drm] PSP is resuming...
Jun 20 21:55:09 notebook kernel: [ 21.608781] [drm] reserve 0x40 from
0xf47f80 for PSP TMR
Jun 20 21:55:09 notebook kernel: [ 21.620978] [drm] psp command failed and
response status is (0x7)
Jun 20 21:55:10 notebook kernel: [ 22.254474] [drm] VCN decode and encode
initialized successfully(under DPG Mode).
Jun 20 21:55:10 notebook kernel: [ 22.254485] amdgpu :03:00.0: ring gfx
uses VM inv eng 0 on hub 0
Jun 20 21:55:10 notebook kernel: [ 22.254488] amdgpu :03:00.0: ring
comp_1.0.0 uses VM inv eng 1 on hub 0
Jun 20 21:55:10 notebook kernel: [ 22.254491] amdgpu :03:00.0: ring
comp_1.1.0 uses VM inv eng 4 on hub 0
Jun 20 21:55:10 notebook kernel: [ 22.254493] amdgpu :03:00.0: ring
comp_1.2.0 uses VM inv eng 5 on hub 0
Jun 20 21:55:10 notebook kernel: [ 22.254496] amdgpu :03:00.0: ring
comp_1.3.0 uses VM inv eng 6 on hub 0
Jun 20 21:55:10 notebook kernel: [ 22.254498] amdgpu :03:00.0: ring
comp_1.0.1 uses VM inv eng 7 on hub 0
Jun 20 21:55:10 notebook kernel: [ 22.254500] amdgpu :03:00.0: ring
comp_1.1.1 uses VM inv eng 8 on hub 0
Jun 20 21:55:10 notebook kernel: [ 22.254502] amdgpu :03:00.0: ring
comp_1.2.1 uses VM inv eng 9 on hub 0
Jun 20 21:55:10 notebook kernel: [ 22.254505] amdgpu :03:00.0: ring
comp_1.3.1 uses VM inv eng 10 on hub 0
Jun 20 21:55:10 notebook kernel: [ 22.254508] amdgpu :03:00.0: ring
kiq_2.1.0 uses VM inv eng 11 on hub 0
Jun 20 21:55:10 notebook kernel: [ 22.254510] amdgpu :03:00.0: ring sdma0
uses VM inv eng 0 on hub 1
Jun 20 21:55:10 notebook kernel: [ 22.254512] amdgpu :03:00.0: ring
vcn_dec uses VM inv eng 1 on hub 1
Jun 20 21:55:10 notebook kernel: [ 22.254514] amdgpu :03:00.0: ring
vcn_enc0 uses VM inv eng 4 on hub 1
Jun 20 21:55:10 notebook kernel: [ 22.254516] amdgpu :03:00.0: ring
vcn_enc1 uses VM inv eng 5 on hub 1
Jun 20 21:55:10 notebook kernel: [ 22.254518] amdgpu :03:00.0: ring
vcn_jpeg uses VM inv eng 6 on hub 1
Jun 20 21:55:10 notebook kernel: [ 22.266075] [drm] recover vram bo from
shadow start
Jun 20 21:55:10 notebook kernel: [ 22.266076] [drm] recover vram bo from
shadow done
Jun 20 21:55:10 notebook kernel: [ 22.266077] [drm] Skip scheduling IBs!
Jun 20 21:55:10 notebook kernel: [ 22.266109] [ cut here
]
Jun 20 21:55:10 notebook kernel: [ 22.266116] WARNING: CPU: 2 PID: 597 at
include/linux/dma-fence.h:533 drm_sched_resubmit_jobs+0x152/0x160 [gpu_sched]
Jun 20 21:55:10 notebook kernel: [ 22.266116] Modules linked in: cmac
algif_hash algif_skcipher af_alg bnep snd_hda_codec_realtek
snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi snd_hda_intel
snd_intel_dspcfg snd_hda_codec snd_hda_core snd_hwdep nls_iso8859_1 snd_pcm
joydev rtsx_usb_ms snd_seq_midi memstick snd_seq_midi_event uvcvideo
videobuf2_vmalloc edac_mce_amd btusb snd_rawmidi btrtl videobuf2_memops kvm_amd
btbcm videobuf2_v4l2 ccp btintel videobuf2_common rtl8821ce(OE) bluetooth kvm
videodev snd_seq mc input_leds snd_seq_device asus_nb_wmi serio_raw snd_timer
asus_wmi wmi_bmof sparse_keymap ecdh_generic ecc hid_multitouch k10temp snd
snd_pci_acp3x cfg80211 soundcore mac_hid sch_fq_codel parport_pc ppdev lp
parport ip_tables x_tables autofs4 rtsx_usb_sdmmc rtsx_usb hid_generic amdgpu
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel amd_iommu_v2 gpu_sched
i2c_algo_bit ttm drm_kms_helper aesni_intel crypto_simd syscopyarea cryptd
sysfillrect glue_helper sysimgblt ahci fb_sys_fops libahci i2c_piix4 drm nvme
Jun 20 21:55:10 notebook kernel: [ 22.266144] nvme_core wmi video i2c_hid hid
Jun 20 21:55:10 notebook kernel: [ 22.266148] CPU: 2 PID: 597 Comm:
kworker/2:2 Tainted: G OE