How to force Nvidia to run?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How to force Nvidia to run?

Belowaty
Hi
When I use a default profile in Nvidia driver in Window 10 a program from:
https://jogamp.org/wiki/index.php/Rudimentary_standalone_example_using_the_fixed_pipeline_by_Julien_Gouesse
looks like this:
Jogl Quad drawing

I have to change a profile by hand to use all the time Nvidia, but this is not a good solution for everybody.
Is a way to force Nvidia to run by jogl or java ?

Thank you ahead.
Reply | Threaded
Open this post in threaded view
|

Re: How to force Nvidia to run?

gouessej
Administrator
Hello

What do you have to modify in the profile? I don't think that there is a programmatic mean to do that in JOGL, maybe look at GPU affinity.
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: How to force Nvidia to run?

Belowaty
Hello,

In Nvidia control panel I have to set preferred graphic processor:

Preferred graphics processor - auto-select
Preferred graphics processor - nvidia

This is relatively new situation. I didn't have this problem with version 2.1.5.

Thanks for any suggestion.
Reply | Threaded
Open this post in threaded view
|

Re: How to force Nvidia to run?

gouessej
Administrator
This problem has probably nothing to do with JOGL itself but we don't support Optimus. When your computer picks another GPU at runtime, bad things happen.
Julien Gouesse | Personal blog | Website