Having SteamVR running causes OBS frame render time to significantly increase when game window is in focus

mrprime

New Member
I'm trying to figure this out - it has been a bit of a head scratcher.

Essentially, if I have SteamVR running, I get a significant impact to render time when the game is in focus, even when system appears to have plenty of headroom. If I am alt-tabbed from the game however, the game streams smoothly and the render times are much reduced.

I have done a fresh reinstall of OBS to ensure it wasn't some garbage in my plugins/previous config.

For the example game, I'm using Squad which isn't a VR game, but just serves as an example for when SteamVR is/isn't running. The same problem is present with other games, and basically makes it impossible to stream VR titles.

For testing, my streaming settings are using x264 with what I believe are just the default settings. I have an i9-9900k and plenty of spare CPU resource so that won't be a bottle neck. I have tried using nvenc and quicksync, and get the same results.

The numbers,
  1. SteamVR NOT running, - game window in focus - time to render a frame - 0.3ms
    1608159869862.png
  2. SteamVR running - alt tabbed to desktop - time to render a frame -1.5-2.5ms
    1608159194342.png
  3. SteamVR running - game window in focus - time to render a frame - 5-8ms
    1608159114815.png

If I look at my system resources, my CPU usage never goes above 40%, and my GPU at around 65%.

OBS process priority is set to 'High' to try and ensure it's keeps things smooth.

Any ideas?
 

Attachments

  • 2020-12-16 22-33-00.txt
    13 KB · Views: 1
Top