Question / Help Recording has lag spikes every few sec.

Kouske28

New Member
I am simply recording at 2k and the video turns out with lag spikes every few seconds.

My Setup:
i7 - 4790k
MSI GTX 1080ti
32gb of DDR3 1600

I have downloaded MSI Afterburner to keep track of the GPU load. I have downloaded RIVAtuner to control the FPS to keep it at 65fps. The GPU is kept below 80% load. I am my end and wits as to what can be the issue. I switched from CBR to VBR with no change...Please help!

Trying to record FFXIV at 1440p. Please help!
 

Attachments

  • cd6609a9e13648a7f534d1954b2dcf9b-677b9a1d61d4292530c34df49effd81e97f529e9.zip
    4.1 KB · Views: 172
Try using the below encoder settings:
CQP with a value of 15-23 (Lower is more quality, higher is less)
High Quality
High Profile
The above settings will allow for a variable bitrate without limit, with the focus being on quality (The value you set for CQP)

In your logfile I noticed you have Windows GameDVR 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)

Your recording attempt is far too short in duration, it really needs a few minute's worth of recording to give a better idea of just how many dropped frames from encoding/rendering issues there are.

Can you do a few minutes' worth of recording (Doing what you would normally do in-game) then stop the recording session, then upload a current logfile please so I or someone else can further assist in troubleshooting:
https://obsproject.com/forum/threads/please-post-a-log-with-your-issue-heres-how.23074/
 
I would say you are right at the limitations of your 1080ti, which is a little strange I think as you should be able to theoretically record at 4096x4096 using h.264, 8192x8192 using h.265.
Given you have a 1080ti, ~80% load of the GPU and capped frames you you should be able to use CQP value of 15 or even lower without any issues as well.

Try using High Performance preset instead, that should lessen the load enough.
If not then I guess you may have to tweak in-game settings, one of them may be affecting your recording (Causing the hitching issue you are seeing)

Maybe there is degradation in performance with the heavy use of game-works technology within the game? I do not have a nVidia card to test nor do I own FF XIV.
Testing would be to disable one of the game-works features at a time, doing a few minutes' worth of recording, checking for the frame hitching each time.
 

Kouske28

New Member
Thanks for all that you had tried to help. My last and final question is that when I record at 4k 30fps vs 60fps...flawless with no issues and I can even max the settings in the game and have no problem as the recording is flawless. However it is only when I switch to 60fps would I get this issue. I had turn everything in that game down to lowest of the low settings and even at just 2k. Lag city! I am at a loss, perhaps my CPU is the bottle neck here for me to reach 60fps?
 
Try in OBS options:
Advanced Settings:
General ---> Process Priority:
High

In your logfile when you had canvas and output resolutions set to 2160p, you did have encoding lag.
Dropping to 1440p that cleared up.

What is your average CPU utilization when not recording?
Are you recording to HDD or SSD?
HDD most likely would not handle 4k data transfer rate. Dependent upon transfer speed 2k may not be handled by a HDD either.
 
Top