Question / Help CPU 'lag' when stream is on

Zerokja

New Member
Hey guys,

I searched all the day to figure out a solution to my problem. In fact I found that when I put my twitch stream ON, my CPU has some rise of the utilization.
When I play csgo while the stream is off it's utilized at less than 10% and when it's ON I got rise to 30% / 60% and when I get these pic I suddenly drop to less than 20 fps in game instead of 120. This long like 1/2 sec it's fast fps drop and then I get back to 120 and then drop etc etc..

I already tried few solutions like change obs setting, downscale resolution etc.

I've a Intel Core i7-4710HQ, 6 Go RAM, gtx 850m I'm pretty sure that I can stream because I already saw some ppl streaming with lowest pc spec than me. I know I don't have the best pc but I'm sure that it's just a problem with setting and/or driver or something like that.


My download debit is 30mbs, my upload one is 1mbs and i've like 25 ping when streaming.

Thank you to try to help me!

( BTW a friend with lowest interest than me and +- same pc spec can stream without any fps drop but he has shit ping, and I tried his obs setting but that don't help me)
 
Last edited:

dping

Active Member
Hey guys,

I searched all the day to figure out a solution to my problem. In fact I found that when I put my twitch stream ON, my CPU has some rise of the utilization.
When I play csgo while the stream is off it's utilized at less than 10% and when it's ON I got rise to 30% / 60% and when I get these pic I suddenly drop to less than 20 fps in game instead of 120. This long like 1/2 sec it's fast fps drop and then I get back to 120 and then drop etc etc..

I already tried few solutions like change obs setting, downscale resolution etc.

I've a Intel Core i7-4710HQ, 6 Go RAM, gtx 850m I'm pretty sure that I can stream because I already saw some ppl streaming with lowest pc spec than me. I know I don't have the best pc but I'm sure that it's just a problem with setting and/or driver or something like that.


My download debit is 30mbs, my upload one is 1mbs and i've like 25 ping when streaming.

Thank you to try to help me!

( BTW a friend with lowest interest than me and +- same pc spec can stream without any fps drop but he has shit ping, and I tried his obs setting but that don't help me)
If you watch your own stream more CPU will be used to decode the stream as well. not advised. close the stream and usage will go to a normal range.
 

Zerokja

New Member
Firstly thank you for your answer. When you say close the stream you mean the live on twitch for example? Because I'm not watching my own stream on my computer via twitch.
 

dping

Active Member
Firstly thank you for your answer. When you say close the stream you mean the live on twitch for example? Because I'm not watching my own stream on my computer via twitch.
yes, that is what I meant. not even the twitch dashboard? the twitch dashboard has a preview window.

Post a link to your OBS logfile:
giphy.gif
 

dping

Active Member
And I'm not on the dashboard also BTW, I just have csgo, ts and obs :/
do you use any launch options with CS:GO? the two to avoid when streaming are -high and -threads.

Also note that mobile i7s aren't as powerful as desktop i7s so dont expect desktop performance on a laptop ever.
 

Zerokja

New Member
I think I have - high, I'll try tomorrow and keep you informed.

Yes I know that and I don't hope to get same performance as a desktop pc just I guess I can stream without getting these incredible fps drop even with an low quality :/
 

Zerokja

New Member
I tried without -high and still the same I got pic to 60% when csgo and my stream are enabled

I'll post obslog tomorrow :)
 

Zerokja

New Member
Here is my last logfile, I couldn't get the actual current logfile because when I click on Upload current logfile nothing happen.

That's why I picked the last logfile :
https://gist.github.com/249339a92f42102e928c

I hope this might help you

ps : I just tried something, start the stream without csgo to see how my CPU works and i've same trouble except in that case it is lower than before.
I have between 1% et 8% in max and i've pic to 20% et it goes back to 1-10% etc.

It is normal ?

ps2 : I just tried to stream with xsplit instead of obs and I can stream fine, so I think the problem comes from a conflict between obs and my pc maybe ?
 
Last edited:

dping

Active Member
Here is my last logfile, I couldn't get the actual current logfile because when I click on Upload current logfile nothing happen.

That's why I picked the last logfile :
https://gist.github.com/249339a92f42102e928c

I hope this might help you

ps : I just tried something, start the stream without csgo to see how my CPU works and i've same trouble except in that case it is lower than before.
I have between 1% et 8% in max and i've pic to 20% et it goes back to 1-10% etc.

It is normal ?

ps2 : I just tried to stream with xsplit instead of obs and I can stream fine, so I think the problem comes from a conflict between obs and my pc maybe ?

Code:
logical cores 4, total cores 2
21:20:57: Aero is Disabled
21:20:57: Audio Format: 48000 Hz
21:20:57: Scene buffering time set to 400
21:20:57:     fps: 25
21:20:57:     width: 544, height: 306
21:20:57:     preset: superfast
21:20:57:     profile: main
21:20:57:     keyint: 250
21:20:57:     CBR: no
21:20:57:     max bitrate: 900
21:20:57:     buffer size: 900
Wow, you have a lot of settings to work on. Ok, lets start.

In Steam (the gaming client):
go to settings in the broadcast tab and disable broadcast
go to in-home streaming tab and disable in-home streaming.



OBS settings:

Encoding tab:

enable CBR

enable CBR padding

If you have low upload speed set audio bitrate to 96 instead of 128

check audio format in window recording and playback devices. double click on your mic and headset each and go to advanced tab. if audio format is 44100Hz change OBS audio format to 44100Hz in encoding tab.

depending on your upload speed, (speedtest or twitch test http://www.teamliquid.net/forum/tech-support/478845-twitchtest-twitch-bandwidth-tester) you might be able to increase bitrate a little more

In video tab:
fps 30 would be best. I know your monitor is 50Hz but it is easier to watch a 30fps stream on standard 60Hz monitors.

don't disable aero in the video tab of OBS. OBS uses aero to help accelerate encode. Also make sure you use a windows aero enabled theme.

in advanced tab:
x264 preset veryfast

scene buffering always 700ms

key frame interval 2 second
 

Zerokja

New Member
Ok thank you buddy, I'm gonna try this and I'll keep you informed.

Btw I didn't find how to disable streaming from streaming tab on steam, there is no case to check or uncheck to disable streaming so maybe it's already disabled ?


Edit : It's fixed I don't have my fps drop anymore but now I've +- 400 ping when ingame, do you know what I need to change to fixe that also ? :p
I'm in ethernet and yesterday I could stream with 25/30 ping :/
And thank you dude !
 
Last edited:

dping

Active Member
Ok thank you buddy, I'm gonna try this and I'll keep you informed.

Btw I didn't find how to disable streaming from streaming tab on steam, there is no case to check or uncheck to disable streaming so maybe it's already disabled ?


Edit : It's fixed I don't have my fps drop anymore but now I've +- 400 ping when ingame, do you know what I need to change to fixe that also ? :p
I'm in ethernet and yesterday I could stream with 25/30 ping :/
And thank you dude !
at the bottom of broadcast tab its like minimize network impact.
 

Zerokja

New Member
It's was already checked in, but I figure out a way, I downcrease my bitrate and now its good.

I have a last one problem I guess, I can't stream with my microphone ON because I hear a very big noise in the stream which doesn't appear when mic is off.

I saw that my siberia's mic isn't working on my pc, It can't detect it, I've siberia v2 jack with an adaptater 2jack -> 1 because I only have one jack input on my pc.

If you have any idea..
 

dping

Active Member
It's was already checked in, but I figure out a way, I downcrease my bitrate and now its good.

I have a last one problem I guess, I can't stream with my microphone ON because I hear a very big noise in the stream which doesn't appear when mic is off.

I saw that my siberia's mic isn't working on my pc, It can't detect it, I've siberia v2 jack with an adaptater 2jack -> 1 because I only have one jack input on my pc.

If you have any idea..
No idea what it wrong with your mic but the mic DSP plugin helps with noise
https://obsproject.com/forum/resources/microphone-dsp-plugin.127/
 
Top