Question / Help Game lagging/recording stutters

STberry

New Member
Recently I have encountered a problem when trying to record gameplay with OBS Studio, whenever I am previewing the recording the game drops to 10-30 fps (normally I get 200+) and I cannot figure out why. This just started happening a couple of days ago and I have changed my settings around and still, nothing has worked.

Here is the log: https://gist.github.com/0875c2ee10a02356a443c71cec1bcbe6
 
Really need a few minutes' worth of recording/streaming attempt rather than a few seconds' worth to gain a better perspective of what is going on with your configuration...

However, from your logfile:
12:46:48.448: - scene 'Game':
12:46:48.448: - source: 'Window Capture' (window_capture)
12:46:48.448: - source: 'Display Capture' (monitor_capture)
12:46:48.448: - source: 'Minecraft' (game_capture)
Monitor capture is effectively 'always on' and will conflict with other capture modes. You should create a scene for monitor capture by itself, doing so will improve performance.

CBR rate control mode for recording is not the best way to get quality, you should use CQP rate control mode, little excerpt taken from JackOr's guide:
  • Rate Control: CQP
  • CQP: 15-25
  • Preset: High-Quality
  • Profile: high
The above will provide you the best quality to filesize ratio, the lower the CQP the higher the quality and subsequent filesize.
CBR rate control mode is designed for bitrate constrained encoding, such as streaming where you have to have a limit on bitrate.

Limiting your frame rate in-game will help a lot in getting the best quality out of your hardware in regards to recording/streaming. I recommend using MSI AfterBurner or EVGA Precision to cap your fps to your monitor refresh rate, or 1-3 frames higher than your monitor refresh rate will generally resolve the issue of screen tearing. Try to avoid V-Sync as it can induce input lag.

You are also running an outdated version of OBS Studio (19.0.3)
The current version of OBS Studio is 20.1.3
Your version of Windows 10 64 bit is also severely out-dated.
You really should do updates as a lot has changed for the better.
 
From your logfile:
12:25:11.473: Output 'adv_file_output': Total frames output: 21630
12:25:11.473: Output 'adv_file_output': Total drawn frames: 21672
12:25:11.476: Video stopped, number of skipped frames due to encoding lag: 85/21673 (0.4%)
You are getting some very minor encoding lag, just need to reduce the load on your CPU a slight amount and you should be fine.

Your logfile shows you have your fps target value set to 120, this is most likely what is causing you to have such a drop in frame rate in-game. You should set it to 60fps in Video Settings.

In your logfile I noticed you have Windows DVR enabled. This may be a cause of the performance issue as even when you are not using it, just having it enabled in Windows settings it will always hook into the game process and commit resources (Similar to what OBS does when OBS is open, though more aggressively as it also buffers for replay recording)

What refresh rate is your monitor?
 
If you do not already,
Can you limit your fps to 75 (Or 76-78 if you get screen tearing) in-game (V-Sync can cause input latency, I suggest MSI AfterBurner or EVGA Precision)
Can you also set OBS Video settings to 60fps please to enable 60fps recording/streaming as default.
Can you remove the source 'Display Capture (Monitor Capture) from the scene 'Game'.
Can you do another recording attempt with the above changes, then upload the logfile for that recording attempt please.

Are you doing local recordings only or intend on doing uploads to YouTube or another VoD provider?
If upload then 60fps is max.
If local recordings only then once we get to a stable spot where no dropped frames are happening try and bump up the fps value in Video Settings of OBS to 75, as it will be more fluid for you to watch on your monitor.
 
Top