Selecting dedicated graphics card in OF

Has anyone tried implementing the solutions described here in an OF app?

I particularly have OpenGL in mind, and wanting to force a PC platform to run the app on the correct dedicated graphics cards


Edit: I’ve tested them, they seem to work…

In Windows you can right click on the App and select “Run with graphics processor -> High-performance NVIDIA processor” . Also under “NVIDIA control panel-> Manage 3D settings -> Program Settings” you can select the application and choose the “Preferred graphics processor”.

In Linux if you have the NVIDIA Drivers installed you can use PRIME to globally run the OS wih the iGPU or the dGPU.

On MacOS under "System Settings-> Energy Saver " you can unselect “Automatic Graphic Switching” to force the machine to run with the dGPU.

thanks, but I wanted the app to do the forcing, not the user. The method in my links seem to do the trick

Excellent. I wasn’t aware of these tricks!

I’m not sure if they are 100% correct, but it seems to do the trick for me