Xlib stuff

Pierre Phaneuf wrote:


P200MMX + Voodoo Banshee PCI
640x480x32 fillrect: 5213000
640x480x16 fillrect: 2418000
640x480x8 fillrect: 4639000

640x480x32 bitblt: 584000
640x480x16 bitblt: 583000
640x480x8 bitblt: 629000

640x480x32 sysblt: 51000
640x480x16 sysblt: 52000
640x480x8 sysblt: 51000


P-II 450 + Diamond Viper 550 AGP
640x480x32 fillrect: 1165000
640x480x16 fillrect: 1192000
640x480x8 fillrect: 1115000

640x480x32 bitblt: 603000

640x480x16 sysblt: 99000


P-III 450 + Diamond Viper 770 AGP
640x480x32 bitblt: 836000
640x480x16 bitblt: 865000

640x480x32 sysblt: 93000

Note how the P200MMX fillrect numbers are better than those of the
better performing computers, and how the bitblt is in the same range for
the Viper 550 and the Banshee.

If we could put a Diamond Viper 770 into my 486, we’d probably see very
close bitblt numbers. But now, my Pentium 225 is giving me closer to
30,000 for that operation than from 800,000.

Anybody can see a 2500% difference in performance, right?–
Pierre Phaneuf
Ludus Design, http://ludusdesign.com/
“First they ignore you. Then they laugh at you.
Then they fight you. Then you win.” – Gandhi

Pierre Phaneuf wrote:

hayward at slothmud.org wrote:

G200/K6-3 400/128MB ram
Here’s what I get from your test program, Pierre:

Could people with dual-boot system test this one, with similar settings
to what they have in Linux?

The options are the following:

-800 set size to 800x600
-1024 set size to 1024x768
-1280 set size to 1280x1024
-1600 set size to 1600x1200
-full fullscreen mode
-rect fill rectangle instead of blitting
-8 8 bpp
-16 16 bpp
-32 32 bpp
-system use system memory instead of video memory

Maybe a similar benchmark done in SDL would be best. It would enable
testing the performance of SDL itself on different platforms.

Also, here are few numbers gathered (the numbers are bytes per second)
from a few different machines (my best Xlib blitting test does around
30000). bitblt is video to video blitting (similar to what a pixmap to
window XCopyArea should be able to do in the best cases) and sysblt is
system to video blitting (the equivalent of a XShmPutImage and what most
pixmap to window XCopyArea should be able to do).


P200MMX + Voodoo Banshee PCI
640x480x32 fillrect: 5213000
640x480x16 fillrect: 2418000
640x480x8 fillrect: 4639000

640x480x32 bitblt: 584000
640x480x16 bitblt: 583000
640x480x8 bitblt: 629000

640x480x32 sysblt: 51000
640x480x16 sysblt: 52000
640x480x8 sysblt: 51000


P-II 450 + Diamond Viper 550 AGP
640x480x32 fillrect: 1165000
640x480x16 fillrect: 1192000
640x480x8 fillrect: 1115000

640x480x32 bitblt: 603000

640x480x16 sysblt: 99000


P-III 450 + Diamond Viper 770 AGP
640x480x32 bitblt: 836000
640x480x16 bitblt: 865000

640x480x32 sysblt: 93000


Pierre Phaneuf
Ludus Design, http://ludusdesign.com/
“First they ignore you. Then they laugh at you.
Then they fight you. Then you win.” – Gandhi


               Name: testblit.exe

testblit.exe Type: unspecified type (application/octet-stream)
Encoding: base64

I was told that this message has been rejected by the news2mail gateway,
so here is a link to the testblit.exe:

http://www3.sympatico.ca/pphaneuf/testblit.exe

Thanks!–
Pierre Phaneuf
Ludus Design, http://ludusdesign.com/
“First they ignore you. Then they laugh at you.
Then they fight you. Then you win.” – Gandhi