Same issue on Nvidia hardware. RT is greyed out. You can choose a preset, but it doesn't actually enable RT.
Launch options:
gamemoderun PROTON_LOG=1 VKD3D_LOG_FILE=1 VKD3D_DEBUG=trace VKD3D_CONFIG=dxr11 VKD3D_FEATURE_LEVEL=12_2 PROTON_ENABLE_NVAPI=1 PROTON_HIDE_NVIDIA_GPU=0 %command%
System information:
GPU: Nvidia RTX 3060
Driver: 525.89.02
Proton Experimental
Log:
Yeah, we don't know what libraries the game is using to determine DXR support, clearly not just D3D12 though (or it depends on some weird features we don't expose for some reason).
It's possible to enable RT in the game when using VKD3D-Proton on Windows with VKD3D_CONFIG=dxr11 and VKD3D_FEATURE_LEVEL=12_2.
So it comes down to some other library.
It's possible to enable RT in the game when using VKD3D-Proton on Windows with VKD3D_CONFIG=dxr11 and VKD3D_FEATURE_LEVEL=12_2.
So it comes down to some other library.
Which Nvidia driver version do you use on windows?
Latest Vulkan dev one.
This was recently confirmed to be a deliberate decision by the game; raytracing options are not available if it detects wine. Not much we can do here.
@doitsujin raytracing is available if you hide wine exports its somewhat working with amdvlk if you force SM/FL with vkd3d env vars, i was able to finish the demo with RT on. however an "assertion failed" error dialog does pop-up, which i can ignore and just keep playing.
Previous amdvlk would just crash after a while, i did open an issue on mesa issue tracker a while ago https://gitlab.freedesktop.org/mesa/mesa/-/issues/9559
For anyone watching this issue, figured out that if you put /WineDetectionEnabled:False onto the launch options for RE4 then you can enable/disable raytracing (just from the main menu!) and it works and there's an actual difference. On NV, anyway.
proton experimentalx1 2023-03proton hotfixx1 2023-03VKD3D_CONFIG=dxr11x4 2023-03VKD3D_FEATURE_LEVEL=12_2.x2 2023-03PROTON_LOG=1x2 2023-03VKD3D_DEBUG=tracex2 2023-03VKD3D_FEATURE_LEVEL=12_2x2 2023-03PROTON_ENABLE_NVAPI=1x1 2023-03PROTON_HIDE_NVIDIA_GPU=0x1 2023-03VKD3D_LOG_FILE=1x1 2023-03RADV_PERFTEST=rtx1 2023-03VKD3D_LOG_FILE=$HOME/re4demo-vkd3d.logx1 2023-03gamemoderun PROTON_LOG=1 VKD3D_LOG_FILE=1 VKD3D_DEBUG=trace VKD3D_CONFIG=dxr11 VKD3D_FEATURE_LEVEL=12_2 PROTON_ENABLE_NVAPI=1 PROTON_HIDE_NVIDIA_GPU=0 %command%x1 2023-03PROTON_LOG=1 VKD3D_DEBUG=trace VKD3D_LOG_FILE=$HOME/re4demo-vkd3d.log RADV_PERFTEST=rt VKD3D_CONFIG=dxr11 mangohud %command%x1 2023-03
Raytracing not available in game. From Graphics menu, Presets you can choose the Raytracing preset, and then the Raytracing option is changed to Normal or High or Off. However you can't manually change it directly and there is no visual indication that Raytracing works.
As per https://gitlab.freedesktop.org/mesa/mesa/-/issues/8372 Raytracing with RADV works on the other Remake games, I tested at least Resident Evil remake 2 and 3.
Software information
Resident Evil 4 Chainsaw Demo with launch options:
PROTON_LOG=1 VKD3D_DEBUG=trace VKD3D_LOG_FILE=$HOME/re4demo-vkd3d.log RADV_PERFTEST=rt VKD3D_CONFIG=dxr11 mangohud %command%
System information
Log files
Proton Log
steam-2231770.tar.gz
VKD3D Log
re4demo-vkd3d.tar.gz
Edit: Tried with Mesa from git: a455f803954 and added VKD3D_FEATURE_LEVEL=12_2 option also:
Log files:
re4demo-vkd3d.tar.gz
steam-2231770.tar.gz