Question / Help Obs causing huge cpu spikes up to 65% use

Hey!

I'm just starting out a stream channel on Twitch, and i'm having a big big problem, as the title says obs' cpu usage spikes up to 65% causing the game to drop to 15-20 fps for about 5-10 seconds then back to normal and i cant figure out what's the cause of this before and after the spike obs takes up about 20-35% of cpu usage which is fine.

log:
 

Attachments

  • 2013-06-03-1642-53.log
    4 KB · Views: 158

WayZHC

Member
First try stream with same settigs but with 30fps. Does it still the same thing? (don't worry about lowering the fps since this is just testing. I'm sure you can stream 60fps after the problem is found :p but if you play resource heavy games, 45fps would be better option with one pc stream setup )

What games you play and on what settings?
 

hilalpro

Member
The overclocked fx-8350 should have no problem streaming at that resolution and fps unless you're running a very cpu dependent game.

Switch to the 64bit build of obs and put the game process on "high" priority from task manager.
 
Well, i plan on streaming a variety of games including Battlefield 3, PlanetSide 2, Starcraft 2... etc
Thing is that this fps dip happened before when i was testing in Mass effect 3 and sc2 as well (tho to a lot less effect in the latter) but then it went away planetside 2 was tottaly fine untill today, and in bf3 the problem was present from the first test stream... tho i had a lot higher graphics settings than (testing since a few days with various setups) now i play bf3 like this.
Im pretty much capped out at 60fps in game with minor drops below 60, like low 50's max with these setting so idk whats causing the problem, im gonna try with 30 fps now as you mentioned. btw my down up speeds are 26mbps/5.40mbps
 

Attachments

  • bf3 2013-06-03 17-30-14-01.jpg
    158.8 KB · Views: 34

hilalpro

Member
This shouldn't be happening at 720p30fps, make sure the cpu ship doesn't get too hot and put the game process at "high" priority from task manager and obs to a lower priority.. keep multithreaded optimizations at "normal" from advanced.
 
I did put the game in high priority multithread is on normal, cpu is not hot at all around 50 celsius and this keeps happening still. picture is taken from windows resource monitor, usage goes up and maximal frequency goes down. :(
 

Attachments

  • spike.JPG
    19.4 KB · Views: 114
I cant find threads, btw im concerned with this mainly because planetside 2 was running fine 720p60fps without any of this yesterday, so idk what happened to obs i may try using ccleaner and reinstall it again.
 

hilalpro

Member
Nothing happened to obs by looking at the log unless it's an old log file.. might wanna post a new one from the 64 bit but ultimately games and their settings are not the same. stick to one game for testing and keep 720p 30 fps until this gets solved first, threads=16 is a line you should add in the custom settings from the obs's advanced settings tab.
 
64 bit log after cclean uninstall registry clean and what not still same problem.
 

Attachments

  • 2013-06-03-2056-25.log
    8.7 KB · Views: 34

hilalpro

Member
Change the server from frakfurt to Amsterdam or London, Frankfurt is not the most stable ingest. Also looking at the log file you haven't used the setting .
 
Btw this is whats interesting.
"normal" picture is when normal stuff being loaded, notice both cpu usage and (im not sure what its called in english here since i have windows on hungarian right now) but if you go to the resource monitor the blue thing.. so they both spike up the same time whereas whilest having these fps drops streaming the usages goes up and the blue thing drops down.
 

Attachments

  • normal.JPG
    16.8 KB · Views: 48
  • spike2.JPG
    16.5 KB · Views: 40

FerretBomb

Active Member
Also, you can use the Task Manager->Processes tab and right-click, 'Set Affinity' to restrict which cores your game, and OBS can use. I push OBS to the second half of the cores (as I'm on an i7, cores 4-7) and my game to the first half (0-3). So OBS and the game can't affect each other's CPU usage.

But yes, Frankfurt is known to be a problematic server. Switch to another.
 
disabled parking, set game to first 4 cores obs to second and switched to Amsterdam, its still the same im really sadface :(
 
Top