Question / Help OBS Lag/Stutter FPS frames render encoding lag

Phantom Phreak

New Member
Hello, I wanted to know if there is a way to fix my FPS lag and frame render and encoder issue? I have uninstalled OBS completely and reinstalled and I back up my profile settings but I wonder if that could also be at fault because I still have the same issue. If I can I would like to be able to save my settings because I have it just right and took me a long time to set it up. Right now I have the newest Nvidia encoder, 30 FPS 2500 bitrate, 1080 output scaled. I tried different settings but nothing seems to work. Any help would be great. Thanks in advance.
 

Narcogen

Active Member
Not similar. Your problem is that your network can't keep up with your selected bitrate:

21:48:47.586: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 3172 (33.7%)

21:46:09.558: bitrate: 14000

You've set your bitrate too high.
 

Phantom Phreak

New Member
Hello, Thanks for the replies I found out what was the issue. the profile scenes etc was corrupted and I had to redo them and now I have a stable stream with no hiccups.
 

Nikolay_02

New Member
Not similar. Your problem is that your network can't keep up with your selected bitrate:

21:48:47.586: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 3172 (33.7%)

21:46:09.558: bitrate: 14000

You've set your bitrate too high.

I will correct, thank you.
 

Phantom Phreak

New Member
Okay, I created a new Profile and Scenes and the issue has returned. I believe the problem is overtaxing my GPU with browser sources? I have an i7 8700k, 16 GB and RTX 2070 OC Stock settings. I am not sure because when I have a few scenes and sources the frame rates and encoding lag stats are in the white. Now they are either brown/tan or red. Another issue is while I am streaming or not my screen in OBS are pausing briefly and resumes with a skip in gameplay or text scrolling across the screen.
https://obsproject.com/logs/tpsq3DFTXjmc1-iJ
 

Narcogen

Active Member
21:53:27.987: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 54 (9.8%)

Rendering lag.

https://obsproject.com/wiki/GPU-overload-issues

21:53:27.987: Video stopped, number of skipped frames due to encoding lag: 51/544 (9.4%)

Encoding lag.

https://obsproject.com/wiki/General-Performance-And-Encoding-Issues

21:53:36.658: adding 405 milliseconds of audio buffering, total audio buffering is now 448 milliseconds (source: Media Backgound)

High audio buffering is generally indicative of system overload.

It's recommended to have ONE game capture source per scene. Hiding sources does not make them stop consuming resources. Put one game capture in the scene and reconfigure as needed, or keep them in separate scenes or better yet, different games in different scene collections.

You also have quite a few media and browser sources, yes.

21:33:10.780: - scene 'In-Game Scene':
21:33:10.780: - source: 'World War Z' (game_capture)
21:33:10.780: - source: 'World of Warcraft' (game_capture)
21:33:10.780: - source: 'Uno' (game_capture)
21:33:10.780: - source: 'The Walking Dead The Final Season' (game_capture)
21:33:10.780: - source: 'The Walking Dead Michonne' (game_capture)
21:33:10.780: - source: 'The Walking Dead The New Fronttier' (game_capture)
21:33:10.780: - source: 'The Walking Dead Season Two' (game_capture)
21:33:10.780: - source: 'The Walking Dead' (game_capture)
21:33:10.780: - source: 'Rollercoaster Tycoon Adveture' (game_capture)
21:33:10.780: - source: 'Rocket League' (game_capture)
21:33:10.780: - source: 'RainbowSix Siege' (game_capture)
21:33:10.780: - source: 'PUBG' (game_capture)
21:33:10.780: - source: 'Plante Coaster' (game_capture)
21:33:10.780: - source: 'Need for Speed The Run' (game_capture)
21:33:10.780: - source: 'Need for Speed Rivals' (game_capture)
21:33:10.780: - source: 'Max Payne 3' (game_capture)
21:33:10.780: - source: 'Left 4 Dead 2' (game_capture)
21:33:10.780: - source: 'GTA V' (game_capture)
21:33:10.780: - source: 'Ghost Recon Wildlands' (game_capture)
21:33:10.780: - source: 'Friday the 13th' (game_capture)
21:33:10.780: - source: 'Fortnite' (game_capture)
21:33:10.780: - source: 'Doom' (game_capture)
21:33:10.780: - source: 'Display Second Capture' (monitor_capture)
21:33:10.780: - source: 'Display Main Capture' (monitor_capture)
21:33:10.780: - source: 'Diablo III Reaper of Souls' (game_capture)
21:33:10.780: - source: 'Dead by Daylight' (game_capture)
21:33:10.780: - source: 'CSGO' (game_capture)
21:33:10.780: - source: 'Call of Duty BO4' (game_capture)
21:33:10.780: - source: 'Battlefield Series' (game_capture)
21:33:10.780: - source: 'Apex Legends' (game_capture)
 

Phantom Phreak

New Member
Wow! that did the trick I removed the sources and its running much better. I will just make a couple of games I play at a time to keep things running smoothly. Thanks so much for the help.
 

Phantom Phreak

New Member
Hello, I have another question about what is the best settings for multiple sources if you have many games you play so I won't have many sources taking up too many resources?
 

Narcogen

Active Member
I do this:

I make a blank scene collection. I call it "template" or something like that.

I put into it all the elements that are in *every* kind of stream or recording I do-- microphone, for instance, and any other sources or overlays that are common to everything.

Then I dupe that collection to make my first game stream collection, and I name it after the game. And I add the game-specific elements.

Depending on how many variations you need, and how often you make changes to. your configuration, you can then choose to either duplicate the current scene collection and then change it to suit the next game, or go back to your template and duplicate that.

This way each and every scene collection is devoted to a single game, features only the sources and source type that game needs. It means I can have intros, outros and other media elements that are specific to a game with minimal resource consumption, and I never have multiple game captures or game captures together in a scene with a display or window capture.
 

Narcogen

Active Member
18:00:24.528: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 3609 (27.7%)
18:00:24.676: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 3611 (27.6%)
18:06:18.964: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 2489 (26.1%)


Rendering lag caused by GPU overload.

https://obsproject.com/wiki/GPU-overload-issues

18:00:24.676: Video stopped, number of skipped frames due to encoding lag: 6337/13049 (48.6%)
18:06:19.814: Video stopped, number of skipped frames due to encoding lag: 4455/8847 (50.4%)


Encoder lag.

https://obsproject.com/wiki/General-Performance-And-Encoding-Issues

15:53:18.798: - source: 'The Walking Dead Michonne' (game_capture)
15:53:18.798: - source: 'CSGO' (game_capture)
15:53:18.798: - source: 'Display Main Capture' (monitor_capture)


Multiple game captures, display capture in same scene. Not recommended.

15:53:16.901: YUV mode: 709/Full

Recommended color range is Partial, not Full.

https://obsproject.com/forum/resour...t-color-range-settings-guide-test-charts.442/
 

Phantom Phreak

New Member
Okay, I made some modifications and have my game captures, display capture in a single scene and made a template for other games that I play to add more later. However, the game "The Walking Dead Michonne" by itself stats are all in the red for some reason it's just that game so far the others run perfectly. I even ran a test in Twitch and it shows unstable I don't know what could be causing it. "The Walking Dead The Final Season" and others run okay. Oh and Narcogen thanks for the help I really appreciate it and your knowledge. :)
https://obsproject.com/logs/SESO29UgUiqmpwxF
 
Top