Question / Help Another High-Spec PC, Low FPS Thread [RESOLVED]

EposVox

Member
Hiya, it's meeee again!
Those of you who recognize my name hopefully know by this point I'm not an idiot when it comes to OBS. But I haven't done much when it comes to streaming my own PC games. I'd like to stream Overwatch. (I know.)

I have Windows 10 64-bit, i7-6900K, GTX 1080, 32GB RAM. Other than random issues with the software/sources, I've never not been able to stream 60FPS or even record 4K 60FPS due to performance. This rig can do anything.

But anytime I try to use Game Capture on a full-screen game, if I'm in the game itself, OBS's framerate TANKS. (like bouncing between 40FPS and 14FPS.) I have to have my editing/gaming on the same rig, so I have to game full-screen at 4k. I downscale the gameplay to 1080p canvas for recording and scale again for streaming to 720p.

I'd blame it on this EXCEPT if I'm not in the full-screen game (i.e. tinkering w/ OBS itself), OBS runs full 60FPS with NO PROBLEM and the game view is clearly running full-speed in OBS. It's only when I alt-tab back into the game that the framerate tanks.

I have Nvidia Share and Windows-Xbox DVR disabled. No other hooking apps running. Windowed mode works fine (but then I can't see lol), and streaming/recording literally any other way works fine.

I tried searching, but mostly a bunch of dumb, irrelevant threads. Any ideas? From what I can tell, it has no problem encoding the game capture, it just can't keep up when it's not in focus or something.. idk.

Here's a quick log for a test from me just toying with the menus in the game while fullscreen.
The obvious jump-out is "15:15:34.780: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 360 (17.9%)" but that doesn't really tell me what to do about it. Again, if I'm not focused on the game it doesn't lag any frames, and the system is capable of this process.
 
Last edited:

EposVox

Member
Oh yeah, tried that too. Just tried again for good measure. No dice. Buttery 21 FPS

EDIT: Also muted my other sources in the scene and alt-tabbed back in. Nothing. And tried re-loading OBS/game after turning of Multi-Adapter Comp. Nothing.
 

Osiris

Active Member
download_frame: min=0 ms, median=0.002 ms, max=47.85 ms, 99th percentile=28.95 ms

Getting the frames from your GPU is not fast enough, it needs to be below 16.66 ms per frame.
Did you limit fps in the game, to avoid it using 100% of your gpu power? OBS needs some GPU power too for scene compositing and such, if the game is using all the power, the game and OBS will compete over it.
 

EposVox

Member
Hrm. Not sure what I can do about that. I originally had framerate limited "Display Based" (which was at 69-70 FPS for some reason) but a hard 60 didn't make anything better.

I just recorded this clip with the game minimized but already hooked. You can see the full canvas running smooth 60 FPS.
Here's the log for that.
"download_frame: min=0 ms, median=0.002 ms, max=4.939 ms, 99th percentile=0.005 ms"

This may be a horridly ignorant question, but is pulling up the game full-screen (when it's clearly still rendering) really using that much more GPU power?
 

Osiris

Active Member
I'm guessing the game doesn't get priority when it's not focused or minimized, leaving more room for OBS to get the frames from the GPU in a timely fashion.

Also check what happens when you create a new Scene collection containing just the game capture, does it behave the same?
 

Osiris

Active Member
Try removing the Elgato from your original scene collection (or duplicate it and remove it there), I see it's active in your log.
 

EposVox

Member
Wow. Okay cool, thanks. Working fine with the Elgato removed. Seems my Epiphan AV.io isn't impacting things so I guess the next test is to see if swapping the HD60 S for my other AV.io would work out so I don't have to swap collections.
 

EposVox

Member
Quick update :/
Streamed for a couple hours today and the issue came back. Went as far as to remove almost all other scenes/sources except webcam/gameplay and overlays, and muted out overlays. Once I got alt-tabbed out of the game the first time, framerate hiccups began and continued anytime I alt-tabbed for the first hour, and then just kept coming back for the second hour.

Here's the log.

Am I just pushing my GPU too much, I guess? Really wishing I could do a dual PC setup now.
 

EposVox

Member
It sounds like the Windows 10 "Issue" that happens when you have something moving on another monitor while running something in fullscreen exclusive , the other monitors get "reduced" to maximize performance on the main monitor.

IDK if this will help you but this worked for me and I posted it in another thread here.

https://obsproject.com/forum/thread...focus-or-non-active-window.67728/#post-295992
Appreciate the suggestion. Doesn't seem to have fixed it for me. I think it's an Overwatch-specific issue. Often when I alt-tab from the game (fullscreen) the mouse cursor will be super laggy and unresponsive for a few seconds before it catches up or something, etc. The game doesn't like other windows or something. Ah well, until I get a separate PC setup I'll just stream in windowed mode for now; though it certainly hurts my ability to see haha
 
Top