X11perf - was Re: sdl vs qt: scrolling

“G.Gabriele” wrote:

Should I trash my PC ? :slight_smile:

everybody should

You’re right :slight_smile:

4000 trep @ 7.6422 msec ( 131.0/sec): ShmPutImage 500x500 square

you must tell us what screen depth you used for this to mean anything.
If it’s 16bpp, then your update runs at about 5005002131.0 = 65 MB/s,
which is moderately impressive but not entirely worthless. It would also
mean that for a 800x600 screen size you could expect one update to
consume 7.6422 * (800
600) / (500 * 500) == 14.67 ms, or 68/s

These sort of estimates are useful to see how much time you have to play
with for each frame and what frame rates you can expect to achieve
under X11

Yup 1024x768x16 on a p2 300 . I can consider myself happy with that
result.

You should, I got a peasly:

Sync time adjustment is 0.1631 msecs.

280 reps @  20.6720 msec (    48.4/sec): ShmPutImage 500x500 square
280 reps @  20.6727 msec (    48.4/sec): ShmPutImage 500x500 square
280 reps @  20.6969 msec (    48.3/sec): ShmPutImage 500x500 square
280 reps @  20.6845 msec (    48.3/sec): ShmPutImage 500x500 square
280 reps @  20.6931 msec (    48.3/sec): ShmPutImage 500x500 square

1400 trep @ 20.6838 msec ( 48.3/sec): ShmPutImage 500x500 square

on my AMD 400mhz with an ATI card at the same depth. It appears to have
taken mine almost 3 times longer to do almost 3 times less work. :frowning:
Are there any tricks to speeding X11 up that I am unaware of?> On 15 May 2001 11:57:08 +0200, Mattias Engdegard wrote:

Sync time adjustment is 0.1631 msecs.

280 reps @  20.6720 msec (    48.4/sec): ShmPutImage 500x500 square
280 reps @  20.6727 msec (    48.4/sec): ShmPutImage 500x500 square
280 reps @  20.6969 msec (    48.3/sec): ShmPutImage 500x500 square
280 reps @  20.6845 msec (    48.3/sec): ShmPutImage 500x500 square
280 reps @  20.6931 msec (    48.3/sec): ShmPutImage 500x500 square

1400 trep @ 20.6838 msec ( 48.3/sec): ShmPutImage 500x500 square

on my AMD 400mhz with an ATI card at the same depth. It appears to have
taken mine almost 3 times longer to do almost 3 times less work. :frowning:

You aren’t alone : 2 times slower, with a K6 at 200MHz + Matrox
Millenium/XFree4.0.1 @ 102476816bits

Sync time adjustment is 0.3608 msecs.

400 reps @  13.3818 msec (    74.7/sec): ShmPutImage 500x500 square
400 reps @  13.3507 msec (    74.9/sec): ShmPutImage 500x500 square
400 reps @  13.3518 msec (    74.9/sec): ShmPutImage 500x500 square
400 reps @  13.4028 msec (    74.6/sec): ShmPutImage 500x500 square
400 reps @  13.3691 msec (    74.8/sec): ShmPutImage 500x500 square

2000 trep @ 13.3712 msec ( 74.8/sec): ShmPutImage 500x500 square

Tof