Comment 31 for bug 303011

Revision history for this message
mrvanes (mrvanes) wrote :

I'm not sure if this is the same problem as I has but I recently stumbled on a dead-slow compiz after getting DRI2/UXA to work on my jaunty install using a intel 965 and xorg-edgers ppa.

I nailed to problem down to the compiz-wrapper (/usr/bin/compiz) not using -indirect-rendering when UXA/DRI2 is active and that is due to this test:

if [ $($GLXINFO 2>/dev/null | grep GLX_EXT_texture_from_pixmap -c) -gt 2 ]

With EXA/DRI this results in 2 occurrences of "GLX_EXT_texture_from pixmap" and so -indirect-rendering is used (correct, or at least VERY fast). With UXA/DRI2 this test finds 3 occurrences and thus disables -indirect-rendering. Without -indirect-rendering compiz is dead-slow on my intel 965 (with UXA) so either something is wrong with the driver (and the wrapper is correct) or the wrapper test is wrong (for UXA/DRI2) and should be changed to cover DRI2/UXA and -indirect-rendering correctly.

If this totally unrelated, I'm sorry... should I file a different bug concerning dead-slow compiz using DRI2?