Re: [Mesa-dev] Performance glxSwapBuffers 32 bit vs. 64 bit

2011-11-15 Thread Michel Dänzer
On Fre, 2011-11-11 at 21:25 +0100, Theiss, Ingo wrote: Am Freitag, 11. November 2011 14:53 CET, Brian Paul brian.e.p...@gmail.com schrieb: Ingo, if you could find out what the format/type parameters to glReadPixels are, we could look into some optimization in the state tracker. I

Re: [Mesa-dev] Performance glxSwapBuffers 32 bit vs. 64 bit

2011-11-11 Thread Michel Dänzer
On Fre, 2011-11-11 at 07:35 +0100, Mathias Fröhlich wrote: On Thursday, November 10, 2011 18:42:13 Michel Dänzer wrote: On Don, 2011-11-10 at 11:01 +0100, Theiss, Ingo wrote: The function calls of mesa/state_tracker/st_cb_readpixels.c:382 - st_readpixels and mesa/main/pack.c:552 -

Re: [Mesa-dev] Performance glxSwapBuffers 32 bit vs. 64 bit

2011-11-11 Thread Theiss, Ingo
Am Freitag, 11. November 2011 12:09 CET, Michel Dänzer mic...@daenzer.net schrieb: So It makes sense to find a glReadPixels in VirtualGL's glxSwapBuffers. Ah. I thought the time measurements in Ingo's original post were for the Mesa glXSwapBuffers, not the VirtualGL one. If it's the

Re: [Mesa-dev] Performance glxSwapBuffers 32 bit vs. 64 bit

2011-11-11 Thread Michel Dänzer
On Fre, 2011-11-11 at 14:15 +0100, Theiss, Ingo wrote: Am Freitag, 11. November 2011 12:09 CET, Michel Dänzer mic...@daenzer.net schrieb: So It makes sense to find a glReadPixels in VirtualGL's glxSwapBuffers. Ah. I thought the time measurements in Ingo's original post were for the

Re: [Mesa-dev] Performance glxSwapBuffers 32 bit vs. 64 bit

2011-11-11 Thread Brian Paul
2011/11/11 Michel Dänzer mic...@daenzer.net: Anyway, I guess there's room for optimization in glReadPixels... Ingo, if you could find out what the format/type parameters to glReadPixels are, we could look into some optimization in the state tracker. I wouldn't be surprised if there's some

Re: [Mesa-dev] Performance glxSwapBuffers 32 bit vs. 64 bit

2011-11-11 Thread Jose Fonseca
- Original Message - Am Freitag, 11. November 2011 14:33 CET, Michel Dänzer mic...@daenzer.net schrieb: On Fre, 2011-11-11 at 14:15 +0100, Theiss, Ingo wrote: Am Freitag, 11. November 2011 12:09 CET, Michel Dänzer mic...@daenzer.net schrieb: So It makes sense to

Re: [Mesa-dev] Performance glxSwapBuffers 32 bit vs. 64 bit

2011-11-11 Thread Michel Dänzer
On Fre, 2011-11-11 at 06:52 -0800, Jose Fonseca wrote: - Original Message - Am Freitag, 11. November 2011 14:33 CET, Michel Dänzer mic...@daenzer.net schrieb: On Fre, 2011-11-11 at 14:15 +0100, Theiss, Ingo wrote: Here are the compiler flags used.

Re: [Mesa-dev] Performance glxSwapBuffers 32 bit vs. 64 bit

2011-11-11 Thread Theiss, Ingo
Ok I have added -mfpmath=sse to the 32-bit CFLAGS and the readback performance increased from 30.44 Mpixels/sec to 48.92 Mpixel/sec. We are getting closer to the 64-bit performance. hmm. you should try -msse2 too. It's implied on 64bits, and I'm not sure if -march/-mfpmath=sse by

Re: [Mesa-dev] Performance glxSwapBuffers 32 bit vs. 64 bit

2011-11-11 Thread Theiss, Ingo
Am Freitag, 11. November 2011 14:53 CET, Brian Paul brian.e.p...@gmail.com schrieb: 2011/11/11 Michel Dänzer mic...@daenzer.net: Anyway, I guess there's room for optimization in glReadPixels... Ingo, if you could find out what the format/type parameters to glReadPixels are, we could

Re: [Mesa-dev] Performance glxSwapBuffers 32 bit vs. 64 bit

2011-11-10 Thread Theiss, Ingo
Hi Michel, thanks for the reply and your suggestions. It took me a while to figure out how to use and run oprofile but finally I was able to produce some hopefully useable output. The function calls of mesa/state_tracker/st_cb_readpixels.c:382 - st_readpixels and mesa/main/pack.c:552 -

Re: [Mesa-dev] Performance glxSwapBuffers 32 bit vs. 64 bit

2011-11-10 Thread Michel Dänzer
On Don, 2011-11-10 at 11:01 +0100, Theiss, Ingo wrote: The function calls of mesa/state_tracker/st_cb_readpixels.c:382 - st_readpixels and mesa/main/pack.c:552 - _mesa_pack_rgba_span_float clearly stands out when comparing the 32 bit and 64 bit profile. I'm afraid that's a red herring, as I

Re: [Mesa-dev] Performance glxSwapBuffers 32 bit vs. 64 bit

2011-11-10 Thread Mathias Fröhlich
Michael, On Thursday, November 10, 2011 18:42:13 Michel Dänzer wrote: On Don, 2011-11-10 at 11:01 +0100, Theiss, Ingo wrote: The function calls of mesa/state_tracker/st_cb_readpixels.c:382 - st_readpixels and mesa/main/pack.c:552 - _mesa_pack_rgba_span_float clearly stands out when

Re: [Mesa-dev] Performance glxSwapBuffers 32 bit vs. 64 bit

2011-11-07 Thread Michel Dänzer
On Fre, 2011-11-04 at 13:38 +0100, Theiss, Ingo wrote: I am using VirtualGL (http://www.virtualgl.org) for full 3D hardware accelerated remote OpenGL applications with latest mesa from git (compiled for both 32 bit and 64 bit) on my 64 bit Debian Wheezy box. When I run a 32 bit application

[Mesa-dev] Performance glxSwapBuffers 32 bit vs. 64 bit

2011-11-04 Thread Theiss, Ingo
Hi everyone, this is my first post to a mailing list here at freedesktop.org and I hope this is the right place for my question/problem. I am using VirtualGL (http://www.virtualgl.org) for full 3D hardware accelerated remote OpenGL applications with latest mesa from git (compiled for both 32