[compiz] Re: ss->translate > 0.001f makes my compiz working slow

David Reveman davidr at novell.com
Fri Jun 9 05:46:32 PDT 2006


On Fri, 2006-06-09 at 06:20 +0400, Denis F. Latypoff wrote:
> >On Fri, 2006-06-09 at 05:52 +0400, "Денис Латыпов" wrote:
> >> >On Fri, 2006-06-09 at 05:25 +0400, "Денис Латыпов" wrote:
> >> >> plugin/switcher.c:1290: if (ss->grabIndex || (ss->zooming && ss->translate > 0.001f))
> >> >> that line you have added 2006-06-06 and this made my compiz extremely slow.
> >> >> I am changing it back to `if (ss->grabIndex || ss->zooming)' after every cvs update and it makes compiz working propely.
> >> >> FreeBSD 6.1, ATI Mobility Radeon M7 LW [Mobility Raden 7500], driver "radeon"
> >> >
> >> >That's because your driver is missing support for
> >> >GLX_MESA_copy_sub_buffer. I've added support for
> >> >GLX_MESA_copy_sub_buffer to all radeon drivers in Mesa. Get an updated
> >> >driver and performance should be much better than when you remove
> >> >"ss->translate > 0.001f".
> >> >
> >> >-David
> >> >
> >> 
> >> [denis at denis ~]$ glxinfo | grep GLX_MESA_copy_sub_buffer
> >>     GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
> >> [denis at denis ~]$
> >> 
> >> Did you exactly mead that?
> >
> >Yes, are you running CVS version of Xgl?
> >
> >-David
> >
> Of course! Also, I am using drm (HEAD), proto (HEAD), Mesa (HEAD), xserver/xorg (xgl-0-0-1), app/compiz (HEAD) and glitz (HEAD) from cvs

OK, I don't know what could be wrong. Make sure compiz is linked to a
libGL with GLX_MESA_copy_sub_buffer support. Changing so every screen
update is fullscreen (what removing  "ss->translate > 0.001f" will do)
is definitely not the correct solution.

-David



More information about the compiz mailing list