09:37:18.449: Output 'adv_file_output': Number of lagged frames due to rendering lag/stalls: 16 (0.3%)
09:37:18.449: ==== Recording Stop ================================================
09:37:18.449: Video stopped, number of skipped frames due to encoding lag: 1091/5877 (18.6%)
Almost entirely due to encoding lag; GPU overload isn't the problem here. The most common fixes for EO on NVENC:
-Use the Quality preset, NOT Max Quality
-Uncheck Lookahead
-Uncheck Psycho-Visual Tuning
All three of these use CUDA cores, and can cause problems even on a setup that should otherwise run well.
More issues:
09:36:29.444: rate_control: CBR
09:36:29.444: bitrate: 80000
Don't record in CBR/VBR. Use CQP/CRF instead, which are quality-target based rendering methods. They only use as much bitrate as is needed to maintain a given quality level, so you aren't wasting bitrate needlessly, and also aren't choking out at times where there's a LOT going on. Most use in the 16-22 range, with lower being better quality. Going down to 12 is almost never necessary, and 0 should never be used (0 is completely uncompressed, can take 3-7GB per minute).
Recording at above 60fps is not officially supported.
09:37:18.449: [ffmpeg muxer: 'adv_file_output'] Output of file 'D:/Videos/record_2020-04-02 09-36-29.mp4' stopped
NEVER EVER RECORD DIRECTLY TO MP4 FOR ANY REASON.
Record to MKV or FLV.
If you need mp4 files later, use the File menu in OBS, Remux Recordings. There's also a checkbox in the settings to do this automatically after a recording ends. MP4 is
not a recording format. It is
extremely fragile, and stores all of its indexing atom at the
end of the file. So if anything problematic happens during recording, the entire file will be corrupted and unrecoverable. A total loss. Digital garbage, where the only thing you can do is delete it and start over.