Question / Help OBS switches GPU so I cannot record a game on the other GPU.

mousemallow

New Member
Alright, I have a very specific problem. OBS and my game will not run on the same GPU. At this time I have tried the following things to change this:
Change the graphics settings in windows settings
Change proccess priorities on task manager
Change priority in OBS settings
Change GPU in the NVIDIA control panel
The problem is that while OBS will now run on the same GPU as the game (GPU 0 - Copy), but as soon as I tab back into the game, OBS will switch GPU and will then run on GPU 1 - 3D.
https://obsproject.com/logs/yNYvWaqC2APP_LrE
 

BionicClick

Member
just curious, why is this an issue, if you have two GPUs why not use once for each?

Go into the NVIDIA control panel, and under 3D settings go into program settings. set a GPU priority for each program, one being your game and the other being OBS. image below, see if that helps?
 

Attachments

  • Capture.PNG
    Capture.PNG
    76 KB · Views: 1,560

FerretBomb

Active Member
Starting with Windows 10 1903 and later (you are on 1903, per your log), the method for assigning GPU has been changed by Microsoft. You cannot do it through the nVidia Control Panel any more. Here are updated instructions on how to properly assign the GPU for OBS (or any other program) to use:

@BionicClick OBS cannot capture programs running on the other GPU. It's why laptops have to swap to the iGPU; most laptops will run the desktop WM on the iGPU even if a discrete GPU is present, to save battery power.
A 2-GPU setup is regularly proposed by new OBS users to 'spread the load', but that doesn't work... the VRAM would need to be copied across constantly to keep both updated, and the system PCIe bus only has a certain amount of bandwidth overall. Even without hitting the bandwidth cap, it'd cause blocking traffic writes and slowdown.
 
Top