[Desktop-packages] [Bug 1928602] [NEW] Cyberpunk 1.22 crashes with amdgpu ring gfx_0.0.0 timeout

2021-05-16 Thread coolcatco888
Public bug reported:

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=21, emitted 
seq=23
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 0x7fb8b546e460 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 0x7fb8c13ca0a0 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 0x7fb8c13ca0a0 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=21, emitted 
seq=23
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 :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 :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 :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 :0c:00.0: amdgpu: 
BACO reset
May 13 12:17:40 hackintosh kernel: [  266.340490] amdgpu :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 0x0080007E9000).
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 0x90 from 
0x81fe40 for PSP TMR
May 13 12:17:40 hackintosh kernel: [  266.18] amdgpu :0c:00.0: amdgpu: 
RAS: optional ras ta ucod

[Desktop-packages] [Bug 1928602] [NEW] Cyberpunk 1.22 crashes with amdgpu ring gfx_0.0.0 timeout

2021-05-16 Thread Launchpad Bug Tracker
You have been subscribed to a public bug:

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=21, emitted 
seq=23
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 0x7fb8b546e460 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 0x7fb8c13ca0a0 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 0x7fb8c13ca0a0 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=21, emitted 
seq=23
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 :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 :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 :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 :0c:00.0: amdgpu: 
BACO reset
May 13 12:17:40 hackintosh kernel: [  266.340490] amdgpu :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 0x0080007E9000).
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 0x90 from 
0x81fe40 for PSP TMR
May 13 12:17:40 hackintosh kernel: [  266.18] amdgpu :0c:00.0: amdgpu: 
RAS: