10

Is there a standard way of getting the current load on the GPU? I'm looking for something similar to the Task Manager showing CPU%. Utilities such as GPU-Z show this value but I'm not sure how it gets this. I'm specifically interested in AMD graphics cards at the moment, any pointers would be helpful.

If there's no clean API way of doing it, are there any programs whose output I can capture to get this info?

3 Answers 3

4

For AMD/ATI cards, check out GPU PerfStudio. http://developer.amd.com/gpu/Pages/default.aspx

For NVidia cards, look at PerfHUD. http://developer.nvidia.com/object/nvperfhud_home.html

There is also a more generic tool in the DirectX SDK from MS called Pix that overlaps partially with these tools.

AFAIK there's no way to get something as simple as a %-use number for the GPU because it isn't that simple. But these tools will help in debugging and profiling what's going on in the GPU. Both ATI and NVidia provide public documentation with recommended steps to find and fix specific types of GPU bottlenecks.

Sign up to request clarification or add additional context in comments.

2 Comments

Both of these are tools, rather than API. Still, quite useful. From the AMD developer site I found AMD Display Library SDK which looks like it might do the trick. Thanks.
PerfHUD is windows-only, unfortunately.
4

Try nvidia-smi -a. It is shipped with nvidia drivers. Provides current GPU core and memory utilization information.

nvidia --help for full helping information.

Comments

1

This kind of information is always provided either through a PerformanceCounter or WMI. Use Perfmon.exe or download WmiCodeCreator to find out what the card manufacturer provided. Perhaps needless to say, this kind of code doesn't port well from one machine to another.

2 Comments

+1 for mentioning the WmiCodeCreator tool, looks very useful. Sadly, it doesn't seem to show anything useful for this particular case.
Browse the video adapter manufacturer's web site, see what kind of WMI providers they have available.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.