protonscr

Path Tracing SDK v1.2.0 demo causes dxil-spirv to crash

vkd3dclosed
HansKristian-Work/vkd3d-proton#1697 · opened 2023-09-10 by Saancreed · updated 2023-09-22 · 0 comments · github
SSaancreed 2023-09-10 github

Attempting to run Nvidia's Path Tracing SDK v1.2.0 demo crashes while compiling RT pipeline using DXIL shaders. It might be possible that the demo is just naughty and uses some Nvidia-specific vendor hacks even when we report them as unsupported (in which case feel free to close this as not planned) but maybe there is some actual bug in dxil-spirv so I'm reporting this just in case. The issue still persists even if I disable NVAPI hack and prevent nvapi64.dll from being loaded.

This seems to be the DXIL it dies at:

4dc02361d5320746.lib.dxil.gz

$ dxil-spirv --entry RayGen 4dc02361d5320746.lib.dxil
Segmentation fault (core dumped)

Software information

Nvidia's Path Tracing SDK v1.2.0, prebuilt binaries are downloadable here.

  • DXVK_ENABLE_NVAPI=1
  • VKD3D_CONFIG=dxr11
  • plus a bunch of variables to hide Intel iGPU

System information

  • GPU: Nvidia GeForce RTX 4080 Mobile
  • Driver: 535.104.05
  • Wine version: wine-tkg-git-8.14-staging-protonified
  • VKD3D-Proton version: 88e4f300

Log files

pt_sdk.log
backtrace.txt

Launch options

DLLs