[compiz] compiz on aiglx redux
David Reveman
davidr at novell.com
Mon Jul 3 13:58:19 PDT 2006
On Tue, 2006-06-27 at 16:47 -0400, Kristian Høgsberg wrote:
> Hi,
>
> I've revisited compiz on aiglx and at this point, if you're running
> rawhide (fedora development), it's a matter of installing the i386 RPM
> found here:
>
> http://people.redhat.com/krh/compiz/
>
> There's a SRPM there too for other architectures, rebuild using
>
> rpmbuild --rebuild compiz-0.0.13.fedora1-3.src.rpm
>
> To run compiz, first start the gnome-window-decorator process in the
> background, then run compiz as
>
> compiz --replace gconf
>
> I have an FC5 repository for those who want to try it out on FC5, but
> I need to dust it off and actually rebuild the relevant packages
> there. I'll send out an update later this week once that's done.
>
> To make this work, we're carrying a few patches in the rawhide X
> server and Mesa RPMs. All patches, including compiz patches, Mesa 6.5
> and xserver 1.1.0 are available here:
>
> http://people.freedesktop.org/~krh/compiz-on-aiglx/
>
> All the mesa patches are already in CVS so it should be possible to
> run it against an unpatched CVS snapshot. Of the X server patches the
> convolution filter is comitted on git head, and I'll commit the
> tfp_damage optimization soon, but the gl_include_inferiors hack is not
> going to be committed. Ideally, compiz will use the composite overlay
> window at some point, but I don't what David's take is on that. So
> for now I've added a hack to let compiz tell the X server to not clip
> GL rendering against the root window.
I'll add overlay window support sometime soon. The problem with this is
that Xgl can't guarantee that GL drawing to an overlay window is
accelerated.
>
> The compiz patches are a mix of fedora branding, workarounds for
> Xgl/aiglx differences and a couple of features/bug fixes.
> Specifically, I think the composite-cube-logo, fbconfig-depth-fix and
> new-cm-selection patches are ready for compiz upstream.
I'm not sure I understand the composite-cube-logo patch. It needs a
check for screen->textureEnvCombine anyway. If you want to just blend
the image on the top of the cube I suggest that you do that by first
drawing a solid color and then blending the image to avoid multiple code
paths.
fbconfig-depth-fix and new-cm-selection patches looks OK.
-David
More information about the xorg
mailing list