protonscr

Age of Empires IV GPU hang with RADV

vkd3dclosed
HansKristian-Work/vkd3d-proton#1279 · opened 2022-11-04 by hakzsam · updated 2022-11-15 · 0 comments · github
Hhakzsam 2022-11-04 github

Firstly, I bisected to a ACO change which is https://gitlab.freedesktop.org/mesa/mesa/-/commit/0e783d687a3e13284eeae4081f16ee22033ff89b but it turns out it's a game bug. The game does OOB access of private (or scratch) memory in a compute shader.

This Mesa branch https://gitlab.freedesktop.org/hakzsam/mesa/-/commits/nir_bound_check_scratch_aoe4 workarounds the issue by implementing OOB checks for scratch in NIR. I reported a similar issue for Dirt Rally and DXVK earlier this year.

Original Mesa issue (for steps to reproduce) is https://gitlab.freedesktop.org/mesa/mesa/-/issues/7532

I guess vkd3d-proton should implement a workaround.

Nothing extracted yet.