Question / Help Having issues with render lag in certain spots.

Garchomp

New Member

I've been noticing that I've been getting some render lag in my recent recordings without even knowing what render lag was. Odd thing though is that it only seems to happen in areas where there are small rooms and fast paced action. In the video here I have an example of both of these happening. Render lag also seems to appear in non-pre-rendered cutscenes as well. I originally thought it had to do with bitrate, which is why its cranked up so high as seen in the text document (this laptop can take it). Game doesn't lag, but the footage does. I even go out of the room after the fight to show that the frames are stable, and the second I walk back into the small room is when it starts getting a little choppy again. V-sync has been tested on/off in separate recordings and the game is running at 60FPS. Nothing necessarily too bad but if I'm going to be using OBS I wouldn't want this appearing in all of my recordings. This is not the only game that this has happened with.
 

Attachments

  • 2020-02-20 13-40-26.txt
    8.1 KB · Views: 30

Narcogen

Active Member
Rendering lag is GPU overload. Not affected by bitrate. Affected by canvas size, framerate, scene complexity, other applications consuming GPU resources (games).


13:46:14.457: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 170 (1.9%)
13:46:14.457: ==== Recording Stop ================================================
13:46:14.458: Video stopped, number of skipped frames due to encoding lag: 195/8777 (2.2%)


You also have encoding lag. You're overloading your encoder (NVENC) so you may wish to change other options if resolving the rendering lag doesn't also solve it.

13:43:48.091: [jim-nvenc: 'recording_h264'] settings:
13:43:48.091: rate_control: CBR
13:43:48.091: bitrate: 50000
13:43:48.091: cqp: 20



Don't use CBR for recording, it's primarily for streaming. Use CQP. Or try simple output mode, indistinguishable quality, large file size. This mode is OK if you don't need multi track audio.
 

Garchomp

New Member
Rendering lag is GPU overload. Not affected by bitrate. Affected by canvas size, framerate, scene complexity, other applications consuming GPU resources (games).


13:46:14.457: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 170 (1.9%)
13:46:14.457: ==== Recording Stop ================================================
13:46:14.458: Video stopped, number of skipped frames due to encoding lag: 195/8777 (2.2%)


You also have encoding lag. You're overloading your encoder (NVENC) so you may wish to change other options if resolving the rendering lag doesn't also solve it.

13:43:48.091: [jim-nvenc: 'recording_h264'] settings:
13:43:48.091: rate_control: CBR
13:43:48.091: bitrate: 50000
13:43:48.091: cqp: 20



Don't use CBR for recording, it's primarily for streaming. Use CQP. Or try simple output mode, indistinguishable quality, large file size. This mode is OK if you don't need multi track audio.

Oh wow, I had missed the bit where I was having encoding lag as well. As far as resources, I checked and only the current game and OBS are the only ones using GPU aside from two other essential security apps that came with this laptop. I'll test the encoders and test out using CQP. Will update when I get the time to test again, thanks for the help.
 

Garchomp

New Member
Rendering lag is GPU overload. Not affected by bitrate. Affected by canvas size, framerate, scene complexity, other applications consuming GPU resources (games).


13:46:14.457: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 170 (1.9%)
13:46:14.457: ==== Recording Stop ================================================
13:46:14.458: Video stopped, number of skipped frames due to encoding lag: 195/8777 (2.2%)


You also have encoding lag. You're overloading your encoder (NVENC) so you may wish to change other options if resolving the rendering lag doesn't also solve it.

13:43:48.091: [jim-nvenc: 'recording_h264'] settings:
13:43:48.091: rate_control: CBR
13:43:48.091: bitrate: 50000
13:43:48.091: cqp: 20



Don't use CBR for recording, it's primarily for streaming. Use CQP. Or try simple output mode, indistinguishable quality, large file size. This mode is OK if you don't need multi track audio.

Update:

Ok, so I've tried out the different techniques you provided by using Simple Output mode and using CQP. They did get rid of the issue with the frames dropping when I entered that certain room, however what replaced it was me missing frames everywhere else. I feel like this may be an issue with trying to record Jedi Fallen Order or maybe this laptop is not able to hold up. I tested the first settings I had with slower action paced games like Resident Evil 2 and there were no frames lost until I got to a cutscene. Oddly enough the frames on one of the characters were perfectly fine whilst the other character on-screen was missing frames due to him moving around more. I tried games with fast paced action such as the rogue-like Hades with the same settings and I had no issues or frame loss running at 60fps. Perhaps this laptop just can't reccord JFO with OBS. I'll keep working with the settings though to see if I can find something.
 
Top