Log in

View Full Version : I need your help - 15 second performance test


ggambett
12-10-2003, 06:36 AM
I've noticed a pronounced and weird slowdown in some systems running Betty's Beer Bar. I wrote a tiny test program (which I ask you to download from here (http://www.mrio-software.com/gl2test.zip) and run it from a command prompt).

I get 450 flips per second in my machine (XP1800+, GeForce4, Linux), about 350 in a VMWare "box" running Windows 98, but only 54 in a P4/1Ghz with Windows XP and a TNT2.

Could you please download the file, run it from a command prompt, and tell me how many flips per second do you get, along with some basic machine specs?

(By the way, the demo does nothing - it will open a black window and close it some seconds later. It does no backbuffer filling or anything - just flips)

gilzu
12-10-2003, 07:08 AM
didnt work for me, it says that SDL_image.dll is missing.

Alex_Code
12-10-2003, 07:10 AM
Sorry, canīt run the program because I couldnīt find libpng1 from my comp. You should maybe implement those dll:s also in to that zip?

Diodor
12-10-2003, 07:19 AM
Using my own dll files and redirecting the output to a txt file (if I just launch the program from my Windows XP it closes before telling me the test results):

Diff = 7029
Flips per second = 142

The box I tested it on is an Athlon 1600+ with a Geforce 2 MX graphic card integrated in an Nforce motherboard.

patrox
12-10-2003, 07:32 AM
That has the sound of the old Nvidia driver ddraw bug...

update the drivers with the latest one, that'll solve the problem.

pat.

ggambett
12-10-2003, 08:02 AM
patrox : With the new drivers I'm getting about 100... twice as fast, but not nearly as fast as it should be

The rest : Sorry. I included the DLLs now.

freeman
12-10-2003, 08:26 AM
Now it couldn't find ZLIB.dll

Chad Goulding
12-10-2003, 08:36 AM
It wouldn't run at first because it needed zlib.dll (but I eventually found a copy of it lying in some obscure directory on my machine).

The results I got were:

Diff = 5316
Flips per second = 188

I'm running Windows XP on a 2.66GHz, 512RAM, "GeForce4 MX 420" machine. My desktop color is blue.

Hope that helps.

:)

patrox
12-10-2003, 08:41 AM
diff 6189
flips : 161

Radeon 9800 Pro - athlon 650.
win2k.

pat.

elund
12-10-2003, 08:47 AM
I located a zlib.dll from another source and redirected the output same as Diodor.

Diff = 4133
Flips per second = 241
Athlon 1.4 GHz CPU
GEForce 3 Ti 500 graphics card
Windows 2000

Fenix Down
12-10-2003, 08:56 AM
Diff = 5376
Flips per second = 186

Athlon 1.4 ghz
Geforce 2 MX 400
Windows 2000

I'm using a very similar programming environment to yours actually. SDL, SDL_Image, SDL_Mixer, ZLIB. I switched from OpenGL back to SDL's 2D for compatibility. When I was using GL though, I'd get 1000 frames per second (max possible) with an empty screen. If you're using GL and that's your framerate, it's kinda low.

ggambett
12-10-2003, 09:48 AM
Originally posted by Fenix Down
Diff = 5376
Flips per second = 186

Athlon 1.4 ghz
Geforce 2 MX 400
Windows 2000

I'm using a very similar programming environment to yours actually. SDL, SDL_Image, SDL_Mixer, ZLIB. I switched from OpenGL back to SDL's 2D for compatibility. When I was using GL though, I'd get 1000 frames per second (max possible) with an empty screen. If you're using GL and that's your framerate, it's kinda low.
I'm in the process of implementing several backends for my sprite engine... one of those is the current SDL blitter. I plan to do SDL/OpenGL and Direct3D too.

What I'm doing here is opening a screen using the default BPP and doing several thousand calls to SDL_Flip(). Nothing else. With the new drivers and the desktop set to 16 bits (it was at 32), I'm getting around 200 flips.

I think that's acceptable. Does Betty's Beer Bar (http://www.mrio-software.com/download.php?id=bbb) run smoothly enough to be playable in your machines? (damn, with that hardware it should!)

Jeff Greenberg
12-10-2003, 09:54 AM
Diff=8224
Flips=121

Pentium 4, 2.0 ghz
NVidia GeForce2 mx/mx400
Windows XP

elund
12-10-2003, 11:24 AM
My previous run was at 16-bit screen depth. I changed the desktop to 32-bit and ran it again. FPS halved. FYI.

Diff = 7986
Flips per second = 125

Mike Wiering
12-10-2003, 03:32 PM
Diff = 5712
Flips per second = 175

P4, 2 GHz, GForce 4, WinXP (32-bit desktop settings)

Jeff Greenberg
12-10-2003, 04:10 PM
My results were at 32 bits as well.


Diff=8224
Flips=121

Pentium 4, 2.0 ghz
NVidia GeForce2 mx/mx400
Windows XP

BrewKnowC
12-10-2003, 04:54 PM
Diff = 3136
Flips per second = 318

not bad for an original architecture Athlon 850 with 128mb ram ;) winXP ATI 128 pro

chronos
12-10-2003, 06:35 PM
2.4 GHz Pentium 4, Radeon 9500 Pro

@ 32bpp:

Diff = 2441
Flips per second = 409

@ 16 bpp:

Diff = 1244
Flips per second = 803

chronos
12-10-2003, 07:53 PM
By the way, I've noticed a certain degree of variability in the numbers reported. I've seen anywhere between 380-something to 420-something flips per second while at 32 bpp. I'm not sure about the pattern, but often the first time I run the program it reports a lower number than when I run it a bunch of times.

sordith
12-11-2003, 02:59 AM
Diff = 5560
Flips per second = 179

Pretty nasty compaired to some of the other numbers posted.
P4 2.4GHz, 1gig ram, GeForce4 MX 440, at 32bit

Justiciar
12-11-2003, 03:47 AM
NVidia GeForce2 Pro (32 MB)
Athlon 1ghz
256 MB RAM

32 bit:
diff: 12130
flips: 82

16 bit:
diff: 6520
flips: 153

Trixx
12-11-2003, 01:47 PM
Diff: 7816
Flips: 127
( 32 bit )

P3/1000, GF GTS, 512 MB , Win XP