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?


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

I guess that kills it.

That’s ok, I found these:

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.