Question / Help New Threadripper PC - Dropping Frames

brettcadet

New Member
Hi There,

I've been streaming for a few years with a PC running a 4790k processor. I recently upgraded to an AMD Threadripper build and have noticed that I've started dropping frames - Approximately 0.5-0.8% per stream. I've never had an issue with dropped frames in all of the time I've streamed with my 4790k. I have a 50/50 Fiber connection, so I don't think my internet would be an issue. I'm wondering if there might be some sort of bug with OBS and Threadripper? Here is my log file from the latest stream.

https://gist.github.com/anonymous/584845859b0408818034757aacbd70a6

Somewhat related to that - I've noticed that sometimes my FPS will drop below 60 fps. I'm not getting an encoding overload error, my thermals are within a reasonable range, and I'm using 40% of my cpu or less.

Thanks for any assistance!
Brett

Edit: More info that I just remembered. I used to stream at 3500 due to CPU limitations. Since upgrading PCs I can obviously encode at a higher bitrate so I've been streaming at 6000. I dropped down to 4000 as a test to see if I was still dropping frames, and sure enough I was.
 
Last edited:
1.
20:37:22.196: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 13193 (1.0%)
your gpu is maxed without vsync most probably, check these steps to correct it

1. 60hz desktop refresh
2. 60 or 30 in obs
3. 60 in game if there is switch for it (like bf3, bf4, overwatch)
4. vsync in game on
5. run obs as admin
6. make sure your gpu can do stable 60fps in game without being maxed. OBS needs some of gpu resources as well. If you enabled vsync@60 and its still maxed lower resolution and/or details.
(replace with 59,94 and 29,97 for 59,94 display like hdmi tv)
with 144hz monitor its fastest and most reliable to sacrifice 144 and follow 1,2,3,4

2
20:37:22.196: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 8299 (0.6%)
also your connection is dropping frames- test it https://r1ch.net/projects/twitchtest and choose another ingest
and look here https://obsproject.com/forum/threads/dropped-frames-disconnecting-lag-read-this-first.8870/

3
20:37:22.196: Video stopped, number of skipped frames due to encoding lag: 2720/1350382 (0.2%)
this most probably will automagically disappear if you take care of point 1
 

brettcadet

New Member
1.
20:37:22.196: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 13193 (1.0%)
your gpu is maxed without vsync most probably, check these steps to correct it

1. 60hz desktop refresh
2. 60 or 30 in obs
3. 60 in game if there is switch for it (like bf3, bf4, overwatch)
4. vsync in game on
5. run obs as admin
6. make sure your gpu can do stable 60fps in game without being maxed. OBS needs some of gpu resources as well. If you enabled vsync@60 and its still maxed lower resolution and/or details.
(replace with 59,94 and 29,97 for 59,94 display like hdmi tv)
with 144hz monitor its fastest and most reliable to sacrifice 144 and follow 1,2,3,4

2
20:37:22.196: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 8299 (0.6%)
also your connection is dropping frames- test it https://r1ch.net/projects/twitchtest and choose another ingest
and look here https://obsproject.com/forum/threads/dropped-frames-disconnecting-lag-read-this-first.8870/

3
20:37:22.196: Video stopped, number of skipped frames due to encoding lag: 2720/1350382 (0.2%)
this most probably will automagically disappear if you take care of point 1

Thank you for the detailed write-up - I will give all of that a try tomorrow.

I have a couple questions/thoughts about the first error regarding my GPU. I previously streamed Overwatch using a 980 and never had an issue with my GPU being maxed, so I don't see why a 1080ti playing the same game would now be overloaded. I'm not sure how taxing encoding is on the GPU though.

My thought on that error - I've noticed that since I updated Windows yesterday, every time I tab out of my game it hangs up on a black screen much longer than it used to - maybe about 2-3 seconds tabbing out and then again when going back into the game. I wonder if the rendering lag/stall error could be due to that? 13193 frames of a 60fps stream is 220 seconds. Assuming it takes 6 seconds round trip to tab out then back in, that's 36 times tabbing out which is seems pretty reasonable for a 6 hour stream of mine.
 
if you alt-tab constantly it will cause rendering stalls for sure and probably encoding also, making obs log unreliable source of info in this case
also win10 is a minefield with its development cycle. the big secret that every1 knows and no one talks about is creators update bug causing frame drops and ms still cant fix it after almost half a year
https://forums.geforce.com/default/...h-fps-drops-since-windows-10-creators-update/

every time I tab out of my game it hangs up on a black screen
looks like game runs at different refresh rate than desktop, step 1 and 3 from point 1 should fix it. make sure game runs at same res as desktop
 
Last edited:
Top