"Global Variable NvOptimusEnablement (new in Driver Release 302) Starting with the Release 302 drivers, application developers can direct the Optimus driver at runtime to use the High Performance Graphics to render any application —- even those applications for which there is no existing application profile. They can do this by exporting a global variable named NvOptimusEnablement. The Optimus driver looks for the existence and value of the export. Only the LSB of the DWORD matters at this time. A value of 0x00000001 indicates that rendering should be performed using High Performance Graphics. A value of 0x00000000 indicates that this method should be ignored. Example Usage: extern "C" { _declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001; } .. _global_profile_settings: " [1] http://docs.nvidia.com/gameworks/content/technologies/desktop/optimus.htm
(In reply to comment #0) > > extern "C" { > _declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001; > } > .. _global_profile_settings: > > " > > [1] http://docs.nvidia.com/gameworks/content/technologies/desktop/optimus.htm This seems not to work reliably (as other users in other forums reported) and IMHO shall be part of an API. On OSX the system does switch automatically: No issue! I have no other system. IMHO this shall be performed either by the user via a control panel thingy, or by the windowing manager, or via an explicit API. I close this bug as invalid for now, please re-open if you (or anybody) strongly disagrees. In the latter case, please elucidate the situation: - examples - proof of work (patch?) w/ info on system