• Advertisement
Sign in to follow this  

Video Driver & memory infos

This topic is 4144 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello all ^^ , for capabilities & memory management reason, I need to be able to know the user's GFX card driver, and other information about video memory (max, available) . How do you handle it ?

Share this post


Link to post
Share on other sites
Advertisement
Geezz, I just found an answer for the driver'n stuff info.

It might help others too so here it is :

glGetString(GL_VENDOR);
glGetString(GL_VERSION);
glGetString(GL_RENDERER);


which returns something like
Vendor: NVIDIA Corporation
Version: 2.0.3
Renderer: GeForce Go 6800/PCI/SSE2


I am still after getting information about the user video memory (see first post), so let me know if you have a clue.

Share this post


Link to post
Share on other sites
There is no way to query the amount of video RAM in OpenGL. And this is done on purpose. In the early days of hardware 3D, when you still had to do the VRAM management yourself, knowing the amount of VRAM was essential. Today, it's absolutely irrelevant. Memory management is entirely done by the driver, and you shoudn't even care about the internals.

Just add quality settings, where the user can select texture resolution, compression, etc. If the game runs too slow, let the user select a lower quality preset.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement