View Full Version : how to fetch free video memory ?

10-07-2005, 02:41 AM
Is there anyway to get the available video memory ?

Or a test to find out how ?


10-07-2005, 01:29 PM
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.


10-07-2005, 07:55 PM
Not with OpenGL and any solution would also be highly platform/OS dependent.

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

10-09-2005, 10:32 PM
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.