Question / Help Recorded gameplay is smooth yet has parts where it lags, but in-game fps is fine.

jamesmadarang

New Member
Tried everything I can to explore the settings but to no avail, I still fail to get the results I want.
Im not much familiar with the terms in the settings honestly, kept reading and following the tips and guides throughout youtube but none worked.
Any help?

Log file attached.
 

Attachments

  • 2019-01-20 22-34-58.txt
    44.3 KB · Views: 65

Narcogen

Active Member
22:34:59.124: Windows Version: 10.0 Build 17134 (revision: 523; 64-bit)

Windows is out of date. Run the October 2018 update and turn off Game Mode. Instructions below.

You have a minor bit of lag, some may be fixed by the above. After doing that run again and upload another log.

22:46:19.984: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 28 (0.9%)
22:46:19.985: ==== Recording Stop ================================================
22:46:19.986: Video stopped, number of skipped frames due to encoding lag: 30/3173 (0.9%)

The recording lags when the game runs fine because OBS cannot get access to the GPU in order to render frames sometimes. This is what Game Mode does; it prioritizes access to the GPU for games.
 

jamesmadarang

New Member
22:34:59.124: Windows Version: 10.0 Build 17134 (revision: 523; 64-bit)

Windows is out of date. Run the October 2018 update and turn off Game Mode. Instructions below.

You have a minor bit of lag, some may be fixed by the above. After doing that run again and upload another log.

22:46:19.984: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 28 (0.9%)
22:46:19.985: ==== Recording Stop ================================================
22:46:19.986: Video stopped, number of skipped frames due to encoding lag: 30/3173 (0.9%)

The recording lags when the game runs fine because OBS cannot get access to the GPU in order to render frames sometimes. This is what Game Mode does; it prioritizes access to the GPU for games.

I'll check that out when I get home from work. Also, will the october 2018 update be automatic after checking for updates on windows? Because I have not been prompt of any upgeades whatsoever. Want to also know how to disable this "Game mode."

Thank you so much for the reply too man, i've been stressing myself finding the right silution for these problem. I was thinking that after upgrading from 1300x to 1700 my 1700 was a bit lacking. Altough I have no problems with turning down my graphics settings in games. At the moment im just recording gameplays on Rainbow six siege
 

jamesmadarang

New Member
Still stuttering. Here's my latest log file. Updated windows 10, and also disabled game mode.
 

Attachments

  • 2019-01-21 21-13-13.txt
    10.4 KB · Views: 31

Narcogen

Active Member
You're overloading your GPU (slightly) and your encoder (a bit more slightly).

21:27:25.390: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 92 (0.3%)
21:27:25.390: ==== Recording Stop ================================================
21:27:25.390: Video stopped, number of skipped frames due to encoding lag: 616/33144 (1.9%)

I'm not familiar with the AMF encoder so someone else will have to advise you there.

The rendering lag is caused by OBS being unable to access the GPU to render frames. Usual advice for eliminating this after turning off Game Mode is to cap your framerate in game. More dramatic would be to lower frame size/framerate in capture but I think the amount of lag you have is low enough that this is not necessary.
 

jamesmadarang

New Member
Update here. Played Rainbow Six Siege on everything on low. 3500 bitrate cbr. Ultrafast cpu preset. I am still experiencing stuttering on my videos. Also, I put the process priority on high.
 
Last edited:

Narcogen

Active Member
Can you upload a log after those changes? You say you're using ultrafast CPU preset but in your last log you were using the AMF encoder.
 

jamesmadarang

New Member
Can you upload a log after those changes? You say you're using ultrafast CPU preset but in your last log you were using the AMF encoder.

Here is my latest log. My only goal is to have no laggy parts on the video. as it it truly noticeable when the game runs smooth.
 

Attachments

  • 2019-01-28 22-38-09.txt
    16.3 KB · Views: 14

Narcogen

Active Member
22:54:41.072: Output 'adv_file_output': stopping
22:54:41.072: Output 'adv_file_output': Total frames output: 48179
22:54:41.072: Output 'adv_file_output': Total drawn frames: 48198 (48209 attempted)
22:54:41.072: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 11 (0.0%)
22:54:41.073: ==== Recording Stop ================================================
22:54:41.073: Video stopped, number of skipped frames due to encoding lag: 7/48205 (0.0%)


Not seeing much lag there.

That said, you're using CBR for recording. You would be better off with CQP or CRF; CBR is creating files larger than necessary without providing additional quality. CBR is used primarily for streaming as streaming platforms require it.

Note that the above is rendering lag. This is GPU rendering load, not CPU load-- to get rid of it you can try reducing scene complexity, lowering quality settings in game, reducing capture framerate, or capping game framerate.
 

BK-Morpheus

Active Member
Could also be the video player or mismatching monitor refreshrate (60fps videos will not run perfectly smooth on 70Hz for example), that's causing just the video to be stuttering, because the last log is good enough to produce a smooth video.
 

kibblz

New Member
Every time I read a post like this, no one seems to know what it is or how to fix it. I've been up 24 hours straight trying to fix this. It's like an obsession. I cannot fix it and I need to in order to continue making videos. Same problem for me. It's only stuttering in the videos. Only display capture removed the issue but I can't rely on that for recording. So what in the world is this and why does it happen? It's so bizarre! And it only happens in Metro Exodus at the moment in this certain area, in the open snow. Everywhere else is smooth. Game is fine, its just the recording showing it.

https://youtu.be/2_Dass8xK10
 
Top