Question / Help lag with CPU encoder, fine with GPU encoder

syberwolf

New Member
i tried streaming but its very laggy, cpu usage was only around 40-50%
when i switched back to NVENC the lag was gone.
so i dont know why its lagging when i switch back to CPU encoding since the usage is so low.

(im using the latest OBS studio)

the recording https://www.twitch.tv/syberwolf/v/82426432
 

Attachments

  • 2016-08-08 15-02-14.txt
    12.6 KB · Views: 16
Last edited:

FerretBomb

Active Member
15:04:48.042: Output 'adv_stream': Total encoded frames: 5955
15:04:48.042: Output 'adv_stream': Total drawn frames: 6043
15:04:48.042: Output 'adv_stream': Number of skipped frames due to encoding lag: 2436 (40.9%)
15:04:48.042: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 2059 (34.1%)
Your CPU is being overworked between the stream and game. Witcher 3 is a fairly 'heavy' game, too. No idea why the CPU load showed that low though, unless it was thermal-throttling. What do your temps look like? Also, are you restricting the game to certain CPU cores, and OBS to other cores from the Task Manager?

Also, this is the forum for OBS Classic, the old windows-only codebase. The Studio forum is up a level or two and over under the Studio section. :)
 

syberwolf

New Member
Your CPU is being overworked between the stream and game. Witcher 3 is a fairly 'heavy' game, too. No idea why the CPU load showed that low though, unless it was thermal-throttling. What do your temps look like? Also, are you restricting the game to certain CPU cores, and OBS to other cores from the Task Manager?

Also, this is the forum for OBS Classic, the old windows-only codebase. The Studio forum is up a level or two and over under the Studio section. :)

i made a screenshot http://imgur.com/download/uw1z261

and the game and obs is not restricted to my cores.
 
Last edited:

FerretBomb

Active Member
That shows your CPU running at 80%+. OBS is misreporting the CPU usage in the infobar is all (or reporting its own usage? I don't know, I don't use Studio)

In short, yes, your CPU is being overworked. Try forcing Witcher to specific cores and OBS to other ones. Also, Witcher is a very visually-cluttered game, which means a heavier encoding load. You may have to dial it back to a 480p stream, with the combo of a CPU heavy game and more demands on the video encoder.
 

syberwolf

New Member
That shows your CPU running at 80%+. OBS is misreporting the CPU usage in the infobar is all (or reporting its own usage? I don't know, I don't use Studio)

In short, yes, your CPU is being overworked. Try forcing Witcher to specific cores and OBS to other ones. Also, Witcher is a very visually-cluttered game, which means a heavier encoding load. You may have to dial it back to a 480p stream, with the combo of a CPU heavy game and more demands on the video encoder.

i changed the preset to veryfast now, it seems to be fine now but sadly allot of quality loss from the fast preset :(
 
Top