protonscr

GravityMark crashes

vkd3dclosed
HansKristian-Work/vkd3d-proton#705 · opened 2021-06-18 by niobium93 · updated 2021-06-25 · 8 comments · github
Nniobium93 2021-06-18 github

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

Nniobium93 2021-06-18 github

Forgot VKD3D_DEBUG=trace before so:
GravityMark vkd3d-proton2.log

HHansKristian-Work maintainer 2021-06-18 github

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.

Mmisyltoad maintainer 2021-06-18 github

Looks like NvAPI_GPU_GetPCIIdentifiers which should be trivial.

Looks like this is implemented in https://github.com/jp7677/dxvk-nvapi

Mmisyltoad maintainer 2021-06-18 github

Does doing WINEDLLOVERRIDES=nvapi=d workaround the problem? You're on AMD so ideally nvapi not existing shouldn't be a problem.

HHansKristian-Work maintainer 2021-06-18 github

It crashes somewhere in dxil-spirv, but the shader compiles fine in standalone CLI.

Nniobium93 2021-06-18 github

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.

HHansKristian-Work maintainer 2021-06-18 github

No further log is required, I've reproduced it.

HHansKristian-Work maintainer 2021-06-25 github

From my PoV, the bench works fine now. There are some driver bugs though. There are no obvious validation errors that would explain it.

  • RADV Polaris works (reported)
  • amdgpu-pro works
  • NV works when not using VK_KHR_buffer_device_address (reported)

Proton versions

Launch options