Question / Help Global sources and performance

fredkruge

Member
Question about what chews up less performance, if I have a number of scenes, one scene primarily used for games that has a bunch of gamecaptures (only 1 game launched at a time) does adding all of the individual games to global source reduce the usage, increase it, or is it a non-factor. Just curious about adding global sources in general about whether you should add things to individual scenes or as a global source for best performance.
 

FerretBomb

Active Member
Global sources are always-on, and always using up system resources. Good for things like webcams which can 'freeze' the transition between scenes while OBS waits for the device to 'wake' and start sending data. Having a bunch of game/window captures in there will be a constant drain on the system though, so don't do it.

Jim has verified that in recent versions of OBS, non-enabled (checked) non-global layers in a scene do not have an impact on the performance of a given scene. So having a 'Main Game' scene with all of your games added (but disabled, other than the one you're actively playing) will be the fastest way to go. This is what I do, and it works great.

Also, it can be a good idea to have a 'fullscreen' scene as well (turn off your cam and chat overlay if enabled) just by copying the scene and removing those sources from it... handy for getting yourself out of the way quickly (hotkeyed) for cutscenes, emergency off-cam moments and such until (if) layer/global source hotkeying is added (feature request already open, but no response yet on that).
 

fredkruge

Member
Im currently on an old version of OBS, reference this post.

So I cant turn off individual game captures I add. So, for the current situation (using OBS 466a, so I can actually use my camera), the only global source I have is my camera.

The wording is a little bit unclear, so if I have a bunch of added game captures to a scene (not global-sources), but only have one game launched at a time (cant disable other game captures in 466a) do the gamecaptures that arent capturing anything in the scene affect performance? If so should I make a bunch of individual scenes for each individual game and set a hotkey when im going to play a specific one? If I add my camera (global source) more and more to different scenes does it slowly eat more performance as I add it to more scenes?
 

dodgepong

Administrator
Community Helper
If you are on an old version, then yes, the game captures that are unchecked or inactive will still affect performance.
 

fredkruge

Member
including the game captures that are not in the current scene? Also what about the camera, if I add it (its a global source) to more and more scenes does it use more performance?
 

dodgepong

Administrator
Community Helper
If it is a global source, it is using resources. If it is in the scene, unchecked or not (with that old version), it is using resources. If it is not a global source, and not part of the current scene, it is not using resources.
 
Top