Skip to content

Raytracing

frostworx edited this page Jul 2, 2022 · 3 revisions

no user reports, might be incomplete

By enabling USERAYTRACING in the Game Menu/Game Config or by simply putting the game into the "Raytracing" Steam Collection all options required for Raytracing are enabled automatically.

  • sets VKD3D_CONFIG=dxr11
  • -dx12 is appended automatically to the game command line arguments

Also check Nvidia-only DLSS

To help understand, what steamtinkerlaunch does for enabling Raytracing, here is what @Bananaman wrote after testing:

DXR Raytracing.

To test raytracing I'm using the Ghostrunner Demo. Started in Steam as "Play with DirectX 12 (RTX)".

  • Without setting anything in SteamTinkerLaunch: DLSS is grayed out in the game. The RTX switch is visible and can be set to On but doesn't seem to do anything (the reflections are fake, just reflecting the environment map, nothing else).
  • Enabling "USE RAYTRACING" in STL: DLSS still not possible to enable (because NVAPI is not enabled), this is to be expected. And RTX raytracing is definitely being enabled in VKD3D but the game crashed as soon as I started New Game.
  • Enabling RAYTRACING and DLSS: I can now see DLSS options in the game. Game still crashes.
  • To check if export VKD3D_CONFIG=dxr works better than export VKD3D_CONFIG=dxr11, I edited the STL binary (script) and made this change: No difference.

Conclusions:

  1. STL is doing the right thing.
  2. There doesn't seem to be a reason to use "dxr" instead of "dxr11".
  3. I don't have any of the games listed as supported in VKD3D. It's clearly gonna work if I had a supported game. Because I can see that it's trying to use raytracing.
  4. DLSS/NVAPI is a separate feature, which is unrelated to raytracing and can be enabled/disabled separately. This is correct. Because both AMD and NVIDIA support DXR.
  5. Your raytracing feature is complete.
Clone this wiki locally