protonscr

GPU hang with F1 2021

vkd3dclosed
HansKristian-Work/vkd3d-proton#1149 · opened 2022-06-29 by hakzsam · updated 2022-07-11 · 0 comments · github
Hhakzsam 2022-06-29 github

Original report can be found here https://gitlab.freedesktop.org/mesa/mesa/-/issues/6669.

Instructions for reproducing in-game can be found here https://gitlab.freedesktop.org/mesa/mesa/-/issues/6669#note_1429893 (really easy to reproduce, even in low preset).

VKD3D_CONFIG=descriptor_qa_checks reported this:

============
Fault type: MISMATCH_DESCRIPTOR_TYPE
CBV_SRV_UAV heap cookie: 24
Shader hash and instruction: 7b532bb92f21ede5 (7)
Accessed resource/view cookie: 622
Shader desired descriptor type: 256 (NONE)
Found descriptor type in heap: 40 (STORAGE_TEXEL_BUFFER / STORAGE_BUFFER)
Failed heap index: 553562
==========
0224:err:vkd3d_descriptor_debug_qa_check_entry: Num failed checks: 531

VKD3D_SHADER_DUMP_PATH can be found here https://people.freedesktop.org/~hakzsam/f12021_dump.tgz

RADV_DEBUG=hang generated a hang report where 7b532bb92f21ede5 is the FS sha1 (that means it found the bad draw call). Note that skipping draws with this faulty pipeline "fixes" the GPU hang. This FS has some atomic operations which might be the root cause.

Reproduced on NAV21 with RADV (Mesa main) and vkd3d-proton (1d869e3e). Also hangs with AMDVLK.