If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

To me, there is a big difference in performance with --enable-debug, so big that I can't even use the flag for development. I supply my own gcc flags through the CFLAGS environment variable if I want some level of debugging with all gcc optimizations enabled.

I just tried manually compiling mesa now (I make sure to do a make clean before every compilation and verify the -O flag and -DEBUG printed at the end of configure match what expected), this is what I get:

with --enable-debug + patch to revert -O0 and get -O2 -> 58.5 fps

without --enable-debug 60.1 fps

It's not a big difference here, I also only did 2 run to be sure with similar result (and you may notice the fps near to ~60 but I used vblank_mode=0). Strangely, however, it's a little slower than my yesterday run (~74 fps). On which app do you see the bigger difference?

I just tried manually compiling mesa now (I make sure to do a make clean before every compilation and verify the -O flag and -DEBUG printed at the end of configure match what expected), this is what I get:

with --enable-debug + patch to revert -O0 and get -O2 -> 58.5 fps

without --enable-debug 60.1 fps

It's not a big difference here, I also only did 2 run to be sure with similar result (and you may notice the fps near to ~60 but I used vblank_mode=0). Strangely, however, it's a little slower than my yesterday run (~74 fps). On which app do you see the bigger difference?

I noticed with r600g (radeon 5850) that MSAA performance was rather slow (~20fps) when I have my OpenGL window fullscreened, as opposed to just maximizing the window (which is only slightly smaller than fullscreen) which would give me 100+ fps. This was under XFCE with no compositing, swapbufferswait off, and vblank_mode=(whatever it was that disables vsync). Maybe that's the same (or a related) issue here with the odd MSAA numbers for r300g?