vkd3d-proton
vkd3d-proton copied to clipboard
Hitman 3 Ray Tracing
Hi,
Ray Tracing isn't working for me in H3 (no visual difference when any of the ray tracing options are enabled or not)
H3 version: 3.110.1
I'm using GE-Proton7-21, also doesn't work with other standard Proton versions and GE-Proton7-20,
with these options: VKD3D_CONFIG=dxr11 RADV_PERFTEST=rt %command%
I have all other game settings on maximum, but I don't think these should have an impact on RT working or not
System:
rx 6700xt
i5-12600k
Garuda Linux (Arch-based)
mesa 22.1.2-1
If this does not belong here, please tell me, I'm very sorry in that case
With Hitman 3, I am guessing you enabled Ray Tracing in the launcher options, clicked save then launched the game with those settings?
Did you check the graphics settings in the ingame options to see if you can enable ray tracing there? With 6700xt/11600K, git pull of VKD3D from last night and Mesa 22.2 Devel, I can enable ray tracing in the launch options area but ingame, the option is disabled. It appears that not everything is ready for ray tracing in Hitman 3 under linux just yet...
I'm having issues with RT in Hitman 3 as well. I can enable it and DLSS in the launcher (VKD3D_CONFIG=dxr DXVK_FEATURE_LEVEL=12_1 etc. in env variables) and the frame rate absolutely tanks so, something is happening - but RT reflections aren't displaying (I honestly can't tell if lighting/shadows/etc are working, the frame rate stabalises when reflections are turned off and I'm not sure what to make of that?). Cyberpunk 2077 RT is working with the same set-up. Like jhu54 above the settings are disabled in-game, I'm not sure if this is normal as I don't run Windows anymore to test.
- RTX 3060Ti/Ryzen 5 3-series
- Arch Linux
- nVidia 515 drivers
- Latest Wine-GE via Heroic Launcher
- rt-subobject-association branch of vkd3d (this branch made a huge difference in being able to enable and use RT in Cyberpunk)
- DXVK NVAPI DLL
I'm going to download the demo of the Steam version and see if Proton-GE gives me a different result
With Hitman 3, I am guessing you enabled Ray Tracing in the launcher options, clicked save then launched the game with those settings?
Did you check the graphics settings in the ingame options to see if you can enable ray tracing there? With 6700xt/11600K, git pull of VKD3D from last night and Mesa 22.2 Devel, I can enable ray tracing in the launch options area but ingame, the option is disabled. It appears that not everything is ready for ray tracing in Hitman 3 under linux just yet...
You're right, I enabled it in the launcher settings, ingame I can't change it (the RT options are greyed out) but they say they're enabled...
there were a bunch of rt related changes that got merged 2 days ago, maybe try this again?
No dice here :( Same result as before
In my case (RTX 3080 Ti) the option in the launcher is greyed out. The game does detect the right GPU, and I'm using this as launcher options:
VKD3D_CONFIG=dxr11 DXVK_FEATURE_LEVEL=12_1 PROTON_ENABLE_NVAPI=1 PROTON_HIDE_NVIDIA_GPU=0 %command%
Any ideas?
Update
It works now with the variables above and Glorious Egg Proton-6.21-GE-2
Tried with VKD3D_CONFIG=dxr11 RADV_PERFTEST=rt DXVK_FEATURE_LEVEL=12_1, In the launcher i could enable ray tracing but in game it showed that only ray tracing was enabled (Ray traced Sun Shadows and reflections were off, and the options were greyed out)
RX 6950xt, R7 5800X
Same results here as JonLit, RT ON, but can't change settings in game, and no visual change or FPS drop
Relevant Hardware:
Ryzen 9 7950X 32GB DDR5-5600 CL32 Radeon 6700XT, stock
Software:
Xubuntu 22.04, fully updated Mesa 23.0.0-devel (from today) kernel 6.0.0, latest firmware compiz 0.9.14.1 (yeah, I'm insane, XFCE+compiz, LOL)
Steam, GE-Proton7-42 (tried all others I could)
VKD3D_FEATURE_LEVEL=12_2 RADV_PERFTEST=rt VKD3D_CONFIG=dxr11 MANGO_HUD=1 %command% -dx12
Same here.
Ryzen 5 1600 RX 6650 XT Arch Linux Wine-GE-Proton7-35
Same issue, launching with VKD3D_CONFIG=dxr11 DXVK_FEATURE_LEVEL=12_1 PROTON_ENABLE_NVAPI=1 PROTON_HIDE_NVIDIA_GPU=0 gamemoderun mangohud %command% and RT is disabled in the game's options menu. I cannot access the options through the launcher, clicking "Options" just launches the game instead.
I've tried forcing RT on by editing the registry with protontricks but I don't see RT working in-game.
13900k RTX 3090 Arch Linux GE-Proton-7-43 (Also tried Proton 7.0-5 and Experimental)
I am experiencing same issues with Resident Evil RE engine based games too.
Toyed a bit around with this (Hitman 3 RT) and it doesn't seem to be a vkd3d-proton issue. I can enable RT fine ingame on Windows with vkd3d-proton when i also give it a bogus vendorId e.g. dxgi.customVendorId = ffff which you would put into a dxvk.conf file next to the exe ( HITMAN 3/Retail/ ). Tested with a 7900XTX.
This also works on Linux if i do the same thing.
I am unsure what info it is looking for without this workaround that doesn't fulfills it's requirements for AMD since setting amd_ags_x64 to native doesn't help. Windows Driver version reported through there is relatively up to date.
Toyed a bit around with this (Hitman 3 RT) and it doesn't seem to be a vkd3d-proton issue. I can enable RT fine ingame on Windows with vkd3d-proton when i also give it a bogus vendorId e.g.
dxgi.customVendorId = ffffwhich you would put into adxvk.conffile next to the exe ( HITMAN 3/Retail/ ). Tested with a 7900XTX. This also works on Linux if i do the same thing.I am unsure what info it is looking for without this workaround that doesn't fulfills it's requirements for AMD since setting
amd_ags_x64to native doesn't help. Windows Driver version reported through there is relatively up to date.
If I just set that in the dxvk conf it works? Do I need anything else in that file? Any command line ARGS needed?
Well works and works. My GPU hung and second time game black screened on loading, but it allows me to enable the options ingame.
I dunno what GPU you have. If you have amd and use radv driver you'd need VKD3D_CONFIG=dxr11 RADV_PERFTEST=rt %command%
For Nvidia just VKD3D_CONFIG=dxr11 %command%
Unsure if Nvapi needs to be enabled on Nvidia for RT even if we report another GPU vendor.
Edit: Also get a crash if i start the game with RT already turned on before main menu. Also i missed your comment above. See you have AMD now
Just ran across this issue when trying to get RT working in the demo version. Simply having RT features enabled for vkd3d leaves the RT option in-game greyed out, but setting a bogus vendor id as suggested by @Blisto91 changes that. With the workaround in place both RT reflections and shadows can be toggled in game and render correctly. Of course, that means losing access to DLSS.
4070 Ti, driver 535.86.05 Nobara 38, kernel 6.3.12 GE-Proton8-9
RT is still broken with the dummy vendor ID, now when i open the game i get a vkCreateRayTracingPipelinesKHR error (RX 6950XT)
when i open the game i get a vkCreateRayTracingPipelinesKHR error (RX 6950XT)
This is probably a RADV issue. In current stable Mesa versions (up to 23.1.x) that is sort of to be expected. These issues should be gone in 23.2, but that isn't released yet as of now. Best thing is probably to wait until 23.2 is out (shouldn't be too long until it is released) and then try again.
when i open the game i get a vkCreateRayTracingPipelinesKHR error (RX 6950XT)
This is probably a RADV issue. In current stable Mesa versions (up to 23.1.x) that is sort of to be expected. These issues should be gone in 23.2, but that isn't released yet as of now. Best thing is probably to wait until 23.2 is out (shouldn't be too long until it is released) and then try again.
same issue with 23.3.0
Post a log
I'm having a related issue where the Ray Tracing option is just greyed out for me. I'm on Fedora 38, I have an RTX 2070s, and ray tracing works in other titles just fine. I've tried the latest Proton, Experimental, and GE 8-13, along with every combo of these launch options: PROTON_HIDE_NVIDIA_GPU=0 PROTON_ENABLE_NVAPI=1 VKD3D_CONFIG=dxr DXVK_FEATURE_LEVEL=12_1 gamemoderun %command%
I have enabled DLSS and that was no problem, so one of the Nvidia features is working.
It just won't let me enable it in the launcher or in the game menu.
I'm having a related issue where the Ray Tracing option is just greyed out for me. I'm on Fedora 38, I have an RTX 2070s, and ray tracing works in other titles just fine. I've tried the latest Proton, Experimental, and GE 8-13, along with every combo of these launch options:
PROTON_HIDE_NVIDIA_GPU=0 PROTON_ENABLE_NVAPI=1 VKD3D_CONFIG=dxr DXVK_FEATURE_LEVEL=12_1 gamemoderun %command%I have enabled DLSS and that was no problem, so one of the Nvidia features is working.
It just won't let me enable it in the launcher or in the game menu.
That is literally this whole issue in a nutshell. Welcome to the club.
Ryzen 5600X + RX7600 Linux 6.5.6 Mesa 23.2.1
.../HITMAN 3/Retail/dxvk.conf
dxgi.customVendorId = ffff
VKD3D_CONFIG=dxr11 gamemoderun %command% -skip_launcher
Ray tracing works fine (no artifact) but incredible drop performance (75 to 5 fps) but i suppose is normal with my gpu
Ryzen 5600X + RX7600 Linux 6.5.6 Mesa 23.2.1
.../HITMAN 3/Retail/dxvk.conf
dxgi.customVendorId = ffffVKD3D_CONFIG=dxr11 gamemoderun %command% -skip_launcher
Ray tracing works fine (no artifact) but incredible drop performance (75 to 5 fps) but i suppose is normal with my gpu
Interesting, maybe my issue is 6xxx only, I can't even open the game with RT enabled
@davigamer987 mesa version ? (23.2 is the first that enable RT for RADV)
@davigamer987 mesa version ? (23.2 is the first that enable RT for RADV)
23.3.0
Can you post a proton or wine log please
Can AMD users verify that the Ray Tracing option ingame is no longer grayed out without a override on Proton Experimental Bleeding Edge? (mesa 23.2.1+). No vkd3d-proton configs should be needed either.
If Nvidia users could give it a recheck that would also be great.
If Nvidia users could give it a recheck that would also be great.
Still greyed out, even when passing VKD3D_CONFIG=dxr
On the upside, DLSS now works instead of turning the whole screen bright yellow
Can AMD users verify that the Ray Tracing option ingame is no longer grayed out without a override on Proton Experimental Bleeding Edge? (mesa 23.2.1+). No vkd3d-proton configs should be needed either.
Ray tracing is no longer grayed out for me. Ray tracing, ray traced reflections, and sun shadows can be toggled. No commands in the Steam launcher. I have AMD 7900 XTX and 7800 XT cards and Mesa 23.2.1.
Can AMD users verify that the Ray Tracing option ingame is no longer grayed out without a override on Proton Experimental Bleeding Edge? (mesa 23.2.1+). No vkd3d-proton configs should be needed either.
If Nvidia users could give it a recheck that would also be great.
If we're talking VKD3D 2.11, DLSS works but RT is still grayed out. 3060ti.