Question / Help Tiny lags/stutters while streaming CSGO

dping

Active Member
https://gist.github.com/183d84a38919216d27ed new log.

Disabling In-home streaming didn't fix it unfortunately :< I'm monitoring my tempratures all the time. I don't think that's the problem. GPU @ 50-55C / CPU 55 Max while playing.

It still says Hook conflict detected when I analyze tho. Even I'm just using OBS+ CSGO at the moment, not even chrome on the background. Checked what d3d9.dll is being used while CSGO was open with ProcessExplorer. It was just CSGO..
Do you have any of these installed? or use any in-game overlay/recording software such as overwolf or razer Synapse?

Others:
FRAPS, D3DGear, MSI Afterburner, AMD Raptr / Gaming Evolved, Action!, TeamSpeak/Mumble Overlays or any other kind of FPS monitor or overlay program


OBS CPU times look great.

Try two things both separate and together

run CG:GO with launch option:
-gl //open gl mode, I personally use this in L4d2
EDIT: aparently they removed -gl mode with CSGO so try "-nod3d9ex"

-high // changes cs:go's process priority to high. this might or might not help but just to see.
 
Last edited:

D2ultima

Member
Also, remove that timer resolution thing. Its controversial if it helps at all and it definitely isn't baseline. If later you want to play with it to test feel free. If OBS needed a lower timer resolution, it would set it to 1ms as any program can. @D2ultima, if you have an issue with this PM me we'll discuss it there :)
No, I have no issues. The win timer resolution was meant to counteract Win 8 and Win 8.1's inherent microstutter tendency, just to be sure that that wasn't the reason. If it didn't fix it, he doesn't need it anymore.
 

mcdastar

New Member
Do you have any of these installed? or use any in-game overlay/recording software such as overwolf or razer Synapse?

Others:
FRAPS, D3DGear, MSI Afterburner, AMD Raptr / Gaming Evolved, Action!, TeamSpeak/Mumble Overlays or any other kind of FPS monitor or overlay program


OBS CPU times look great.

Try two things both separate and together

run CG:GO with launch option:
-gl //open gl mode, I personally use this in L4d2
EDIT: aparently they removed -gl mode with CSGO so try "-nod3d9ex"

-high // changes cs:go's process priority to high. this might or might not help but just to see.

I'm using neither softwares that you mentioned above nor any recording software of ingame overlay thingies such as overwolf etc. I'm already using -high in my launch options but didnt use "-nod3d9ex" ever. I'll give it a go and come back soon.
 

dping

Active Member
I'm using neither softwares that you mentioned above nor any recording software of ingame overlay thingies such as overwolf etc. I'm already using -high in my launch options but didnt use "-nod3d9ex" ever. I'll give it a go and come back soon.
Sadly, I do not know what can be causing the in-game studdering while streaming. In fact, I personally feel that you could raise the fps if you had the bitrate to support it by looking at those same numbers.

So also, try CSGO with and without -high just to rule that out as well.

Code:
Total frames encoded: 12848, total frames duplicated: 75 (0.58%)
video thread frame - [100%] [avg time: 0.529 ms]
encoder thread frame - [100%] [avg time: 0.829 ms]

the above stats look really good. the duplicate frames were probably from an alt-tab since you are running in full screen instead of borderless-windowed mode.
 

mcdastar

New Member
At the moment, I've exhausted what I can do to help this. After reinstall, I'm sure you re-disabled the preview window....

Yeah of course i did :D I'm exhausted after a week trying to fix it too. I really can't understand why this happening but thanks for all the help my friend. If i ever find a solution,i'll let anyone know from here :)
 

mcdastar

New Member
Hello again guys. Especially @dping . Today when I was in toilet (well, best place for brain workout i guess lol) I came up with an idea regarding this issue. What I did was simple. Since i have a CPU that supports Integrated Graphics, I simply connected my second monitor (the 60hz one) to my Mobo and enabled iGPU from BIOS and BOOM. Stuttering is completely gone now.

Like 4-5 days ago, a streamer told me that different monitors with different refresh rates causes this issue in CSGO and told me to disconnect my second monitor and stream like that. Tried streaming like that but following chat was a P.in the A** from an iPhone. Anyways.. If there's anyone that suffers stuttering like me, try what i did and please leave a feedback here. I just wanna know if it worked for me or it'll be a fix for everyone.
 

D2ultima

Member
Well yeah that makes sense; the second monitor not being run by the primary GPU would mean CS:GO considers itself single GPU. But then any window on your second screen cannot be grabbed by OBS using window capture, so be wary of this (at least, as far as I know). It'll be the same deal as with Optimus on laptops.
 

mcdastar

New Member
Well yeah that makes sense; the second monitor not being run by the primary GPU would mean CS:GO considers itself single GPU. But then any window on your second screen cannot be grabbed by OBS using window capture, so be wary of this (at least, as far as I know). It'll be the same deal as with Optimus on laptops.

Hey D2ultima. Tried what you guessed just now. I can grab anything from my 2nd monitor with OBS as window capture. Just so anyone knows :)
 

D2ultima

Member
Hey D2ultima. Tried what you guessed just now. I can grab anything from my 2nd monitor with OBS as window capture. Just so anyone knows :)
Interesting... I wonder if it's because the primary screen and primary GPU is your dGPU? Can you please set your primary monitor and GPU to your iGPU and set a second screen to the dGPU and set CS:GO to run on the second monitor and see if you're able to grab not only CS:GO, but windows with window capture etc?

Make SURE OBS is set to your dGPU and not your iGPU.
 
Sorry for resurrecting, but I am so excited to see if this will work for me!

Well..if my mobo has a spot I guess? Currently use DVI to monitor one and HDMI to second monitor
 

toni2k7

New Member
Hello again guys. Especially @dping . Today when I was in toilet (well, best place for brain workout i guess lol) I came up with an idea regarding this issue. What I did was simple. Since i have a CPU that supports Integrated Graphics, I simply connected my second monitor (the 60hz one) to my Mobo and enabled iGPU from BIOS and BOOM. Stuttering is completely gone now.

Like 4-5 days ago, a streamer told me that different monitors with different refresh rates causes this issue in CSGO and told me to disconnect my second monitor and stream like that. Tried streaming like that but following chat was a P.in the A** from an iPhone. Anyways.. If there's anyone that suffers stuttering like me, try what i did and please leave a feedback here. I just wanna know if it worked for me or it'll be a fix for everyone.

I've always had this problem since I started streaming cs:go like 2 years ago. I've been looking for fixes a lot. I also have 60hz second monitor. Stuttering isn't huge but sometimes it's really hard to spray and stuff.

Gonna try this fix next time!
 
Plugged second monitor in to MOBO..felt like everything was great and ran right near perfect, super hype. Get back on today and stream.....back the same 'ol...I don't get it.
 

verygoodcarl

New Member
Looks like nobody has made any progress on this issue? I'm just now having this issue after my internet service was shut down then restarted by CenturyLink. Is there any way to trouble shoot if it's my internet connection or not?
 

Yacov

New Member
Sorry for ANOTHER resurrection but any ideas what i should do if my CPU has no integrated graphics?
I'm running an i7-5820k and a GTX 1060 OCd and I have 2 (soon to be 3) monitors. Any ideas?


Edit: NOT resurrected, just cant see the time stamps when not logged in lol
 

verygoodcarl

New Member
Just wanted to follow up on this, it looks like changing from x264 to NVENC solved my stuttering problem in CSGO. I was also unable to stream H1Z1, and changing this setting fixed that. I guess my CPU wasn't good enough to do the work. I'm running an I5 6600k overclocked to 4.5 Ghz and a GTX 1070.
 
Top