please fix the bug,maybe just cost 5 minutes to fix it.

samurai2k3

New Member
My computer has two graphics cards installed, one for AMD and the other for NVIDIA. If I choose nvenc as the encoder, OBS will report an error. If I disable the AMD card, nvenc encoding will work properly, probably because the call to nvenc was sent to the AMD graphics card. I wish someone could add an option to choose which graphics card to run OBS on. Although this task should be done by Windows, it seems to not work properly on desktop computers. Moreover, this option can save 10% of the load on the AMD graphics card on my computer,so anyone in the same situation will get benefit from the option.
 
Last edited:

qhobbes

Active Member
NVIDIA Control Panel > Manage 3D Settings > Global Settings | Program Settings > Preferred graphics processor setting.
"If the OS does not specify a graphic processor preference for a given application, then users can specify the preferred graphics processor to use"
 

samurai2k3

New Member
Preferred graphics processor setting
q1.png
 

samurai2k3

New Member
Didn't wait for an update on this problem, I solute it by myself, now, amd display card in my computer absolutely free from OBS.
贴图.png
 

samurai2k3

New Member
To help others, please share what steps you took to prevent OBS from using your AMD card
I modified libobs-d3d11.dll using IDA, so OBS always chooses NVIDIA graphics card to run. If there is an OBS compilation environment, it may be better to modify the source code directly, perhaps in 5 minutes, up to 10 minutes. However, establishing an OBS compilation environment is a bit troublesome for me.
 
Top