Results 1 to 6 of 6

Thread: OpenGL and graphics card compatibility issues

  1. #1
    Member Newbie
    Join Date
    Apr 2009
    Posts
    35

    OpenGL and graphics card compatibility issues

    My understanding is that OpenGL utilises the power of the graphics card's GPU but I have a few related questions:

    1. Does this mean that the graphics card must be certified to be OpenGL compatible and that OpenGL will only run on a limited subset of graphics cards?
    2. If a machine has on-board graphics for example, is it simply the case that OpenGL will not work on it?
    3. Is it possible to programmatically detect whether the current graphics card supports OpenGL?

    Thanks,

    -Qu0ll

  2. #2
    Member Contributor
    Join Date
    Mar 2008
    Location
    Singapore
    Posts
    67

    Re: OpenGL and graphics card compatibility issues

    Hi Quoll,

    Concerning your first question:
    1. Yes your graphics card must say it supports OpenGL. But let me add that pretty much *all* graphics now support OpenGL these days. The issue they many openGL programmers face is not whether openGL is supported on a graphics card, but which *version* of openGL is supported. The most recent being openGL v2.1. [i'm ignoring version 3 cos driver support is sparse]

    One nice software that I use to find out about openGL support of different graphics card is "OpenGL extension viewer". You can download it here:

    http://www.realtech-vr.com/glview/


    As for your second question:
    2. You are wrong here. Most, if not all, onboard graphics card support openGL. On-board graphics chips, many of them based on Intel GMA series, have support ranging from openGL 1.4 all the way to openGL 2.1. I know this for a fact.

    As for your last question:
    3. That very simple. Simply try to create an openGL context. If it fails, well, that means you don't really have openGL support.

  3. #3
    Member Contributor
    Join Date
    Mar 2008
    Location
    Singapore
    Posts
    67

    Re: OpenGL and graphics card compatibility issues

    I forgot to add:

    There's a neat utility called glewinfo.exe that you can download here:

    http://glew.sourceforge.net/

    Run the exe file and it will tell you up to which version of opengl your can can support and also what openGL extensions you can support.

    Essentially there are openGL commands that are not attached to any particular version and you have to programatically query for their support before you use them on various graphics cards.


    Finally do note that driver updates for your graphics card occasionally cause a jump in you openGL version support.

  4. #4
    Senior Member Regular Contributor
    Join Date
    Jun 2009
    Posts
    357

    Re: OpenGL and graphics card compatibility issues

    Pretty much what matchStickMan said.

    OpenGL 3.1 is the latest version, supported by the latest GPUs/IGPs of Ati and Nvidia (but not Intel).

    OpenGL 2.1 is pretty much supported by every GPU/IGP released in the last 8 years from Ati and Nvidia, as well as the latest Intel IGPs.

    Driver support is generally ok, as long as you don't target Intel IGPs and don't push the (graphics) envelope. If you plan to do any of that, you can look forward to multiple, GPU- and driver-specific rendering paths, workarounds for driver bugs and similar fun stuff.
    [The Open Toolkit library: C# OpenGL 4.4, OpenGL ES 3.1, OpenAL 1.1 for Mono/.Net]

  5. #5
    Member Newbie
    Join Date
    Apr 2009
    Posts
    35

    Re: OpenGL and graphics card compatibility issues

    Thanks very much matchStickMan for the prompt, comprehensive reply.

    That has answered all my questions.

    -Qu0ll

  6. #6
    Member Contributor
    Join Date
    Mar 2008
    Location
    Singapore
    Posts
    67

    Re: OpenGL and graphics card compatibility issues

    Always a pleasure to help out.

Similar Threads

  1. OpenGL graphics card
    By Registred in forum OpenGL: User Software
    Replies: 2
    Last Post: 07-09-2013, 10:42 AM
  2. OpenGl without graphics card?
    By Niall. in forum OpenGL: Drivers
    Replies: 2
    Last Post: 04-02-2012, 11:04 AM
  3. OpenGL - graphics card
    By OGL in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 08-16-2006, 02:48 AM
  4. best graphics card for opengl
    By tiger_tim in forum OpenGL: User Software
    Replies: 1
    Last Post: 10-15-2005, 01:32 PM
  5. Video Card / Driver Compatibility Issues
    By Andrew Jameson in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 06-16-2002, 07:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean