OT: solution for Beryl/Compiz on i945GM [try it]

sebosik at demax.sk sebosik at demax.sk
Wed Jul 18 14:57:21 UTC 2007

Hi all

I`ve played with compiz (and beryl) last week to solve issue regarding to
white window bug on intel 945GM graphics. I`ve found required patches,
applied them against xorg-server sources (from ports collection) and
VIOLA, everything works like a charm :-).

What you need are some patches:

download first three items from here:

GLcore patch location:

Cook recipe:
1, cd /usr/ports/x11-servers/xorg-server
2, make extract && make patch
3, apply downloaded patches against sources of xorg
  - cd work/xorg-server-1.2.0
  - apply all patches with: patch -p0 < /directory/location/filename.patch

4, make install clean (on my lappie it took about 2 minutes)
5, set in your ~/.xinitrc variable on first line: LIBGL_ALWAYS_INDIRECT=1
6, (as I`m KDE user) type "compiz gconf &" before startkde in .xinitrc

My .xinitrc looks like this:

## COMPIZ: window manager + window decorations
compiz gconf &
gtk-window-manager &
sleep 0.5

## KDE: fire up desktop

5, enjoy the ride (-:

Have a nice cubic day.

Jan Sebosik, Slovakia
sebosik at demax.sk

More information about the freebsd-x11 mailing list