PDA

View Full Version : OpenGL 2.0 performance profiling tools for NVIDIA GPU



dimensionX
12-08-2004, 07:54 AM
Hi!

I am an OpenGL programmer for so long now. I am using NVIIDA's Quadro FX500 graphics card. I am looking for profiling tools to actually measure general OpenGL application performance, GLSL shader performance etc... A tool that can if possible identify the bottle neck, show the driver generated assembly code, vertex/pixel shader throughput, gives information about number of cycles, temp registers used etc...

Also any information about CPU - GPU interaction, whether is depends on programming language etc...

Any help pointers of advice would be greatly appreciated. Thank you!

Nicolas Lelong
12-08-2004, 08:00 AM
NVidia tool "nvemulate" will allow you to dump on disk the "assembly" source code generated by GLSL shaders.

I don't know of any NV tool for opengl performance analysis, as I believe NVPerfHUD is for D3D only.

Relic
12-08-2004, 08:58 AM
Check this out:
http://developer.nvidia.com/page/tools.html

dimensionX
12-08-2004, 09:07 AM
Yes, the NVIDIA tools are mostly for D3D but minimal OpenGL. So how is everyone using OpenGL getting around with performance profiling.

Games that are developed using OpenGL, how are they accomplishing this ?

valoh
12-08-2004, 11:52 AM
well, good old trial and error :(

I really would like to see a standardized profiling extension to enlighten the black box GPU a little bit providing a decent standardized tool for profiling/optimization (dynamic load balancing/LOD?).

I'm still dreaming of the possibility to query for some basic GPU performance/stalling informations and accordingly dynamically switch at runtime between Scene, Mesh, Shader and Texture LODs...

sqrt[-1]
12-08-2004, 02:35 PM
Note that the Nvidia tool NVShaderPerf works with OpneGL now so you can get cycle count, register usage and a GPU utilization rating.

http://developer.nvidia.com/object/nvshaderperf_home.html

Husted
12-09-2004, 01:03 AM
A good place to start is to take a look at Ian Buck's GPUBench (http://graphics.stanford.edu/projects/gpubench/) .

Although, this is a really nice tool to profile the different GPU operations in a particular GPU/Driver setup - it does not assist you in profiling a particular application.

-- Niels

SirKnight
12-09-2004, 05:02 PM
An OpenGL version of NVPerfHUD will be out early next year. I know this doesn't help right now but it's something to look forward to I guess. :D

-SirKnight

marco_dup1
12-09-2004, 05:11 PM
Originally posted by SirKnight:
An OpenGL version of NVPerfHUD will be out early next year. I know this doesn't help right now but it's something to look forward to I guess. :D
Will it be windows only or will be a linux version too?

SirKnight
12-09-2004, 05:14 PM
Good question. Because I'm not sure. :D I'm going to guess it will support both OSes. Usually NV's opengl demos work with both so I'd assume this will too.

-SirKnight

marco_dup1
12-10-2004, 12:46 AM
Originally posted by SirKnight:
Good question. Because I'm not sure. :D I'm going to guess it will support both OSes. Usually NV's opengl demos work with both so I'd assume this will too.
The last version of the nvidia sdk was 6 and there isn't no tool support beside the driver. I haven't figured out how to set GLSL to strict under linux so that it's doesn't compiling wrong GLSL sources.