[RADV] Blocky corruption in Scarlet Nexus and vkd3d-proton 2.4
GPU: RX580 Mesa version: 21.1.4 or recent main 48af341b
Scarlet Nexus has blocky corruption in dx12 mode (set %command% -dx12
as launch option in steam) with RADV:
It works fine with AMDVLK. Setting RADV_DEBUG=nohiz works around it. This happens since vkd3d-proton commit
commit 81d472242b7ab5becf0bd15a6592fdb99f628890
Author: Hans-Kristian Arntzen <post@arntzen-software.no>
Date: Fri Jul 2 16:25:21 2021 +0200
vkd3d: Clear single depth-stencil aspect correctly.
...
Incidentally, related tests from the vkd3d-proton testsuite are also failing:
...
d3d12:5242: DSV descriptor handle increment size: 64.
d3d12:5290: Test failed: Got 0.00000000e+00, expected 7.50000000e-01 at (0, 0).
...
d3d12: test_discard_resource
d3d12:47485:Test 12: Test failed: Got 0.00000000e+00, expected 1.00000000e+00 at (0, 0).
...
d3d12: 3326767 tests executed (2 failures, 72 successful todo, 15 skipped, 276 todo, 1 bugs).
Renderdoc capture of the issue: https://drive.google.com/file/d/1sM55I74C2GQ9wr9ESLiM2XVT8Kd_ZJXN/view?usp=sharing