praydog / REFramework

Scripting platform, modding framework and VR support for all RE Engine games
https://cursey.github.io/reframework-book/
MIT License
2.84k stars 353 forks source link

Only half FPS in Oculus #587

Open JustMyma opened 1 year ago

JustMyma commented 1 year ago

Hello, I have 60 FPS in Oculus quest 2 (120 FPS on the monitor) at 120 Hz, 45 at 90 Hz and so on. When I take it off my head and put again it 1-0 frames per second. RTX 4080, without VR 200+ frames per second. I tryed to disabling ASW, tryed to delete openvr_api, vsync is off. Nothing helps

JustMyma commented 1 year ago

re2_framework_log.txt

praydog commented 1 year ago

This is completely fixed in the pd-upscaler branch, just some issues with crashing are being worked out.

JustMyma commented 1 year ago

May be I do something wrong, but it didn't help for me. OculusScreenshot1669566524

Additionaly I tryed: Disable G-sync for all monitors Tryed to unckeck/check all options in menu (vr/ performance/ debug, On asynchronus render uncheck - game crash) Tryed min graphics settings Tryed min resolution and Hz in oculus Update win 10

Always fps in VR is a half of ingame fps

JustMyma commented 1 year ago

Tryed on/off FidelityFX

RESIDENT EVIL 2 BIOHAZARD RE2.zip This is compiled dlls that I use

praydog commented 1 year ago

Again, it's completely fixed in the pd-upscaler branch. I forgot to mention that it requires an unreleased plugin to work in the first place, and requires the new rendering method to be set to Single Frame Multi-Pass (which only works with the unreleased plugin).

JustMyma commented 1 year ago

Ok, thank you. I don't understand why this problem only in my case?

praydog commented 1 year ago

It's not. The current rendering method is GPU & CPU heavy. The new one lowers the burden on both of them.

JustMyma commented 1 year ago

Got it. Finally, I added PDPerfPlugin.dll, set VR_RenderingTechnique=2 (multi-pass in menu) and now I have a new problem: in HMD I in steamvr room, renders only on monitor (tracking works) :(

praydog commented 1 year ago

Again, it's not released. The PDPerfPlugin.dll you have is a dummy DLL that doesn't do anything.

Fogerex commented 1 year ago

re2_framework_log.txt I have a similar problem . Rtx 4070ti , ryzen 5600x and oculus quest 2

Fogerex commented 1 year ago

I found what the problem is, you need to lower the graphics settings in Nvidia experience to a minimum. Scale reduce to 0.7 and fps up to 120hz

JustMyma commented 1 year ago

I found what the problem is, you need to lower the graphics settings in Nvidia experience to a minimum. Scale reduce to 0.7 and fps up to 120hz

Now I use 72hz and max scale with FSR to balance, max settings in game with RT. Sometimes it works fine, sometimes it becomes unplayable (in this case reboot and quit all programs like discord helps). I tryed to use pd-upscaler with PDPerfPlugin from nexus mods and dlss, but game does't start at all in VR mode.

pudimdecana commented 1 year ago

So uh.. I feel pretty dumb asking this, but how do I get my hands on the pd-upscaler branch? Is there a way or do I need for the changes to come to the master branch? I have a decent machine and know I can run the game at 72 fps (rtx 3070 + r5 5600x + 32gb RAM)