protonscr

Witcher 3 RT shadows are broken

vkd3dclosed
HansKristian-Work/vkd3d-proton#1373 · opened 2023-01-12 by K0bin · updated 2023-11-03 · 13 comments · github
KK0bin 2023-01-12 github

After walking for a couple of meters, this happens:

20230112015841_1

Jjanos666 2023-03-19 github

How did you even get the game running at all?
I dropped in the d3d12.dll from vkd3d-proton-2.8 and dxgi.dll from dxvk-2.1. TW3 4.0.2 stars up and the menu is working (NVAPI-dependent features and RT are both grayed out -> the first is expected, the latter is not so much) but upon loading a save file the game hangs up with a black screen (background music continues to play but the image is not refreshed, the RTSS overlay is also frozen).

KK0bin 2023-03-19 github

@janos666 There is absolutely no reason to use vkd3d-Proton on Windows. It's not gonna run faster.

Jjanos666 2023-03-19 github

@janos666 There is absolutely no reason to use vkd3d-Proton on Windows. It's not gonna run faster.

I was simply curious because I got ~17% higher fps with D11+DXVK compared to native DX11 but native DX12 is ~50% slower than native DX11.

Aadolfotregosa 2023-06-05 github

I've tried but failed. Nothing fixed that shadows issues with RT enabled. Nvidia over here.

KK0bin 2023-06-05 github

The shadow issue is likely a bug on our end, it's just extremely difficult to fix.

Aadolfotregosa 2023-06-05 github

The shadow issue is likely a bug on our end, it's just extremely difficult to fix.

You guys will find the fix for sure!

CCarlKath 2023-07-08 github

I am on Arch and wondering how you got it to work. I start the game with these arguments: "VKD3D_CONFIG=dxr11,dxr PROTON_ENABLE_NVAPI=1 PROTON_ENABLE_NGX_UPDATER=1 %command% --launcher-skip"

The menu loads flawless and i can set the settings, when Ray Tracing is enabled i get a black screen or hanging screen without seeing an in game image. Sound works, i still hear Witcher sound. In the system, the Witcher MainThread process is shown as inactive.

Sysinfo:
OS: Arch Linux x86_64
Host: PC-XB00432 V1.0
Kernel: 6.4.2-arch1-1
Uptime: 51 mins
Packages: 970 (pacman), 9 (flatpak)
Shell: bash 5.1.16
Resolution: 3840x2160
DE: Plasma 5.27.6
WM: KWin
Theme: [Plasma], Breeze [GTK2/3]
Icons: [Plasma], breeze-dark [GTK2/3]
Terminal: konsole
Terminal Font: Source Code Pro Semibold 10
CPU: Intel i7-5820K (12) @ 4.300GHz
GPU: NVIDIA GeForce RTX 3090 Ti
Memory: 5414MiB / 15906MiB

Thank you for reading. :)

KK0bin 2023-07-08 github

@CarlKath The game just hangs on Nvidia GPUs with RT enabled. I got in game with a shitty hack that impacts performance but we're not gonna ship that.

Unfortunately it's impossible to debug what's going wrong. It very much looks like a driver bug.

Ooscarbg 2023-07-08 github

@K0bin nvidia is aware of this possible driver bug, to help?

CCarlKath 2023-07-08 github

@CarlKath The game just hangs on Nvidia GPUs with RT enabled. I got in game with a shitty hack that impacts performance but we're not gonna ship that.

Unfortunately it's impossible to debug what's going wrong. It very much looks like a driver bug.

More than understandable that you don't want to release a half-baked code if it's not pleasant enough to game with it.

I thought it would be "okay" with RT Shadows disabled.

Thank you very much for the fast and nice reply! (:

In ProtonDB are a few guys that mentioned to running the game with RT, I was really wondering what's not okay with my configuration.

CCarlKath 2023-07-08 github

@K0bin nvidia is aware of this possible driver bug, to help?

I don't think nVidia will be addressing any problems with VKD3D.
Surprise me if you can.

Mmbriar 2023-07-08 github

I don't think nVidia will be addressing any problems with VKD3D.

of course they would, they have contributed to vkd3d-proton before and also support DLSS with it.

CCarlKath 2023-07-08 github

I don't think nVidia will be addressing any problems with VKD3D.

of course they would, they have contributed to vkd3d-proton before and also support DLSS with it.

Okay, thank you very much for the surprise!
I thought it was all work by the community.