OBS opened causes 30+ fps drops in-game with stream on/off

Héraès

Member
Personally I don't have NVidia Broadcast. I think the problem of in-game FPS drops can be correlated to the problem of scenes/sources bad management in OBS : https://obsproject.com/forum/thread...ess-cpu-and-gpu-resources.147969/#post-548311

In short :
- the more sources you add in a scene (even simple ones like a text), the more it adds percents of GPU used.
- nesting scenes add a 5% of GPU usage even if the nested scene is emtpy.

So there's definitely a "problem" in OBS management of sources and how compositing is made.

On the top of this :
- compositing is managed by the main GPU (if you have two on the same system). The main GPU is automatically selected by the operating system as "the one who displays the main screen". So if you use a second GPU and plug a second screen on it, by temprarily declaring your second screen as the "default one" in Windows (with help of a Nirsoft program), and launching OBS, then reverting the screens, you can fully launch OBS on the second GPU (meaning compositing + encoding, and not just encoding). This solve the problem of 20-30% of the main GPU used. I personnally used this technic because my GTX 960 coule never stream 1080p while playing Apex Legends.

But still, launching OBS and streaming will result in a few FPS drops, because of GPU communication throught RAM (and CPU usage too). And I'm facing constant FPS drops in big games even with this technic (but it would be worse if not using it).

The whole problem is conplex, but I'm 100% sure that we would greatly improve things by solving the "nested scenes" problem + the sources insane consumption.
 
Last edited:

Héraès

Member
I'm far from being an expert in programmation, but if even top graphic cards have consistently a 20-30% of their GPU used by simply launching OBS, I can say that it's probably due to bad decisions in how to use the OS and GPU to render the scenes.

Like if you ask a strong and rapid man to lift a heavy weight by contorting himself, he'll surely be unable to perform (as other normal people).

So... if adding a single pixel in a source, or nesting a scene, results in few percents of GPU used, it's probably due to god damn "framework effect" : you load dozens of useless stuffs to perform a simple task, instead of simply adding the thing on the top of the actual process managing the compositing. Like online shops using several huge cardboard box for the items you bought instead of gathering them in a adapted one, because they have predefined a process for employee to work and don't want to change it.
 

donrozz

New Member
I know this isn't ideal but I noticed that even if OBS is idle or I am streaming, if I minimize the screen, my frames come back and my GPU usage drops.
 

D4rkWells

New Member
did you read the comments above? your symptom is a typical outcome when asking a PC to do more than it is capable of
- real-time video encoding is demanding... so you need plenty of spare resources (CPU, GPU, disk, RAM, etc) to get it to work.
Then there is making sure your OS (operating system), OBS, plug-ins, etc all set correctly for your systems capabilities. OBS settings for an under-powered PC is very different from a powerful workstation class machine.
so don't re-use an old thread, post a new thread, and read the pinned post about a log file.
I'm starting to have this problem as well but just now it started to happen... Before this streaming was completely fine! I did no change on my specs and it started reducing my fps by a lot just by opening OBS
 

TimboDeluxe

New Member
What seems to have fixed it for me after alot of trying, was disabling/deleting all docks, except for the ones, that are standard OBS docks. If you log in to twitch, obs might already open twitch chat (and such) as docks. I noticed a lot of browser sources in task manager sucking resources when obs is opened. it seems that docks are also browser sources. especially my stream elements events have taken alot of resources. After i got rid of all docks but the standard OBS ones, it at least fixed it for me for most games.
 
Top