Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: how to use nvidia for opengl?

Hybrid View

  1. #1
    Newbie Newbie
    Join Date
    Jun 2013
    Posts
    1

    how to use nvidia for opengl?

    i am new to opengl programming. i want to learn the latest version of opengl ie opengl 4.3. my laptop has both nvidia and intel graphics card. i updated my nvidia drivers to support opengl 4.3 but intel drivers still support only opengl 3.0. i am using windows 07.
    how do i use opengl 4.3 with the supported nvidia driver. how to setup this environment on visual studio 2010?

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Jan 2012
    Location
    Australia
    Posts
    1,097
    You have to select the nVidia card in the laptop settings; then OpenGL will only see that driver - you cannot do it inside your program

  3. #3
    Senior Member OpenGL Pro
    Join Date
    Jan 2007
    Posts
    1,135
    Quote Originally Posted by tonyo_au View Post
    You have to select the nVidia card in the laptop settings; then OpenGL will only see that driver - you cannot do it inside your program
    Correction - you actually can.

    The document at http://developer.download.nvidia.com...ngPolicies.pdf includes information on the NvOptimusEnablement global variable which you can set in your program to force it to use the NV GPU. A secondary method is to statically link to certain libraries - again, covered by the document.

  4. #4
    Senior Member OpenGL Pro
    Join Date
    Jan 2012
    Location
    Australia
    Posts
    1,097
    Thanks mhagain for that - it has been a problem for me for ages

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •