Question / Help Obs Preview And Overall Recording Laggy?

Auclairo

New Member
Hi, I've been experiencing issues in which my obs preview and recording are laggy. I have two 144hz monitors (idk if this even matters), a gtx 1080ti and amd ryzen 7 1700 processor. Not only does the preview show extreme lag, but the resolution seems to be terrible as well. I've tried everything, any solutions?
 

WizardCM

Forum Moderator
Community Helper
Basics:
* Settings -> Video, make sure Canvas and Output resolution are what you want
* I recommend using NVENC as your Encoder in Settings -> Output (for both recording & streaming)

Past that, can't do much without a log.

1) Restart OBS
2) Start your stream/recording for at least 30 seconds (or however long it takes for the issue to happen). Make sure you replicate any issues as best you can, which means having any games/apps open and captured, etc.
3) Stop your stream/recording.
4) Select Help > Log Files > Upload Current Log File. Copy the URL and paste it here.

(Note: If you do not see an obsproject.com URL, you will need to update OBS Studio to version 22+)
 

Auclairo

New Member
Basics:
* Settings -> Video, make sure Canvas and Output resolution are what you want
* I recommend using NVENC as your Encoder in Settings -> Output (for both recording & streaming)

Past that, can't do much without a log.

1) Restart OBS
2) Start your stream/recording for at least 30 seconds (or however long it takes for the issue to happen). Make sure you replicate any issues as best you can, which means having any games/apps open and captured, etc.
3) Stop your stream/recording.
4) Select Help > Log Files > Upload Current Log File. Copy the URL and paste it here.

(Note: If you do not see an obsproject.com URL, you will need to update OBS Studio to version 22+)

https://obsproject.com/logs/E9SO1uTcEqxXPdVq

Sorry for getting to this so late, I've been busy. Please update me ASAP!
 

Narcogen

Active Member
Some suggestions based on the log:

14:40:24.024: YUV mode: 709/Full

Change that to 709/Partial. You're incurring more load while decreasing quality for most users, whose displays do not support 709/Full.

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

14:44:07.523: [jim-nvenc: 'recording_h264'] settings:
14:44:07.523: rate_control: VBR
14:44:07.523: bitrate: 40000
14:44:07.523: cqp: 15


For most cases with NVENC recording you want CQP rate control, not VBR.

14:44:07.523: lookahead: true
14:44:07.523: psycho_aq: true


These two features incur extra GPU load. You may wish to experiment with turning one or both off, especially lookahead when recording high motion content.

However, bottom line is that 144Hz does not pulldown easily to 60fps, which will introduce judder. In addition, in Windows 10 using displays with different refresh rates can also cause stutter. The only known workaround is to set all displays to the same refresh rate. If you're trying to record or stream 60fps, you're better off using 120 as a refresh rate instead of 144.
 

Auclairo

New Member
Some suggestions based on the log:

14:40:24.024: YUV mode: 709/Full

Change that to 709/Partial. You're incurring more load while decreasing quality for most users, whose displays do not support 709/Full.

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

14:44:07.523: [jim-nvenc: 'recording_h264'] settings:
14:44:07.523: rate_control: VBR
14:44:07.523: bitrate: 40000
14:44:07.523: cqp: 15


For most cases with NVENC recording you want CQP rate control, not VBR.

14:44:07.523: lookahead: true
14:44:07.523: psycho_aq: true


These two features incur extra GPU load. You may wish to experiment with turning one or both off, especially lookahead when recording high motion content.

However, bottom line is that 144Hz does not pulldown easily to 60fps, which will introduce judder. In addition, in Windows 10 using displays with different refresh rates can also cause stutter. The only known workaround is to set all displays to the same refresh rate. If you're trying to record or stream 60fps, you're better off using 120 as a refresh rate instead of 144.

I proceeded to change the recording settings to VBR, with the said bitrate and cqp level. In addition, I experimented turning both look ahead and psycho_aq off (or one). Both my displays are set to the same refresh rate (Tried 120 hz) instead. Still jittering and looks like my game is running at 30 fps.
 

Narcogen

Active Member
Just to be clear: what rate control method you choose selects what ratings control quality. With CQP selected, the quality setting determines the rate, and the bitrate setting is ignored. With VBR/CBR selected, the bitrate is chosen and the quality setting is ignored.

The session in your log is only 30 seconds in length, but there's no reported dropped frames in it. This may indicate that OBS is working normally, but that the GPU load it is causing is reducing the game's performance. 1080p60 in single PC setups can sometimes be challenging.

In any case, the preferred method of capture for games is game capture. Display capture is less performant.
 

Auclairo

New Member
Sorry, I just realized that you were quoting what settings I was using before hand with the control quality. I recorded some of my game using game capture instead of display capture, still running into the same issues. (keep in mind although i didn't implement all of the settings that you said, I had already tried and received the same result).
https://obsproject.com/logs/xS3yiefPBEgUzYVG
 

Narcogen

Active Member
The issue is that RB6 is problematic in single PC setups.

16:38:11.711: Game Mode: Off

Try turning that on. It was broken in earlier Windows builds but is fixed now.

17:01:56.937: lookahead: true
17:01:56.937: psycho_aq: true


These incur extra GPU load. Lookahead in particular not appropriate with high motion content like FPS games.

Not seeing frame drop in the log but if OBS performance is causing the game to lag, the usual solutions are in-game frame cap, fidelity reductions, or retargeting to 720p60 or 1080p30 or 900p60.
 

Auclairo

New Member
I would like to clarify that OBS is not making my game lag as all, the problem is that the actual RECORDING is laggy on the preview, along with when I actually record the footage (same goes with streaming as well). However, I can run the game fine at 144+ frames constantly (The footage doesn't look like my game at all).
 

Narcogen

Active Member
Recording 60fps while running 144 refresh rate will always cause judder.

OBS is not dropping any frames, (at least not within your 30 second test in the log) so it appears as if it is recording what it is receiving.

For a test, you can try switching to simple output mode, indistinguishable quality, and large file size and see if that looks differently than what you are currently getting.
 

Auclairo

New Member
Hi, sorry for getting back so late. I already also tried switching to simple output mode and using all the settings, no difference. The game preview and recording looks 30-40 fps constantly.
 
Top