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

Boildown

Active Member
hilalpro said:
It crashed for a lot of people at 10 but haven't with rc-lookahead=1 i believe that it has something to do with the created latency.

rc-lookahead, according to a Google search hit, "Sets the maximum number of frames to look ahead when determining what bit rate to use for encoding a particular segment. Larger numbers improve visual quality at the expense of encoding speed."

So unless you need your stream to be as realtime as possible, its probably better to leave it at the default. Setting it at 1, unless the default is 0 or 1, would actually worsen visual quality and likely not be significant in increasing encoding speed.
 

hilalpro

Member
Boildown said:
hilalpro said:
It crashed for a lot of people at 10 but haven't with rc-lookahead=1 i believe that it has something to do with the created latency.

rc-lookahead, according to a Google search hit, "Sets the maximum number of frames to look ahead when determining what bit rate to use for encoding a particular segment. Larger numbers improve visual quality at the expense of encoding speed."

So unless you need your stream to be as realtime as possible, its probably better to leave it at the default. Setting it at 1, unless the default is 0 or 1, would actually worsen visual quality and likely not be significant in increasing encoding speed.
There is no 1 default and it wont "worsen" the quality over 0. does the crash still occur ?
 
not it doesnt crash now with opencl and rc-lookahead but the frame drops again, unlike with only opencl with which it would be fine if it wouldnt crash :/
 

hilalpro

Member
Ok then try opencl=true rc-lookahead=8 or lower until you find the value that works and doesn't crash at the same time.
 

hilalpro

Member
In that case you don't wanna be using opencl=true at all, remove the other commands and add sync-lookahead=0

This is definitely related to to the amount of action happening on screen.. back to default for a second then run this test viewtopic.php?f=18&t=2613 and see how much cpu obs uses when you switch between a static the test scene.
 

hilalpro

Member
How about running the test scene in the background and playing the game does that still effect your game ? also post a log from this run if possible.
 
I switched to simple windows background and now it seems to be working with opencl=true rc-lookahead=2, but they shut down the ps2 server for maintenance so this requires further testing, also i will try what you asked if they come back online
 
So i did, and it does affect the game fps, tho i ran it in monitor capture and it was running on the second monitor while i was playing and the fps dropped in game. Here is the log. lol it wont let me add the log file it says: "net::ERR_SPDY_PROTOCOL_ERROR" wtf ?
 
I changed the preset to superfast, there is no drop with that only in the quality a bit, i'll stream like this for now, but i'd still like to get to the bottom of this problem and be able to stream with veryfast in the future. Also i'll get back when i can post the log file, idk whats going on here tbh :/
 
Actually it just crashed with superfast too, would reinstalling windows fix the problem? (tho i really dont want to) pls help i need to be able to stream
 

hilalpro

Member
A lower preset would just reduce the impact of it when happening the real problem is the fact that your cpu is not running at full speed when sudden stuff stars happening on the screen as shown in the graph have you tried disabling the oc then enabling cool n quite again ? do this and also disable opencl.
 
Will try, could you please elaborate on the problem from the technical perspective regarding the encoding and stuff, i'd like to understand the problem in its dephts, again thank you very much for the all the help
 
Top