Question / Help Windows 10 OBS stream lags , high CPU usage.

jessykhov

Member
Hi! I recently got a big problem with my obs. Yesterday i upgraded from windows 7 to windows 10 , i installed all my drivers with the latest update i can play my games with no problems at all and i wanted to stream so i decided to reinstall OBS , i put the same settings i had with windows 7 and i feel no lag , but my CPU usage is over 20% i drop a lot a frames and the stream is unwatchable on twitch , it lags way too much! I would like to have some help thanks.
 
Can try another method of uploading a logfile containing a streaming/recording session output...

Can you start a streaming session for a few minutes' worth of time, doing what you would normally do in-game, stop the streaming session attempt, close OBS Studio, start up OBS Studio and then upload the last logfile please.

Perhaps OBS is not writing to the logfile correctly.
 
Video stopped, number of skipped frames due to encoding lag: 36621/38581 (94.9%)

Use windows performance monitor to see, where the CPU load is coming from (maybe it's 70% OBS and 30% from your game).
Your i5 processor might be to slow for 720p/60fps recordings in games that demand more than 2 cores.
 
Sorry for late reply, been under the weather for the last week so have been resting a lot more. I live in Australia so time zone also a tad different :)

05:50:51.237: Output 'adv_stream': Total frames output: 34665 (36239 attempted)
05:50:51.237: Output 'adv_stream': Total drawn frames: 37709 (38642 attempted)
05:50:51.237: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 933 (2.4%)
05:50:51.237: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 1574 (4.3%)
05:50:51.242: Video stopped, number of skipped frames due to encoding lag: 36621/38581 (94.9%)

You are having some major issues in relation to streaming with your current settings, first of all do you cap your fps in-game?
- If you don't already, you need to cap your fps to 60 (61-63 if you have issues with screen tearing) V-Sync will increase input lag, I suggest to use MSI Afterburner or EVGA Precision instead as they use a hard limiter for frame rate. This will help more than just about anything else.

I think you should use NVENC encoder instead of x264 encoder to stream:
Rate Control: CBR
Key Interval: 2
Preset: High Performance
Profile: Main
Level: Auto
Use 2-pass encoding: Checked
B-Frames: 2

Keep your bitrate at its current 2500.
Try for 720p60fps, it should handle that.

Make sure you are capping your fps in-game, either by V-Sync or MSI AfterBurner/EVGA Precision. This is the most important part as it will reduce load on your GPU.

Can you upload another logfile after you make those changes, with a few minutes' worth of streaming like before please. Will try to troubleshoot further once we see the results.
 
I already tried with NVENC with lower settings and it's doing the same thing ... When i had windows 7 a week ago my settings was the same! Exactly the same , and i could stream for hours without any problems!
 
Going by your last logfile the largest issue is your CPU is not at all handling x264 encoding, hence the suggestion to use NVENC encoder to offload the workload to your GPU, which should be able to handle it provided you limit your fps in-game.

Can you please make the changes, do a stream attempt and upload another logfile so we can then proceed with further troubleshooting.
 
It was less laggy for the stream but the quality is really bad with NVENC ... Until i have windows 10 when i stream i feel some internet connection problems in my game too like in H1Z1 i have a delay when i open doors or grab equipement and things like that.
 
Thank you for the new upload of a logfile, sorry if I came off sounding a bit rough as I am not feeling that great at present.

05:41:53.013: Output 'adv_stream': Total frames output: 53726
05:41:53.013: Output 'adv_stream': Total drawn frames: 48963 (53825 attempted)
05:41:53.013: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 4862 (9.0%)
05:41:53.013: Video stopped, number of skipped frames due to encoding lag: 75/53766 (0.1%)

If you haven't already, make sure to cap your frame rate as I suggested, it will most likely clear up the remaining issues with rendering and encoding lag.

If you do already cap your fps, then try lowering your in-game settings slightly, just need to reduce the load on your GPU a little more.

I don't play H1Z1 so can't give you advice on what settings to lower, generally Anti-Aliasing --> Render Distance --> Shadow Quality --> Lighting Quality --> Post Processing Effect Quality in that order from greatest performance cost to least performance cost for your GPU and CPU.

To increase quality of the stream output, increase your bitrate, try 3500. In your logfile if you see:
05:50:51.237: Output 'adv_stream': Number of dropped frames due to insufficient bandwidth/connection stalls: 1574 (4.3%)

Then your bitrate is too high for your network connection, you will need to lower your bitrate a bit, do not go above 6000 for Twitch.

Can you upload another logfile after you make those changes, with a few minutes' worth of streaming like before please. Will try to troubleshoot further once we see the results.
 
I dont need to lower settings it's a problem that windows10 has! I just want an answer of why my stream has problems with OBS until i upgraded from windows 7 to 10. I had no problems before! All my settings were the same! So there's a problem somewhere. I feel no lag at all when i play , only my stream is laggy i even have better performance with any game until i have windows10.
 
I am trying to assist in troubleshooting the issues you are having with your current PC configuration... I cannot give you an answer as to why you are suffering perceived worse performance after you upgraded to Windows 10, all I can suggest in regards to that is to do some research into optimizing Windows 10 for performance whilst gaming.
 
Last log shows:
You don't have enough GPU resources left for OBS.
OBS renders the scene via GPU (even if you encode with CPU). If you run your games without a FPS limit/cap you will have either a GPU or a CPU bottleneck.

At the moment I see the GPU bottleneck. Make sure, the Game will not produce more than 90% GPU load and your stream should get smooth.
 
Back
Top