Installing and configure Compiz Fusion
Setting up GDM
What we are going to do first is sync portage and the overlays to make sure that we have the latest GDM available to us.
emerge --sync && layman -s sabayon
Then emerge gdm by doing
emerge -va gdm
Then backup your gdm.conf and your custom.conf by doing this:
cp /usr/share/gdm/defaults.conf /usr/share/gdm/defaults.conf.bak cp /etc/X11/gdm/custom.conf /etc/X11/gdm/custom.conf.bak
Then browse to /etc/conf.d/xdm and change:
Also as a precaution check /etc/rc.conf and make sure that it says something like this:
DISPLAYMANAGER has moved to /etc/conf.d/xdm
Now we move into the actual phase of configuring it to use XGL.
- Run gdmsetup
- Select the Security tab
- Click the Configure X Server button found at the bottom right of the tab
We will first delete all available entry's for the X server. Don't call me crazy. They'll be replaced.
- Click on the Standard Server that appears in the "Servers to Start" list.
- Click on the remove button. Goodbye X.
Now we replace that with a new X server.
- Click the Add/Modify button.
- Set the new server to use VT:1 for nVidia users or VT:0 for ATI users.
- Do not add any thing else. Click ok when done.
- Name the server Xgl.
- In the command line add this:
/usr/bin/Xgl -br -ac -accel glx:pbuffer -accel xvfor nVidia users or
/usr/bin/Xgl :0 -ac -accel glx:pbuffer -accel xv:pbufferfor ATI users.
Follow said wiki: HOWTO:_Latest_Compiz-Fusion
- The one and only resource: http://gentoo-wiki.com/HOWTO_XGL#Configuring_GDM_to_Use_the_Xgl_Server
--Element 11:21, 29 July 2007 (PDT)