Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
meikodunois opened this issue Jan 4, 2022 · 12 comments
Open

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

meikodunois opened this issue Jan 4, 2022 · 12 comments
Assignees
Labels
bug Something isn't working
Projects

Comments

@meikodunois
Copy link

meikodunois commented Jan 4, 2022

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 meikodunois changed the title Low GPU Usage when i use the headset Low GPU Usage when i use the headset in RE8, extremely laggy Jan 4, 2022
@meikodunois meikodunois changed the title Low GPU Usage when i use the headset in RE8, extremely laggy Low GPU Usage when i use the VR headset in RE8, extremely laggy Jan 4, 2022
@meikodunois
Copy link
Author

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 cursey added the bug Something isn't working label Jan 4, 2022
@cursey
Copy link
Collaborator

cursey commented Jan 4, 2022

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:

  • D3D11 works fine in flatscreen and VR
  • D3D12 works fine in flatscreen
  • D3D12 in VR mode the frame rate drops to < 0 FPS (a few frame updates every couple of seconds usually)
  • GPU usage drops to near 0%
  • CPU usage drops to near 0%
  • There appears to be no spinning threads
  • FPS recovers if the game is not the active window
  • Most active thread during this period is the audio thread which functions normally (no audio cutouts or stutters even though framerate is < 0)

My setup:

  • Windows 11
  • First gen Occulus Rift
  • Nvidia 1080
  • AMD 5950x

Looking for additional input from people experiencing the same issue.

@cursey
Copy link
Collaborator

cursey commented Jan 5, 2022

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
Copy link

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

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

@5yndr0id
Copy link

5yndr0id commented Jan 5, 2022

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
Copy link
Author

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
Copy link

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?

@praydog praydog pinned this issue Jan 6, 2022
@titansoftime
Copy link

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
Copy link

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

@Fritomaster
Copy link

Fritomaster commented Jan 6, 2022

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
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
VR
To do
Development

No branches or pull requests

8 participants