hi all
i encountered an issue with gem-performance on linux, at least on my ubuntu-system with fglrx-drivers. it seemed to me that when doing some stuff with gem, it takes more cpu than one would expect according to the measurements of fgl_glxgears. of course this is not a serious way of doing a comparison. that is, why i made a (attached) patch, that does exactly the same thing twice, on the left side using gem, on the right side using 3dp. on my computer, the gem-side uses about 30%, which seems a lot for such a simple patch, whereas with 3dp no additional cpu-load is recognizable. also, i don't have any performance problems with gem on windows (the same patch uses 10x less cpu on windows than on ubuntu).
the specs: ubuntu dapper xorg 7.0.0 with fglrx-driver pd-0.40.0 gem: cvs-checkout from 2 months ago
(i am not able to compile it right now:
... g++ -c -g -O2 -fPIC -freg-struct-return -O3 -falign-loops=16 -funroll-loops -ffast-math -mmmx -I/usr/include/ffmpeg -I/usr/include/lqt -I/usr/include/lqt -I/usr/include/avifile-0.7 -I/usr/include/freetype2 -I.. -I/usr/include/FTGL -I/usr/include/freetype2 GemEvent.cpp -o GemEvent.o /usr/local/include/GL/glext.h:3129: error: âuintâ has not been declared /usr/local/include/GL/glext.h:3323: error: âbooleanâ has not been declared /usr/local/include/GL/glext.h:3337: error: expected initializer before âexternâ make[1]: *** [GemBase.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/home/roman/pd-cvs/gridflow-0.8.4/Gem/src/Base' make: *** [Base] Error 2
)
i have no clue, if: -it is an issue of gem -it is an issue of fglrx (though it works fine with 3dp) -i just should live with that. -more info is needed to track this down.
any hints appreciated.
cheers roman