Forgot VKD3D_DEBUG=trace before so:
GravityMark vkd3d-proton2.log
I doubt this is our bug. There is nothing in the log that would suggest vkd3d-proton is at fault.
0130:fixme:nvapi:unimplemented_stub function 0x2ddfb66e is unimplemented!
Oh, you're using a release build so trace logs are omitted.
Looks like NvAPI_GPU_GetPCIIdentifiers which should be trivial.
Looks like this is implemented in https://github.com/jp7677/dxvk-nvapi
Does doing WINEDLLOVERRIDES=nvapi=d workaround the problem? You're on AMD so ideally nvapi not existing shouldn't be a problem.
It crashes somewhere in dxil-spirv, but the shader compiles fine in standalone CLI.
It crashes both without nvapi and with dxvk-nvapi. Here's a new log with dxvk-nvapi:
GravityMark vkd3d-proton3.log
I will build a debug build of vkd3d-proton tomorrow, too tired to bother today.
No further log is required, I've reproduced it.
From my PoV, the bench works fine now. There are some driver bugs though. There are no obvious validation errors that would explain it.
proton 2.3x1 2021-06WINEDLLOVERRIDES=nvapi=d`x1 2021-06VKD3D_DEBUG=tracex1 2021-06
GravityMark in D3D12 mode crashes on startup.
Tested on:
Arch Linux
AMD Radeon RX 5700 XT
Kernel 5.12.11-zen1-1-zen
RADV from Mesa 21.1.2
wine-tkg 6.10.r6.g876024f4 (with and without fsync2 turned on)
dxgi from DXVK: v1.9-1-g6b8ab4fd
vkd3d-proton 2.3.1
GravityMark vkd3d-proton.log