Video Driver Information
GL_VENDOR: NVIDIA Corporation

GL_RENDERER: GeForce 6800 GT/PCI/SSE2

GL_VERSION: 1.5.2

Driver Version: 6693

ALU Instructions: 4096

TEX Instructions: 4096

TEX Indirections: 4096

MAX_TEXTURE_IMAGE_UNITS: 16

MAX_TEXTURE_COORDS: 8

GL_EXTENSIONS:

GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_vertex_array GL_HP_occlusion_test GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_centroid_sample GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_texgen_reflection GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum GL_WIN_swap_hint WGL_EXT_swap_control

Streaming: Basic Throughput
A comparison of pixel throughput when executing a simple shader program that fetches once from a floatN texture, performs a few ADD operations, and outputs the result to a floatN buffer.

fpfilltest -p -n -c 1
fpfilltest -p -n -c 2
fpfilltest -p -n -c 3
fpfilltest -p -n -c 4

fpfilltest -b -n -c 1
fpfilltest -b -n -c 2
fpfilltest -b -n -c 3
fpfilltest -b -n -c 4

Note: Both graphs represent the same test. One shows MPix/sec and one reports GB/sec.

Streaming: Triangle vs. Quad
A comparison of performance obtained when issuing a shader using either a screen covering triangle or a large quad. The shader reads from a (1 or 4-component) float texture, performs a few ADD instructions, and outputs the result to a (1 or 4-component) pbuffer.

fpfilltest.exe -n -c 1 -r triangle
fpfilltest.exe -n -c 1 -r quad
fpfilltest.exe -n -c 4 -r triangle
fpfilltest.exe -n -c 4 -r quad

4-Component Floating Point Input Bandwidth
Floating point input bandwidth test (4-component texels). Single access test (SGL) measures bandwidth when repeatedly accessing texel (0,0). Sequential access (SEQ) is 1-to-1 copy of input texels to output texels. Random access (DEP-RAND) uses dependent texturing to randomly fetch from the dependent texture. The shaders perform a total of 4 fetches, each from a unique input texture (dependent texturing case performs an additional fetch from an index texture, which is factored into the bandwidth computation).

floatbandwidth -n -c 4 -f 4 -a single
floatbandwidth -n -c 4 -f 4 -a seq
floatbandwidth -n -c 4 -f 4 -a random -d

Bandwidth: MRT Output bandwith
Measures output bandwidth when storing results into multiple 4-component floating point render targets. Output into 1 to 4 render targets is tested.

outputbandwidth -n -o 1
outputbandwidth -n -o 2
outputbandwidth -n -o 3
outputbandwidth -n -o 4

Cache Hit Fetch Cost
Measures time taken to execute a shader containing a fixed number texture fetches followed by various numbers of MAD instructions. The number of instructions following the fetches is increased (x-axis) until the shader becomes compute bound. Above this threshold, running time is a linear function of the length of the program.


fetchcosts -n -m 1 -x 30 -f 1 -a single -i 2
fetchcosts -n -m 1 -x 30 -f 2 -a single -i 2
fetchcosts -n -m 1 -x 30 -f 3 -a single -i 2
fetchcosts -n -m 1 -x 30 -f 4 -a single -i 2
fetchcosts -n -m 1 -x 30 -f 5 -a single -i 2
fetchcosts -n -m 1 -x 30 -f 6 -a single -i 2

Streaming Access Fetch Cost
Measures time taken to execute a shader containing a fixed number texture fetches followed by various numbers of MAD instructions. The number of instructions following the fetches is increased (x-axis) until the shader becomes compute bound. Above this threshold, running time is a linear function of the length of the program.


fetchcosts -n -m 1 -x 60 -f 1 -a seq -i 2
fetchcosts -n -m 1 -x 60 -f 2 -a seq -i 2
fetchcosts -n -m 1 -x 60 -f 3 -a seq -i 2
fetchcosts -n -m 1 -x 60 -f 4 -a seq -i 2
fetchcosts -n -m 1 -x 60 -f 5 -a seq -i 2
fetchcosts -n -m 1 -x 60 -f 6 -a seq -i 2

Bandwidth: Readback
Measures readback performance of glReadPixels(0, 0, 512, 512, FORMAT, TYPE, ptr) from a single buffered window and 4-component float pbuffer.

readback.exe -x -r
readback.exe -x -b
readback.exe -f -r
readback.exe -f -b

Bandwidth: Download
Measures rate at which texture data can be loaded onto the card using multiple calls to glTexSubImage2D(). The texture is a 512x512 n-component float texture.

download.exe -n -c 1
download.exe -n -c 2
download.exe -n -c 3
download.exe -n -c 4

Instruction Issue
Measures rates at which various shader instructions can be executed. Vector instructions are executed with 4-component vector operands.

instrissue -n -a -l 64 -m

Scalar vs Vector Instruction Issue
Compares the rate a which the card can perform ADD, SUB, MUL, and MAD instructions when operating on both scalar and 4-component vector operands. Any dual issue capability in the hardware should be apparent when performing the single component version of the instructions.


instrissue -n -c 1 -i ADD -l 40 -m
instrissue -n -c 4 -i ADD -l 40 -m
instrissue -n -c 1 -i SUB -l 40 -m
instrissue -n -c 4 -i SUB -l 40 -m
instrissue -n -c 1 -i MUL -l 40 -m
instrissue -n -c 4 -i MUL -l 40 -m
instrissue -n -c 1 -i MAD -l 40 -m
instrissue -n -c 4 -i MAD -l 40 -m

Branching: Early-Z
Measures the effectiveness of the early-z test at saving work. The test generates a computation mask which is loaded into the depth buffer and used to kill all fragments beneath a given threshold while a big shader is run. In one test the mask is uniformly distributed and in the other the mask increases in a wavefront pattern.


branching --block --earlyz
branching --rand --earlyz

Branching: PS30
Measures the effectiveness of the early-z test at saving work. The test generates a computation mask and then runs a pixel-shader 3.0 shader which fetches the mask value and then conditionally executes a big shader. In one test the mask is uniformly distributed and in the other the mask increases in a wavefront pattern.


branching --block --ps30
branching --rand --ps30

Instruction Precision
Plots average and maximum error of complex arithmetic instructions. Comparison is performed against double precision CPU calculations. The first graph samples inputs over the range of 0.001 to PI/2. The second graph samples over 10^-12 to 0.001 (only tests functions which behave nicely at the origin).

precision.exe -m 0.001 -x 1.5707963267949 -b
precision.exe -m 1.0e-12 -x 0.001 -bsce


GPUBench is a made possible by the letter E, the number 37, and the Stanford University Graphics Lab.

Id: GPUBench.pl,v 1.18 2005/02/10 00:49:42 jeremy_sugerman Exp