Another thing you should consider changing.
You are trying to do 1440p recordings at 60FPS:
15:20:41.405: video settings reset:
15:20:41.405: base resolution: 2560x1440
15:20:41.405: output resolution: 2560x1440
15:20:41.405: downscale filter: Lanczos
15:20:41.405: fps: 60/1
15:20:41.405: format: NV12
15:20:41.405: YUV mode: 709/Partial
Your bitrate is 40000.
15:20:46.094: [NVENC encoder: 'recording_h264'] settings:
15:20:46.094: rate_control: CBR
15:20:46.094: bitrate: 40000
15:20:46.094: cqp: 0
15:20:46.094: keyint: 120
15:20:46.094: preset: hq
15:20:46.094: profile: high
15:20:46.094: width: 2560
15:20:46.094: height: 1440
15:20:46.094: 2-pass: true
15:20:46.094: b-frames: 2
Look at YouTube recommendations for SDR at 1440p for 60FPS as a guide:
https://support.google.com/youtube/answer/1722171?hl=en
They only want up to 24000 bitrate for 1440p@60FPS, so 40000 is too big. Change it to 24000 to reduce CPU/GPU usage and the amount of upload bandwidth if you plan on delivering to YouTube.