doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
12.72k stars 816 forks source link

Nature Treks VR [587580] black screen but works with WINED3D #1306

Closed frostworx closed 4 years ago

frostworx commented 4 years ago

Merry Christmas! :) just found out that "Nature Treks VR" works with PROTON_USE_WINED3D=1 (stuttering though) but only draws a black screen with dxvk. This only happens when SteamVR is running. With SteamVR disabled the in game menu is also drawn correctly on the Desktop Window (can't control it though, then, so can't test it further). The only err in the debug log is err: DXGI: SetGPUThreadPriority: Ignoring (doesn't appear when SteamVR is disabled).

Software information

Nature Treks VR [587580] https://store.steampowered.com/app/587580/Nature_Treks_VR

System information

Log files

K0bin commented 4 years ago

Please add an apitrace. It is impossible to debug this without one.

frostworx commented 4 years ago

didn't think that I'd get an answer so soon, thx. I don't have windows so I put x64 builds (game is 64 bit) of d3d11.dll, dxgi.dll and dxgitrace.dll to the exe and launched it with WINEDLLOVERRIDES="dxgi,dxgitrace,d3d11,d3d10,d3d9=n,b" PROTON_LOG=1 %command% (with enabled steamvr) the game doesn't crash but simply doesn't draw anything, so I forcefully quit it after some seconds. I hope the trace helps. trace.zip

frostworx commented 4 years ago

The app works excellent with current dxvk and clean protonprefix with proton-4-11-12! thank you very much doitsujin!

frostworx commented 4 years ago

fyi: looks like it wasn't a dxvk change which fixed this, but a vulkan change in a previous nvidia vulkan beta driver. now with stable nvidia-440.59 it works again ootb.