Question / Help OBS insane kb/s spike and in-game FPS drop

divadc

New Member
Hi everyone,

I have been trying to stream for a while, and I really like OBS' features, so i have tried to get it to work. However i have been running into some seriously weird problems.

I have an upload speed of 14K, so the problem has never been my own network, however OBS has NEVER been able to keep a steady kb/s. I'm not talking about setting it to 2500 kb/s and it then goes up to 3000. No, it spikes as high as 50K! And no internet connection will ever be able to sustain such an upload. And i get these spikes regularly no matter what kb/s i set it to, no matter how i turn the resolution up or down and no matter what game i set it to.

I have tried everything I could find on these forums. This includes this https://obsproject.com/forum/threads/your-guide-for-achiving-a-strict-cbr-with-obs.4516/ which actually helped, but didn't stop the issue. After analyzing my log-file i changed my webcam to a global source. It helped a bit, but again, didn't solve the problem. The other flaws the OBS analyzer found were "bad server selected" but i have the one closest to me and "Skipped frames detected", but as already written, i already tried to lower my FPS and solution to no affect.

NOTE: The games run absolutely fine within a +/- 2K kb/s spike.
 

Attachments

  • 2015-02-21-1307-43.log
    161.5 KB · Views: 48

H4ndy

Forum Moderator
Remove custom x264 command "tune=animation" from your settings and disable custom buffer size.
 

divadc

New Member
I have tried that multiple times as well, without any results. However i am testing out changing my x264 preset to "superfast" and it seems like it's working. Haven't had kb/s spikes in a while, atleast

EDIT: The spikes has been smaller and not so recurring (with the sugestions you said including setting the x264 preset down) - Still too much to make the stream watchable though.

LOG: the log is from today, where i screw around with the settings, setting the x264 preset to a bunch of different settings, changing the resolution, setting the custom buffer size on/off and setting the "tune=animation" custom x264 setting on and off. None of which actually worked.
 

Attachments

  • 2015-02-22-1739-24.log
    69.2 KB · Views: 12
Last edited:

AndehX

Member
using x264 encoding on a laptop CPU will always result in poor performance, as evidenced by the fact you get better results by switching the preset to Superfast.

In your particular case, you should really be using Quicksync encoding since your CPU supports it.
 

divadc

New Member
Quicksync, while not getting the major laggspikes, gets even on the LOWEST of settings, small laggs and framejumps and is far from watchable and the smooth stream im looking for.
 

AndehX

Member
quicksync should have no effect on the performance of your games since your cpu isnt being used to encode the stream. It could just be twitch being unreliable as always
 

divadc

New Member
It doesn't look like Twitch, as i can see, whenever theres a spike in the kb/s in OBS, my game FPS goes down. And most of the times these spikes causes OBS to freeze the frame, but still having the sound going just fine. On Twitch it sometimes shows up as black screen and sometimes it's just a frozen frame. But everytime still with the sound going just fine.

But the issue has always been in OBS itself and not Twitch. It happens in the preview too, which has nothing to do with Twitch.
 

divadc

New Member
NOTE: The laggspikes in OBS has stopped after i switched to Quicksync encoding instead. However i still get FPS drops in my games. Any suggestions?
 

AndehX

Member
FPS drops in your game (while using quicksync) will be caused by something else on your system, not OBS. I would suggest disabling anything that isnt neccessary while running your games. (anti virus, overclocking utilities like MSI Afterburner, overlays like Razer Synapse)
 

divadc

New Member
I have closed everything except what i need for my stream. My CPU is only at max 42% used, however League of Legends still drops frames. (on the lowest of settings, and I mean drop to like 13-15 fps)
 
Top