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 fetch free video memory ?

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2005
    Posts
    1

    how to fetch free video memory ?

    Is there anyway to get the available video memory ?

    Or a test to find out how ?

    cheers.

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    The Round Table at Camelot
    Posts
    1,537

    Re: how to fetch free video memory ?

    I seem to remember quite a few discussions about this topic on this board. I don't rememeber how this was done. Try the search feature to see if you can find them.

    -SirKnight
    -SirKnight

  3. #3
    Junior Member Newbie
    Join Date
    Jul 2004
    Posts
    2

    Re: how to fetch free video memory ?

    Not with OpenGL and any solution would also be highly platform/OS dependent.

    You might find this interesting: http://works.no/stig/video-memory/

  4. #4
    Advanced Member Frequent Contributor
    Join Date
    Aug 2001
    Location
    Italy
    Posts
    628

    Re: how to fetch free video memory ?

    On windows, the DX-based solution works nicely enough.
    For linux, there seems to be not a simple way. nVIDIA has a nice enough /proc/ entry but I don't know other cards. Maybe polling the whole buses would be an option but this is definetly overkill for me. I didn't look at that.

Posting Permissions

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