Question / Help Games freezing after 5-10 min of streaming.

TheXyPod

New Member
Not technically an OBS issue, but maybe someone could help me out here.

I've been streaming emulators and older games for about 2 months now, and I haven't really had any problems. Recently I've attempted to stream Rainbow Six:Siege and Overwatch and I'm running into an issue where after about 5-10 minutes in either game, both games freeze and are unrecoverable. The only thing I can do is end task through task manager. This only happens when I'm streaming and doesn't seem to be an issue when OBS is just open with game capture displayed. Is there a setting that I should be looking at specifically? I tried turning off Vsync as I was getting some horrible fps and that seemed to help with Overwatch, but Rainbow Six is still doing it. I don't know what else I can try.

Sorry if this is the wrong forum. I tried Googling everything I could but nothing referenced the game as the issue as opposed to an OBS problem. See the problem in action here (NSFW as I let out a swear when it happens then it gets loud... sorry.).

My build is here if that helps.
 

Fenrir

Forum Admin
Please post a log per the forum sticky thread.

Also, are you on the latest version of OBS Studio? This looks an awful lot like the Windows 10 AU issue.
 

TheXyPod

New Member
Sorry, I didn't include a log because OBS runs fine while the freeze is occurring so I didn't think it would help. It will continue running and streaming without issue after I've restarted the game. It's the games that seem to be causing the problem, but only while streaming with OBS.

Either way, my log file is here.
 

Fenrir

Forum Admin
Sorry, I didn't include a log because OBS runs fine while the freeze is occurring so I didn't think it would help. It will continue running and streaming without issue after I've restarted the game. It's the games that seem to be causing the problem, but only while streaming with OBS.

Either way, my log file is here.

The first thing that jumps out about this is that you're using NVENC for streaming, and that you're getting lagged frames (EDIT whoops! wrong paste in there at first, fixed it now):

Code:
16:16:04.556: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 106 (1.3%)

This says to me that you're running the GPU at 100%, and you can see from here:

Code:
download_frame: min=0 ms, median=0.002 ms, max=2105.87 ms, 99th percentile=0.012 ms

That it took over 2 seconds to download a frame at one point, which confirms the theory. I would say the issue is that you're overloading your PC. Is there a specific reason you're using the NVENC encoder instead of x264? NVENC has much lower quality per bitrate than x264. Maybe switching to that will help.
 
Last edited:

TheXyPod

New Member
I think my logic there was that NVENC hardware (I assumed the GPU) would have an easier time than going through software. I'll give that a shot. You've pointed out some issues I didn't even know I was having.

I was also thinking that maybe there was something that I should be setting in game that might be the culprit. I'm still pretty new to all this so I haven't dug as deep as I'd like with optimizing all the settings.

Thanks for the quick replies Fenrir!
 

TheXyPod

New Member
Just wanted to update this in case someone stumbles on it. I switched the settings Fenrir had suggested and also disabled VSync in the games settings and I haven't had an issue since. I hope this helps someone!
 
Top