praydog / REFramework

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

Low GPU Usage when i use the VR headset in RE8, extremely laggy #147

Open meikodunois opened 2 years ago

meikodunois commented 2 years ago

When i'm not using the VR headset the Gpu Usage is fine and the games runs great, but when i put the headset my gpu usage goes as low as 5% or less, and everything i saw is the oculus sand clock loading logo with the game being extremely laggy, i have a Ryzen 3700x with and GTX 1080 and i'm using a Rift S, the graphics are in balance, and the HDR is completely disabled, the weird thing is that just one time this worked great, without a problem, but it was just that time.

meikodunois commented 2 years ago

I notice that if i click out of the game window this get fixed (Not all the time) or if i click the game window then the game runs horrible and the Gpu Low usage happens, and the annoying thing is that if i want to change the mods settings i can't play because of this, or if i want to use a controller (like dualsense), i have to click in the game window in order to make my controller work, and i can't do that because i have that GPU low usage"bug".

cursey commented 2 years ago

During the revamp of the D3D12 implementation I also started experiencing this issue (rolling back my changes had no effect). Symptoms of this issue that I've identified so far:

My setup:

Looking for additional input from people experiencing the same issue.

cursey commented 2 years ago

This is such a strange bug I can't say for certain if this fixes it but if you're also on Windows 11 try turning off "Hardware-accelerated GPU scheduling" in the system settings. It's on by default. Turning this off has (apparently) fixed this issue entirely for me. Could just be a coincidence though. ApplicationFrameHost_m1LhfLuDY8

DrizzleBoX commented 2 years ago

Same issue here i-7700K RX 6800 XT Windows 10

I can't find the Hardware-accelerated GPU scheduling option within Windows 10

5yndr0id commented 2 years ago

Same here. "Hardware-accelerated GPU scheduling" fixed the framerate stalling for me, but also caused the image to be warped like with a wrong aspect ratio. Tested RE8 with "Merge pull request #144 from praydog/dx12-fixes"

Oculus Rift CV1 Win10 i7-4790k RTX 3060ti 16GBRam

edit: Tested RE3 in DX12 mode and it worked perfectly fine. RE8 still looks warped. attatched log from RE8 (main menu) re2_framework_log.txt

meikodunois commented 2 years ago

This is such a strange bug I can't say for certain if this fixes it but if you're also on Windows 11 try turning off "Hardware-accelerated GPU scheduling" in the system settings. It's on by default. Turning this off has (apparently) fixed this issue entirely for me. Could just be a coincidence though. ApplicationFrameHost_m1LhfLuDY8

This worked for me too, so thanks. I hope the dev fix this bug soon

DrizzleBoX commented 2 years ago

This is such a strange bug I can't say for certain if this fixes it but if you're also on Windows 11 try turning off "Hardware-accelerated GPU scheduling" in the system settings. It's on by default. Turning this off has (apparently) fixed this issue entirely for me. Could just be a coincidence though. ApplicationFrameHost_m1LhfLuDY8

This worked for me too, so thanks. I hope the dev fix this bug soon

I don't have this option. Could it be due the 6800 XT drivers not having this feature?

titansoftime commented 2 years ago

This is such a strange bug I can't say for certain if this fixes it but if you're also on Windows 11 try turning off "Hardware-accelerated GPU scheduling" in the system settings. It's on by default. Turning this off has (apparently) fixed this issue entirely for me. Could just be a coincidence though. ApplicationFrameHost_m1LhfLuDY8

This worked for me too, so thanks. I hope the dev fix this bug soon

I don't have this option. Could it be due the 6800 XT drivers not having this feature?

Maybe but it could also be caused from not having the latest Windows update. Granted that update was some time ago.

DrizzleBoX commented 2 years ago

Okay so zero issues in RE3 ..... odd

Fritomaster commented 2 years ago

This is such a strange bug I can't say for certain if this fixes it but if you're also on Windows 11 try turning off "Hardware-accelerated GPU scheduling" in the system settings. It's on by default. Turning this off has (apparently) fixed this issue entirely for me. Could just be a coincidence though.

Disabling GPU scheduling on my PC where I had the issue that DX12 needed to be unfocused did the following.

RE8: Same area and walk through in the castle - same settings. No background processes and fresh reboot of all software/steamvr/link ect.

Before turning GPU sched off. 21-25ms frame time

After turning GPU sched off. 11 to 14ms frame time

With RE2 and being able to use DX12

Before turning GPU sched off. 26ms in heavy areas with down to 20ish in simpler hallways.

After turning gpu sched off. 21ms in heavy areas and down to 15-17 in simpler hallways with less drops.

It made a huge difference for me (Specially in 8 it made it playable.)

W10 - latest 2070s 3600x 4.3ghz 20gig 3600mhz M.2 SSD Latest nvidia drivers

githubplanetarparrot commented 10 months ago

I know this issue is ancient but I am having the same problem. GPU scheduling is off, but my performance tanks. What is odd is my first launch with the mod was fine but now it is doing this. Is this issue still outstanding?

image

ArcadaLabs-Jason commented 10 months ago

+1. Disabled hardware scheduling. 5% gpu usage in re7 and re2 (only tested those). Using virtual desktop to stream to a quest 3.