HansKristian-Work / vkd3d-proton

Fork of VKD3D. Development branches for Proton's Direct3D 12 implementation.
GNU Lesser General Public License v2.1
1.9k stars 199 forks source link

Resident evil 2 RT problems #1268

Closed weter11 closed 1 year ago

weter11 commented 2 years ago

After June update RE2 receive support for ray traced GI and reflections and lights reflections (looks like characters shadows still with classic and buggy in this game rasterisation). But now even with recent October update, game still have tons of issues. Partial list, which is present on my system (5800H; RTX3070):

  1. Internal resolution isn't changeable, it always 1920x1080, setting any other don't have any effect (tried also with external 4k TV)
  2. 52fps with RT and 90fps w/o. GPU load is always 50-60% in both situations, CPU speed is also don't have any effect with boost (up to 4GHz) or without (3.2GHz).
  3. Game stuck after pressing Quit button. Only manually stopping in Steam menu is working.
  4. HD textures not used, even after installation in FM5000. But in dx11-nonRT everything ok.

Used options: VKD3D_FEATURE_LEVEL=12_2 VKD3D_CONFIG=dxr11 PROTON_ENABLE_NVAPI=1 %command% Also tried latest Proton-GE, the same performance.

steam-883710.log

887.log

Little update: CPU speed is important, looks like there a bug in Tuxedo TCC, so CPU worked in a range 2.2-3.2GHz instead of 4GHz, so now I have 63fps with RT at 4GHz. Thanks to Kassin Dornelles for issue, looks like not only RE8 have problems with ReBAR: with no_upload_hvv no more huge slowdowns, when you press button to open invertory menu or change video options ingame, when game reached to use all VRAM.

weter11 commented 1 year ago

It's super strange, but game show 240fps and GPU load 99%, when I set an option PROTON_USE_WINED3D=1. After that all 4 bugs eliminate, manguhud report as usual VKD3D (not wined3d), but this option sadly disable RT (main reason for me to play this version, because rasterised lighting is buggy). Update: it uses VKD3D from wine project (reported version 1.4.0), thats the reason for grayed options for RT.

weter11 commented 1 year ago

Looks like where was a problem with manually installed driver from nvidia website. Now I installed a new one from Nvidia PPA and everything ok. All problems solved, also it's important to limit textures to 4GiB, because of high VRAM usage looks like game engine try to unload HD texture pack, if you limited with 8GiB of VRAM (even with 4GiB texture limit in settings it uses 5.7GiB w/o texture pack and 6.3GiB with it). Also performance so bad with RT (40-50fps instead of 100-120), that I think this game really need any sort of DLSS2.4/FSR2.1/XeSS. And VKD3D_CONFIG=no_upload_hvv for stable framerate. Sorry for misleading, problem was not on VKD3D side. Best wishes!