I’ve added the -benchmark flag to testvidinfo in the latest CVS snapshot:
http://www.libsdl.org/cvs.php
This takes a while to run, but you can hit escape to cut the tests short.
I’m curious to see what results people get on different hardware.
Be sure to note the kind of system and what operating system you have!
Here’s the results on my system running Windows 98…
See ya!
-Sam Lantinga, Software Engineer, Blizzard Entertainment
-------------- next part --------------
System: AMD 1800+, 256 MB RAM, GeForce 3, Windows 98
Video driver: directx
Current display: 32 bits-per-pixel
Red Mask = 0x00ff0000
Green Mask = 0x0000ff00
Blue Mask = 0x000000ff
Fullscreen video modes:
2048x1536x32
1920x1440x32
1920x1200x32
1920x1080x32
1600x1200x32
1600x1024x32
1600x900x32
1360x768x32
1280x1024x32
1280x960x32
1280x768x32
1280x720x32
1152x864x32
1024x768x32
848x480x32
800x600x32
640x480x32
640x400x32
512x384x32
480x360x32
400x300x32
320x240x32
320x200x32
A window manager is available
Hardware surfaces are available (59992K video memory)
Copy blits between hardware surfaces are accelerated
Colorkey blits between hardware surfaces are accelerated
Copy blits from software surfaces to hardware surfaces are accelerated
Colorkey blits from software surfaces to hardware surfaces are accelerated
Color fills on hardware surfaces are accelerated===================================
Setting video mode: 640x480 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
Running color fill and fullscreen update test
768 fills and flips in 11.07 seconds, 69.36 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 8.22 seconds, 60.81 FPS
Running display format blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 7.44 seconds, 67.17 FPS
Setting video mode: 640x480 at 8 bpp, flags: 0x80000000 SDL_SWSURFACE | SDL_FULLSCREEN
Running color fill and fullscreen update test
768 fills and flips in 2.99 seconds, 256.68 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 2.94 seconds, 170.01 FPS
Running display format blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 2.06 seconds, 243.19 FPS
Setting video mode: 640x480 at 8 bpp, flags: 0x80000001 SDL_HWSURFACE | SDL_FULLSCREEN
Running color fill and fullscreen update test
768 fills and flips in 0.00 seconds, 256000.00 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 2.51 seconds, 198.89 FPS
Running display format blit test: 408x167 at 8 bpp, flags: 0x00000001 SDL_HWSURFACE
5000 blits / 500 updates in 0.13 seconds, 3816.79 FPS
Setting video mode: 640x480 at 8 bpp, flags: 0xc0000001 SDL_HWSURFACE | SDL_FULLSCREEN | SDL_DOUBLEBUF
Running color fill and fullscreen update test
768 fills and flips in 5.11 seconds, 150.21 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 3.33 seconds, 150.06 FPS
Running display format blit test: 408x167 at 8 bpp, flags: 0x00000001 SDL_HWSURFACE
5000 blits / 500 updates in 3.32 seconds, 150.56 FPS
Setting video mode: 640x480 at 16 bpp, flags: 0x00000000 SDL_SWSURFACE
Running color fill and fullscreen update test
768 fills and flips in 11.84 seconds, 64.87 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 9.00 seconds, 55.58 FPS
Running display format blit test: 408x167 at 16 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 9.04 seconds, 55.33 FPS
Setting video mode: 640x480 at 16 bpp, flags: 0x80000000 SDL_SWSURFACE | SDL_FULLSCREEN
Running color fill and fullscreen update test
768 fills and flips in 5.43 seconds, 141.49 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 4.62 seconds, 108.25 FPS
Running display format blit test: 408x167 at 16 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 4.48 seconds, 111.53 FPS
Setting video mode: 640x480 at 16 bpp, flags: 0x80000001 SDL_HWSURFACE | SDL_FULLSCREEN
Running color fill and fullscreen update test
768 fills and flips in 0.00 seconds, 768000.00 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 4.17 seconds, 119.93 FPS
Running display format blit test: 408x167 at 16 bpp, flags: 0x00000001 SDL_HWSURFACE
5000 blits / 500 updates in 0.27 seconds, 1879.70 FPS
Setting video mode: 640x480 at 16 bpp, flags: 0xc0000001 SDL_HWSURFACE | SDL_FULLSCREEN | SDL_DOUBLEBUF
Running color fill and fullscreen update test
768 fills and flips in 5.11 seconds, 150.21 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 6.66 seconds, 75.10 FPS
Running display format blit test: 408x167 at 16 bpp, flags: 0x00000001 SDL_HWSURFACE
5000 blits / 500 updates in 3.32 seconds, 150.51 FPS
Setting video mode: 640x480 at 32 bpp, flags: 0x00000000 SDL_SWSURFACE
Running color fill and fullscreen update test
768 fills and flips in 9.73 seconds, 78.95 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 8.90 seconds, 56.15 FPS
Running display format blit test: 408x167 at 32 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 10.36 seconds, 48.27 FPS
Setting video mode: 640x480 at 32 bpp, flags: 0x80000000 SDL_SWSURFACE | SDL_FULLSCREEN
Running color fill and fullscreen update test
768 fills and flips in 9.72 seconds, 78.97 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 8.95 seconds, 55.87 FPS
Running display format blit test: 408x167 at 32 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 10.32 seconds, 48.45 FPS
Setting video mode: 640x480 at 32 bpp, flags: 0x80000001 SDL_HWSURFACE | SDL_FULLSCREEN
Running color fill and fullscreen update test
768 fills and flips in 0.00 seconds, 384000.00 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 7.51 seconds, 66.60 FPS
Running display format blit test: 408x167 at 32 bpp, flags: 0x00000001 SDL_HWSURFACE
5000 blits / 500 updates in 0.53 seconds, 939.85 FPS
Setting video mode: 640x480 at 32 bpp, flags: 0xc0000001 SDL_HWSURFACE | SDL_FULLSCREEN | SDL_DOUBLEBUF
Running color fill and fullscreen update test
768 fills and flips in 5.11 seconds, 150.18 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 9.99 seconds, 50.07 FPS
Running display format blit test: 408x167 at 32 bpp, flags: 0x00000001 SDL_HWSURFACE
5000 blits / 500 updates in 3.32 seconds, 150.56 FPS
Setting video mode: 800x600 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
Running color fill and fullscreen update test
768 fills and flips in 16.67 seconds, 46.07 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 11.76 seconds, 42.50 FPS
Running display format blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 11.08 seconds, 45.14 FPS
Setting video mode: 800x600 at 8 bpp, flags: 0x80000000 SDL_SWSURFACE | SDL_FULLSCREEN
Running color fill and fullscreen update test
768 fills and flips in 4.45 seconds, 172.62 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 3.66 seconds, 136.57 FPS
Running display format blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 2.93 seconds, 170.71 FPS
Setting video mode: 800x600 at 8 bpp, flags: 0x80000001 SDL_HWSURFACE | SDL_FULLSCREEN
Running color fill and fullscreen update test
768 fills and flips in 0.00 seconds, 256000.00 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 2.52 seconds, 198.10 FPS
Running display format blit test: 408x167 at 8 bpp, flags: 0x00000001 SDL_HWSURFACE
5000 blits / 500 updates in 0.14 seconds, 3571.43 FPS
Setting video mode: 800x600 at 8 bpp, flags: 0xc0000001 SDL_HWSURFACE | SDL_FULLSCREEN | SDL_DOUBLEBUF
Running color fill and fullscreen update test
768 fills and flips in 5.34 seconds, 143.93 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 3.48 seconds, 143.80 FPS
Running display format blit test: 408x167 at 8 bpp, flags: 0x00000001 SDL_HWSURFACE
5000 blits / 500 updates in 3.47 seconds, 144.26 FPS
Setting video mode: 800x600 at 16 bpp, flags: 0x00000000 SDL_SWSURFACE
Running color fill and fullscreen update test
768 fills and flips in 17.66 seconds, 43.49 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 12.55 seconds, 39.85 FPS
Running display format blit test: 408x167 at 16 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 12.47 seconds, 40.08 FPS
Setting video mode: 800x600 at 16 bpp, flags: 0x80000000 SDL_SWSURFACE | SDL_FULLSCREEN
Running color fill and fullscreen update test
768 fills and flips in 7.90 seconds, 97.23 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 6.05 seconds, 82.58 FPS
Running display format blit test: 408x167 at 16 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 5.87 seconds, 85.12 FPS
Setting video mode: 800x600 at 16 bpp, flags: 0x80000001 SDL_HWSURFACE | SDL_FULLSCREEN
Running color fill and fullscreen update test
768 fills and flips in 0.00 seconds, 768000.00 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 4.22 seconds, 118.40 FPS
Running display format blit test: 408x167 at 16 bpp, flags: 0x00000001 SDL_HWSURFACE
5000 blits / 500 updates in 0.27 seconds, 1858.74 FPS
Setting video mode: 800x600 at 16 bpp, flags: 0xc0000001 SDL_HWSURFACE | SDL_FULLSCREEN | SDL_DOUBLEBUF
Running color fill and fullscreen update test
768 fills and flips in 5.34 seconds, 143.93 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 6.95 seconds, 71.97 FPS
Running display format blit test: 408x167 at 16 bpp, flags: 0x00000001 SDL_HWSURFACE
5000 blits / 500 updates in 3.47 seconds, 144.22 FPS
Setting video mode: 800x600 at 32 bpp, flags: 0x00000000 SDL_SWSURFACE
Running color fill and fullscreen update test
768 fills and flips in 14.56 seconds, 52.76 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 11.32 seconds, 44.17 FPS
Running display format blit test: 408x167 at 32 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 12.48 seconds, 40.07 FPS
Setting video mode: 800x600 at 32 bpp, flags: 0x80000000 SDL_SWSURFACE | SDL_FULLSCREEN
Running color fill and fullscreen update test
768 fills and flips in 14.65 seconds, 52.42 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 11.42 seconds, 43.77 FPS
Running display format blit test: 408x167 at 32 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 12.28 seconds, 40.70 FPS
Setting video mode: 800x600 at 32 bpp, flags: 0x80000001 SDL_HWSURFACE | SDL_FULLSCREEN
Running color fill and fullscreen update test
768 fills and flips in 0.00 seconds, 768000.00 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 7.61 seconds, 65.70 FPS
Running display format blit test: 408x167 at 32 bpp, flags: 0x00000001 SDL_HWSURFACE
5000 blits / 500 updates in 0.54 seconds, 922.51 FPS
Setting video mode: 800x600 at 32 bpp, flags: 0xc0000001 SDL_HWSURFACE | SDL_FULLSCREEN | SDL_DOUBLEBUF
Running color fill and fullscreen update test
768 fills and flips in 5.34 seconds, 143.93 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 10.42 seconds, 47.98 FPS
Running display format blit test: 408x167 at 32 bpp, flags: 0x00000001 SDL_HWSURFACE
5000 blits / 500 updates in 3.47 seconds, 144.26 FPS
Setting video mode: 1024x768 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
Running color fill and fullscreen update test
768 fills and flips in 26.49 seconds, 29.00 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 17.96 seconds, 27.84 FPS
Running display format blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 17.39 seconds, 28.76 FPS
Setting video mode: 1024x768 at 8 bpp, flags: 0x80000000 SDL_SWSURFACE | SDL_FULLSCREEN
Running color fill and fullscreen update test
768 fills and flips in 6.73 seconds, 114.05 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 4.94 seconds, 101.19 FPS
Running display format blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 4.34 seconds, 115.23 FPS
Setting video mode: 1024x768 at 8 bpp, flags: 0x80000001 SDL_HWSURFACE | SDL_FULLSCREEN
Running color fill and fullscreen update test
768 fills and flips in 0.00 seconds, 192000.00 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 2.57 seconds, 194.70 FPS
Running display format blit test: 408x167 at 8 bpp, flags: 0x00000001 SDL_HWSURFACE
5000 blits / 500 updates in 0.14 seconds, 3521.13 FPS
Setting video mode: 1024x768 at 8 bpp, flags: 0xc0000001 SDL_HWSURFACE | SDL_FULLSCREEN | SDL_DOUBLEBUF
Running color fill and fullscreen update test
768 fills and flips in 5.33 seconds, 144.09 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 3.47 seconds, 143.97 FPS
Running display format blit test: 408x167 at 8 bpp, flags: 0x00000001 SDL_HWSURFACE
5000 blits / 500 updates in 3.46 seconds, 144.43 FPS
Setting video mode: 1024x768 at 16 bpp, flags: 0x00000000 SDL_SWSURFACE
Running color fill and fullscreen update test
768 fills and flips in 29.48 seconds, 26.05 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 19.86 seconds, 25.18 FPS
Running display format blit test: 408x167 at 16 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 19.86 seconds, 25.17 FPS
Setting video mode: 1024x768 at 16 bpp, flags: 0x80000000 SDL_SWSURFACE | SDL_FULLSCREEN
Running color fill and fullscreen update test
768 fills and flips in 12.28 seconds, 62.56 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 8.56 seconds, 58.40 FPS
Running display format blit test: 408x167 at 16 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 8.47 seconds, 59.00 FPS
Setting video mode: 1024x768 at 16 bpp, flags: 0x80000001 SDL_HWSURFACE | SDL_FULLSCREEN
Running color fill and fullscreen update test
768 fills and flips in 0.00 seconds, 768000.00 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 4.31 seconds, 116.12 FPS
Running display format blit test: 408x167 at 16 bpp, flags: 0x00000001 SDL_HWSURFACE
5000 blits / 500 updates in 0.28 seconds, 1818.18 FPS
Setting video mode: 1024x768 at 16 bpp, flags: 0xc0000001 SDL_HWSURFACE | SDL_FULLSCREEN | SDL_DOUBLEBUF
Running color fill and fullscreen update test
768 fills and flips in 5.33 seconds, 144.09 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 6.94 seconds, 72.05 FPS
Running display format blit test: 408x167 at 16 bpp, flags: 0x00000001 SDL_HWSURFACE
5000 blits / 500 updates in 3.46 seconds, 144.38 FPS
Setting video mode: 1024x768 at 32 bpp, flags: 0x00000000 SDL_SWSURFACE
Running color fill and fullscreen update test
768 fills and flips in 23.93 seconds, 32.09 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 16.23 seconds, 30.80 FPS
Running display format blit test: 408x167 at 32 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 16.86 seconds, 29.65 FPS
Setting video mode: 1024x768 at 32 bpp, flags: 0x80000000 SDL_SWSURFACE | SDL_FULLSCREEN
Running color fill and fullscreen update test
768 fills and flips in 23.67 seconds, 32.45 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 16.07 seconds, 31.11 FPS
Running display format blit test: 408x167 at 32 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 16.57 seconds, 30.17 FPS
Setting video mode: 1024x768 at 32 bpp, flags: 0x80000001 SDL_HWSURFACE | SDL_FULLSCREEN
Running color fill and fullscreen update test
768 fills and flips in 0.00 seconds, 768000.00 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 7.79 seconds, 64.20 FPS
Running display format blit test: 408x167 at 32 bpp, flags: 0x00000001 SDL_HWSURFACE
5000 blits / 500 updates in 0.57 seconds, 878.73 FPS
Setting video mode: 1024x768 at 32 bpp, flags: 0xc0000001 SDL_HWSURFACE | SDL_FULLSCREEN | SDL_DOUBLEBUF
Running color fill and fullscreen update test
768 fills and flips in 5.33 seconds, 144.09 FPS
Running freshly loaded blit test: 408x167 at 8 bpp, flags: 0x00000000 SDL_SWSURFACE
5000 blits / 500 updates in 10.41 seconds, 48.03 FPS
Running display format blit test: 408x167 at 32 bpp, flags: 0x00000001 SDL_HWSURFACE
5000 blits / 500 updates in 3.46 seconds, 144.47 FPS