X compiled almost without error. glxinfo had some issues as seen below. But
my major concern is the shm performance on a gcc 3.0.2 (dri enabled) X.
This is before. X (cvs 4.1.99.1) is compiled with 2.95.4, so is the kernel
(linux 2.4.9-ac10). Using a Matrox G450 with full hardware accelleration.
16bpp @ 1280x1024.
240 reps @ 23.0818 msec ( 43.3/sec): ShmPutImage XY 500x500 square
This is after. X (cvs 4.1.99.1) is compiled with 3.0.2, so is the kernel
(linux 2.4.9-ac10). Again, using the same X configuration.
80 reps @ 71.0311 msec ( 14.1/sec): ShmPutImage XY 500x500 square
I think that's a pretty obvious difference. The only thing i changed with
the compiler flags was from -O2 -march=i686 -mcpu=i686 to -O3
-march=athlon -mcpu=athlon. Any pointers on what is causing this slowdown
(only seen in shm tests, the rest are quite a bit faster in gcc 3.x) would be
appreciated. Correct compiler flags for X and etc. Thanks.
This is the glxinfo error i got. (it compiled before in 2.95.4).
gcc -o glxinfo -O3 -march=athlon -mcpu=athlon -fno-strength-reduce -ansi
-pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wredundant-decls -Wnested-externs
-L../../exports/lib glxinfo.o -lGLU -lGL -lXext -lX11 -lpthread -lm
-Wl,-rpath-link,../../exports/lib
../../exports/lib/libGLU.so: undefined reference to `swap(void**, int, int)'
collect2: ld returned 1 exit status
make: *** [glxinfo] Error 1
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert