Cyberpunk 1.22 crashes with amdgpu ring gfx_0.0.0 timeout

Bug #1928602 reported by coolcatco888
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mesa (Ubuntu)
New
Undecided
Unassigned

Bug Description

Please see details in this link:
https://gitlab.freedesktop.org/drm/amd/-/issues/934#note_916755

This happens when I try to play Cyberpunk 2077 1.22 in Proton. I use Proton-6.8-GE-1. The game launches, it plays fine but when I open the Inventory, it crashes. All other Proton versions crash the game immediately or very frequently with this graphics driver timeout. (Note this happened very rarely on Cyberpunk 1.21, other games seem to work fine and my system is otherwise stable) I was told to file a bug against mesa.

OS: Ubuntu 20.04.2 LTS
KERNEL: 5.12.3-xanmod1
CPU: AMD Ryzen 7 3700X 8-Core
GPU: AMD AMD Radeon RX 5700 XT (NAVI10, DRM 3.40.0, 5.12.3-xanmod1, LLVM 12.0.0)
GPU DRIVER: 4.6 Mesa 21.1.0 - kisak-mesa PPA
RAM: 32 GB

Kernel Arguments
GRUB_CMDLINE_LINUX_DEFAULT="usbcore.autosuspend=-1 quiet splash radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 amdgpu.noretry=0"

Summary
May 13 12:17:26 hackintosh Cyberpunk 2077.desktop[8529]: It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
May 13 12:17:36 hackintosh kernel: [ 257.280586] [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out!
May 13 12:17:36 hackintosh kernel: [ 262.282283] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx_0.0.0 timeout, signaled seq=233331, emitted seq=233333
May 13 12:17:36 hackintosh kernel: [ 262.282477] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process Cyberpunk2077.e pid

Full Log
May 13 12:17:26 hackintosh Cyberpunk 2077.desktop[8529]: It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
May 13 12:17:26 hackintosh Cyberpunk 2077.desktop[8529]: Fossilize WARN: Render pass handle 0x00007fb8b546e460 is not registered.
May 13 12:17:26 hackintosh Cyberpunk 2077.desktop[8529]: It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
May 13 12:17:26 hackintosh Cyberpunk 2077.desktop[8529]: Fossilize WARN: Render pass handle 0x00007fb8c13ca0a0 is not registered.
May 13 12:17:26 hackintosh Cyberpunk 2077.desktop[8529]: It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
May 13 12:17:26 hackintosh Cyberpunk 2077.desktop[8529]: Fossilize WARN: Render pass handle 0x00007fb8c13ca0a0 is not registered.
May 13 12:17:26 hackintosh Cyberpunk 2077.desktop[8529]: It has either not been recorded, or it failed to be recorded earlier (which is expected if application uses an extension that is not recognized by Fossilize).
May 13 12:17:36 hackintosh kernel: [ 257.280586] [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out!
May 13 12:17:36 hackintosh kernel: [ 262.282283] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx_0.0.0 timeout, signaled seq=233331, emitted seq=233333
May 13 12:17:36 hackintosh kernel: [ 262.282477] [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process Cyberpunk2077.e pid 8529 thread Cyberpunk2077.e pid 8529
May 13 12:17:36 hackintosh kernel: [ 262.282652] amdgpu 0000:0c:00.0: amdgpu: GPU reset begin!
May 13 12:17:36 hackintosh kernel: [ 262.400268] [drm:amdgpu_dm_atomic_commit_tail [amdgpu]] *ERROR* Waiting for fences timed out!
May 13 12:17:36 hackintosh kernel: [ 262.660931] amdgpu 0000:0c:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring kiq_2.1.0 test failed (-110)
May 13 12:17:36 hackintosh kernel: [ 262.661006] [drm:gfx_v10_0_hw_fini [amdgpu]] *ERROR* KGQ disable failed
May 13 12:17:36 hackintosh kernel: [ 262.904580] amdgpu 0000:0c:00.0: [drm:amdgpu_ring_test_helper [amdgpu]] *ERROR* ring kiq_2.1.0 test failed (-110)
May 13 12:17:36 hackintosh kernel: [ 262.904654] [drm:gfx_v10_0_hw_fini [amdgpu]] *ERROR* KCQ disable failed
May 13 12:17:37 hackintosh kernel: [ 263.148241] [drm:gfx_v10_0_hw_fini [amdgpu]] *ERROR* failed to halt cp gfx
May 13 12:17:37 hackintosh kernel: [ 263.158091] [drm] free PSP TMR buffer
May 13 12:17:37 hackintosh kernel: [ 263.197727] amdgpu 0000:0c:00.0: amdgpu: BACO reset
May 13 12:17:40 hackintosh kernel: [ 266.340490] amdgpu 0000:0c:00.0: amdgpu: GPU reset succeeded, trying to resume
May 13 12:17:40 hackintosh kernel: [ 266.340624] [drm] PCIE GART of 512M enabled (table at 0x00000080007E9000).
May 13 12:17:40 hackintosh kernel: [ 266.340702] [drm] VRAM is lost due to GPU reset!
May 13 12:17:40 hackintosh kernel: [ 266.341073] [drm] PSP is resuming...
May 13 12:17:40 hackintosh kernel: [ 266.405075] [drm] reserve 0x900000 from 0x81fe400000 for PSP TMR
May 13 12:17:40 hackintosh kernel: [ 266.444418] amdgpu 0000:0c:00.0: amdgpu: RAS: optional ras ta ucode is not available
May 13 12:17:40 hackintosh kernel: [ 266.448541] amdgpu 0000:0c:00.0: amdgpu: RAP: optional rap ta ucode is not available
May 13 12:17:40 hackintosh kernel: [ 266.448543] amdgpu 0000:0c:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
May 13 12:17:40 hackintosh kernel: [ 266.448544] amdgpu 0000:0c:00.0: amdgpu: SMU is resuming...
May 13 12:17:40 hackintosh kernel: [ 266.448548] amdgpu 0000:0c:00.0: amdgpu: smu driver if version = 0x00000036, smu fw if version = 0x00000037, smu fw version = 0x002a3e00 (42.62.0)
May 13 12:17:40 hackintosh kernel: [ 266.448550] amdgpu 0000:0c:00.0: amdgpu: SMU driver if version not matched
May 13 12:17:40 hackintosh kernel: [ 266.450950] amdgpu 0000:0c:00.0: amdgpu: SMU is resumed successfully!
May 13 12:17:40 hackintosh kernel: [ 266.750399] [drm] kiq ring mec 2 pipe 1 q 0
May 13 12:17:40 hackintosh kernel: [ 266.752363] [drm] VCN decode and encode initialized successfully(under DPG Mode).
May 13 12:17:40 hackintosh kernel: [ 266.752521] [drm] JPEG decode initialized successfully.
May 13 12:17:40 hackintosh kernel: [ 266.752546] amdgpu 0000:0c:00.0: amdgpu: ring gfx_0.0.0 uses VM inv eng 0 on hub 0
May 13 12:17:40 hackintosh kernel: [ 266.752548] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1 on hub 0
May 13 12:17:40 hackintosh kernel: [ 266.752549] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4 on hub 0
May 13 12:17:40 hackintosh kernel: [ 266.752550] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5 on hub 0
May 13 12:17:40 hackintosh kernel: [ 266.752551] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6 on hub 0
May 13 12:17:40 hackintosh kernel: [ 266.752551] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7 on hub 0
May 13 12:17:40 hackintosh kernel: [ 266.752552] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.1.1 uses VM inv eng 8 on hub 0
May 13 12:17:40 hackintosh kernel: [ 266.752553] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.2.1 uses VM inv eng 9 on hub 0
May 13 12:17:40 hackintosh kernel: [ 266.752553] amdgpu 0000:0c:00.0: amdgpu: ring comp_1.3.1 uses VM inv eng 10 on hub 0
May 13 12:17:40 hackintosh kernel: [ 266.752554] amdgpu 0000:0c:00.0: amdgpu: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
May 13 12:17:40 hackintosh kernel: [ 266.752555] amdgpu 0000:0c:00.0: amdgpu: ring sdma0 uses VM inv eng 12 on hub 0
May 13 12:17:40 hackintosh kernel: [ 266.752556] amdgpu 0000:0c:00.0: amdgpu: ring sdma1 uses VM inv eng 13 on hub 0
May 13 12:17:40 hackintosh kernel: [ 266.752556] amdgpu 0000:0c:00.0: amdgpu: ring vcn_dec uses VM inv eng 0 on hub 1
May 13 12:17:40 hackintosh kernel: [ 266.752557] amdgpu 0000:0c:00.0: amdgpu: ring vcn_enc0 uses VM inv eng 1 on hub 1
May 13 12:17:40 hackintosh kernel: [ 266.752558] amdgpu 0000:0c:00.0: amdgpu: ring vcn_enc1 uses VM inv eng 4 on hub 1
May 13 12:17:40 hackintosh kernel: [ 266.752559] amdgpu 0000:0c:00.0: amdgpu: ring jpeg_dec uses VM inv eng 5 on hub 1
May 13 12:17:40 hackintosh kernel: [ 266.755843] amdgpu 0000:0c:00.0: amdgpu: recover vram bo from shadow start
May 13 12:17:40 hackintosh kernel: [ 266.763149] amdgpu 0000:0c:00.0: amdgpu: recover vram bo from shadow done
May 13 12:17:40 hackintosh kernel: [ 266.763151] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763152] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763169] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763173] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763178] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763180] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763182] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763184] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763186] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763187] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763189] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763190] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763191] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763193] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763194] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763198] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763202] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763206] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763210] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763212] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763213] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763214] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763218] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763219] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763220] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763221] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763223] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763224] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763231] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763233] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763234] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763235] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763238] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763246] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763248] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763249] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763251] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763252] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763254] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763255] [drm] Skip scheduling IBs!
May 13 12:17:40 hackintosh kernel: [ 266.763269] amdgpu 0000:0c:00.0: amdgpu: GPU reset(3) succeeded!
May 13 12:17:40 hackintosh Cyberpunk 2077.desktop[8529]: amdgpu: The CS has been cancelled because the context is lost.
May 13 12:17:40 hackintosh kernel: [ 266.764212] amdgpu_cs_ioctl: 54 callbacks suppressed
May 13 12:17:40 hackintosh kernel: [ 266.764215] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
May 13 12:17:40 hackintosh compiz.desktop[2804]: amdgpu: The CS has been cancelled because the context is lost.
May 13 12:17:40 hackintosh kernel: [ 266.779006] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
May 13 12:17:40 hackintosh kernel: [ 266.779145] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
May 13 12:17:40 hackintosh kernel: [ 266.779455] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
May 13 12:17:40 hackintosh kernel: [ 266.805362] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
May 13 12:17:40 hackintosh kernel: [ 266.805490] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
May 13 12:17:40 hackintosh Cyberpunk 2077.desktop[8529]: amdgpu: The CS has been cancelled because the context is lost.
May 13 12:17:40 hackintosh kernel: [ 266.822481] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
May 13 12:17:53 hackintosh kernel: [ 279.583238] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
May 13 12:17:53 hackintosh kernel: [ 279.606787] rfkill: input handler enabled
May 13 12:17:53 hackintosh kernel: [ 279.656517] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
May 13 12:17:53 hackintosh systemd[1]: Started Getty on tty2.
May 13 12:17:53 hackintosh kernel: [ 279.657334] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
May 13 12:17:53 hackintosh kernel: [ 279.657581] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
May 13 12:17:53 hackintosh kernel: [ 279.657785] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
May 13 12:17:53 hackintosh kernel: [ 279.657992] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
May 13 12:17:53 hackintosh kernel: [ 279.659332] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!
May 13 12:17:53 hackintosh kernel: [ 279.659521] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Failed to initialize parser -125!

affects: linux (Ubuntu) → mesa (Ubuntu)
Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

 GPU DRIVER: 4.6 Mesa 21.1.0 - kisak-mesa PPA

we don't have that even in impish yet

Revision history for this message
coolcatco888 (coolcatco888) wrote :
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.