Question / Help Dropped frames with too much camera/background movement

devilwalsh

New Member
Hi all. I'm attempting to record gameplay at a clean fps, which I know I'm able to do. Whenever there is not a large amount of background movement (like when I'm looking at the sky - no terrain to keep track of with camera movement) the recorded fps is perfectly fine. When my camera faces terrain, however, the recorded fps drops significantly. During this, my game is still running at its capped 60fps (QuickSync capped at 60), with no loss of frames or quality. Does anyone know what could be causing this, and/or how to fix it?

For reference, the game I'm recording is War Thunder, which is a WW2- through Korean War-era combat flight sim game. I'm playing on a Dell Precision 5520 Anniversary Edition laptop. (I have the game set to 1920x1080 instead of the native 4K, and I accounted for that in my video settings in OBS)
Here are my OBS recording settings:
1531088912628.png


Terrain covers a tad under 1/3 of my screen when frames start to drop. I've tried changing my Rate Control to CBR as well, with bitrates set to everything from 2,500 to 50,000. None of this has helped. When I play with QuickSync off the recording comes out choppy and maybe 15 fps because my game is running at 80-100 fps and I guess OBS is trying to find a common fps value, which they don't share.
Here's an example of the fps drop with lots of camera movement: https://youtu.be/zqm25XjEWPM although it's not the recording that the logs show below.
Here's a GIF example, this is what the logs show: https://gfycat.com/TidyTallDalmatian

Logs:
https://hastebin.com/agajivitan
 

DEDRICK

Member
What is the write speed of your hard drive? CQP 16 will require will require a ridiculous amount of bitrate at times, if you have a standard laptop harddrive that will be pushing the limits of the drive

But you are also running into rendering lag

15:38:56.234: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 395 (25.4%)

Meaning your GPU usage is too high and it's not leaving enough for OBS to Render the frames for the encoder. Do you have anything other than OBS and the Game running that would be using GPU? Like a browser with a video playing?
 

vapeahoy

Member
cqp16 is fine by itself, its when u add that second encoding pass it gets into trouble. i would fix keyframe rate, turn off 2pass, up b-frames to 4. not sure how much the quadro card supports.
 

devilwalsh

New Member
What is the write speed of your hard drive? CQP 16 will require will require a ridiculous amount of bitrate at times, if you have a standard laptop harddrive that will be pushing the limits of the drive

But you are also running into rendering lag

15:38:56.234: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 395 (25.4%)

Meaning your GPU usage is too high and it's not leaving enough for OBS to Render the frames for the encoder. Do you have anything other than OBS and the Game running that would be using GPU? Like a browser with a video playing?

I changed the game settings from High down to Low, and almost all of the frame lag is gone. That's odd though, if my laptop can run at High on 100+ fps, I would think that it could at least record that level of quality at 60. Even on Medium it's still touchy. If I run the game on Low with a few of the settings turned up, it records pretty much fine. Thanks for your reply :) The recording doesn't change even if I have stuff in the background, including Twitch streams or Youtube videos.
 
Top