OBS/Stream Lag? But game is running with no drops?

murakumo

New Member
My specs are Ryzen 7 2700x, and a 3060Ti, I've got 24GB of RAM.

A good majority of games look perfectly fine on my end but when it comes to the actual stream it looks extremely laggy. Is there any reason for this? I've been using nvenc but this also happens on x264.
 

murakumo

New Member
I also run into the issue where depending on the game OBS straight up will drop to red and it requires me to quit and restart OBS or try and restart stream but for the most part that usually crashes OBS
 

nicduch

New Member
Same issue with a dedicated streaming pc ryzen 7 4750G 16gb ddr4 4000c16 and nvme ssd.

Avermedia live gamer ultra for capturing my xbox series S in 1080p120.

Test with latest obs 26 and brand new obs 27 rc1
 

FerretBomb

Active Member
Post a logfile from a streaming or recording session at least 30 seconds in length, where the issue was occurring. We need one to actually diagnose the problem. Plenty of things could be causing this.
 

murakumo

New Member
Just tested it right now here's the log file it doesn't look like it's throwing issues or anything? I upp'd what I just recorded to youtube if you wanted to see the output.

Code:
13:28:33.769: [game-capture: 'Game Capture 5'] attempting to hook process: YakuzaLikeADragon.exe
13:28:33.776: [game-capture: 'Game Capture 5'] using helper (compatibility hook)
13:28:33.783: [game-capture: 'Game Capture 5'] hook not loaded yet, retrying..
13:28:33.986: [game-capture: 'Game Capture 5'] attempting to hook process: YakuzaLikeADragon.exe
13:28:34.017: [game-capture: 'Game Capture 5'] d3d11 shared texture capture successful
13:28:34.018: [game-capture: 'Game Capture 5'] shared texture capture successful
13:29:24.956: [jim-nvenc: 'recording_h264'] settings:
13:29:24.956: rate_control: CQP
13:29:24.956: bitrate: 0
13:29:24.956: cqp: 20
13:29:24.956: keyint: 250
13:29:24.956: preset: mq
13:29:24.956: profile: high
13:29:24.956: width: 1920
13:29:24.956: height: 1080
13:29:24.956: 2-pass: true
13:29:24.956: b-frames: 2
13:29:24.956: lookahead: false
13:29:24.956: psycho_aq: true
13:29:24.956:
13:29:24.971: [CoreAudio AAC: 'Desktop']: settings:
13:29:24.971: mode: AAC
13:29:24.971: bitrate: 160
13:29:24.971: sample rate: 48000
13:29:24.971: cbr: on
13:29:24.971: output buffer: 1536
13:29:24.973: [CoreAudio AAC: 'Mic']: settings:
13:29:24.973: mode: AAC
13:29:24.973: bitrate: 160
13:29:24.973: sample rate: 48000
13:29:24.973: cbr: on
13:29:24.973: output buffer: 1536
13:29:24.976: [CoreAudio AAC: 'Track3']: settings:
13:29:24.976: mode: AAC
13:29:24.976: bitrate: 160
13:29:24.976: sample rate: 48000
13:29:24.976: cbr: on
13:29:24.976: output buffer: 1536
13:29:24.978: [CoreAudio AAC: 'Track4']: settings:
13:29:24.978: mode: AAC
13:29:24.978: bitrate: 160
13:29:24.978: sample rate: 48000
13:29:24.978: cbr: on
13:29:24.978: output buffer: 1536
13:29:24.980: [CoreAudio AAC: 'Track5']: settings:
13:29:24.980: mode: AAC
13:29:24.980: bitrate: 160
13:29:24.980: sample rate: 48000
13:29:24.980: cbr: on
13:29:24.980: output buffer: 1536
13:29:24.998: ==== Recording Start ===============================================
13:29:24.998: [ffmpeg muxer: 'adv_file_output'] Writing file 'T:/reco/2021-04-09 13-29-24.ts'...
13:30:37.411: [ffmpeg muxer: 'adv_file_output'] Output of file 'T:/reco/2021-04-09 13-29-24.ts' stopped
13:30:37.411: Output 'adv_file_output': stopping
13:30:37.411: Output 'adv_file_output': Total frames output: 4322
13:30:37.411: Output 'adv_file_output': Total drawn frames: 4345
13:30:37.412: Video stopped, number of skipped frames due to encoding lag: 92/4343 (2.1%)
13:30:37.416: ==== Recording Stop ================================================
 

murakumo

New Member
actually nm I see this game peaks at 99% GPU utilization. Seems just a shitty port for the game causes it to do this. Though this wasn't as big of an issue with older nvidia drivers so I might need to downgrade.
 

FerretBomb

Active Member
Just tested it right now here's the log file it doesn't look like it's throwing issues or anything? I upp'd what I just recorded to youtube if you wanted to see the output.

13:29:24.956: preset: mq
...
13:29:24.956: 2-pass: true
13:29:24.956: b-frames: 2
13:29:24.956: lookahead: false
13:29:24.956: psycho_aq: true
...
13:30:37.412: Video stopped, number of skipped frames due to encoding lag: 92/4343 (2.1%)
Never use the Max Quality preset, Lookahead, or Psychovisual Tuning options. All three will regularly cause encoding overload with NVENC when it should not otherwise be happening.
Use the Quality preset instead, and make sure PVT and Lookahead are both UNchecked.

Also, it's strongly advised to include a complete logfile, not just a snippet, as other issues may be present.
 

murakumo

New Member
Never use the Max Quality preset, Lookahead, or Psychovisual Tuning options. All three will regularly cause encoding overload with NVENC when it should not otherwise be happening.
Use the Quality preset instead, and make sure PVT and Lookahead are both UNchecked.

Also, it's strongly advised to include a complete logfile, not just a snippet, as other issues may be present.
Oh that was the entire log file. There was nothing else in it?
 

FerretBomb

Active Member
Oh that was the entire log file. There was nothing else in it?
It's missing both the head containing system configuration, loading diagnostics, and other bare-metal info, and the tail with the timing tree. You cut a chunk out of the middle. Even if the timing tree wasn't written out yet, the stuff up top has a lot of data that we prefer to check just to avoid config issues. You can just paste the logfile itself as a file to the forum, not just the contents.

Hopefully that got things fixed up though, just something for next time if something goes sideways again. :)
 

murakumo

New Member
Hmm I was wondering what do you think is causing this? I have OBS just hard disconnect from twitch requiring me to restart the entire thing to get it connecting again.
 
Top