Hasn't DRI2 Swap & Sync already been done a few days ago and you just need a new drm-testing kernel and a new DDX or so? I mean when you're testing r300g, chances are you want the other parts to be bleeding edge also.
Compiz is working now on my RS480 (or is it RC410?) + gallium, but when I activated the water plugin to compare FPS, it couldn't render properly. A little more progress before it can go, I guess.
There were problems initially mainly with mesa classic(blackscreen, hangs, xorg,module reloads and even reboots were needed), but its mostly fixed now(sometimes xorg crashesh when moving aroung mesa classic window, but its not critical for me), and it doesnt cause blackscreen with dynpm now(it damny rulez).
I am using r500/T60p, ddx/mesa master and d-r-t and wmaker(but tested compiz and it generally worked with pageflip/dynpm). So maybe add some conditionals around your glFinish commit for pageflip.
I don't usually use drm-radeon-testing, it's too bleeding-edge for me. When I develop, I need to be sure that if there is a new regression, it's caused by me and not by some other part of the system. Otherwise Ḯ would be wasting my time trying to figure out what's wrong with my code.
Also, before disabling the glFinish code, I need to be sure that DRI2 Swap&Sync does fix the input lag Axiom (and me) noticed. The current behavior of glFinish *is* the correct one, and games shouldn't use it at all because it's known to be a performance killer and it's discouraged by every (serious) GPU vendor out there. The well-written games don't use it.
I am running stock Ubuntu Lucid + edgers PPA.
I wanted to try the new gallium driver, so I installed the libgl1-mesa-dri-gallium package following instuctions from the PPA.
But even after reboot, it seem that the gallium driver is not used.
Kernel: 2.6.32-22-generic (distribution default kernel)
My GK: Mobility Radeon X2300 (RV515)
Relevant part of glxinfo:
If I am not mistaken, there should be R300g for gallium and OpenGL 2.1 ?Code:OpenGL vendor string: DRI R300 Project OpenGL renderer string: Mesa DRI R300 (RV515 718A) 20090101 x86/MMX/SSE2 TCL DRI2 OpenGL version string: 1.5 Mesa 7.9-devel
Any pointers what could be wrong ?