VRAM load test

I would like to write a VRAM load test. A simple OpenGL program that will try to consume all available VRAM
and know when to stop.

Any suggestions on a good way to do this?

http://www.opengl.org/wiki/index.php/Common_Mistakes#glAreTexturesResident_and_Video_Memory

“A modern OpenGL program should not use this function.”

I guess that kills it.

That’s ok, I found these:
http://developer.amd.com/gpu/perfstudio/Pages/default.aspx
http://developer.nvidia.com/object/nvperfhud_home.html

I don’t think NVPerfHUD works with GL, but you can use NVAPI/NVPerfSDK to roll your own. Included there’s a test suite that includes some example experiments, as I recall. There’s also an API for various device queries (including memory - see e.g. NvAPI_GPU_GetVirtualFrameBufferSize).

nvidia also has something called GLExpert. might be worth a look
PerfHUD was always Direct3D only.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.