cancel
Showing results for 
Search instead for 
Did you mean: 

FirePro Development

bsmith77
Adept I
Adept I

Can an OpenGL app default to the discrete GPU on an Enduro system?

Jump to solution

On a laptop with NVidia Optimus, there a several methods to get an OpenGL application to default to the discrete GPU, rather than the Intel integrated GPU.  The easiest method is to export NvOptimusEnablement from your app (http://developer.download.nvidia.com/devzone/devcenter/gamegraphics/files/OptimusRenderingPolicies.p...).

Is there any way to do this with an AMD GPU, other than through the Catalyst profile?  If not, where can a company request support for their application's profile in the Catalyst driver? (the app is a commercial Solid Modelling/CAD package)

Tags (3)
0 Kudos
Reply
1 Solution

Accepted Solutions
chm
Staff
Staff

Re: Can an OpenGL app default to the discrete GPU on an Enduro system?

Jump to solution

Hi,

you can use:

extern "C"
{
  __declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
}

This will select the high performance GPU as long as no profile exists that assigns the application to another GPU.

Please make sure to use a 13.35 or newer driver. Older drivers do not support this.

Chris

View solution in original post

2 Replies
chm
Staff
Staff

Re: Can an OpenGL app default to the discrete GPU on an Enduro system?

Jump to solution

Hi,

you can use:

extern "C"
{
  __declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
}

This will select the high performance GPU as long as no profile exists that assigns the application to another GPU.

Please make sure to use a 13.35 or newer driver. Older drivers do not support this.

Chris

View solution in original post

bsmith77
Adept I
Adept I

Re: Can an OpenGL app default to the discrete GPU on an Enduro system?

Jump to solution

We tested it out (with the 14.12 driver), and it works as expected.  Thanks!

I cross-posted your answer to the related forum question (Force high performance GPU programmatically on Switchable Graphics) and also on StackOverflow (gpu - AMD equivalent to NvOptimusEnablement - Stack Overflow).

0 Kudos
Reply