Login  Register

Re: Only Integrated GPU is used

Posted by sailsman63 on Apr 16, 2020; 4:19am
URL: https://forum.jogamp.org/Only-Integrated-GPU-is-used-tp4040529p4040531.html

If the automated load-switching is not supported, (Which it sounds like it is not)

You can force selection on launch using a native launcher via JNI (see https://www.developer.com/java/data/how-to-create-a-jvm-instance-in-jni.html ) and export certain C-language symbols.

See the following for the relevant symbols for the major card manufactureres:

http://developer.download.nvidia.com/devzone/devcenter/gamegraphics/files/OptimusRenderingPolicies.pdf

https://community.amd.com/thread/169965

Note: This only works if the user has the dedicated GPU enabled (It can often be turned off in BIOS or system configuration settings)

It also means that your application will *Only* Use the dedicated GPU - it will not seamlessly switch for power conservation.