Xgl

From ThinkWiki
Revision as of 10:51, 28 January 2007 by Torh (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
FIXME
This article requires a cleanup: reorg, intro, separation of distro-specific info.

Given the overwhelming interest in the two latest eye candy offerings for Linux and their dependence on the underlying hardware, I thought it would make sense to start pages for them. If it needs to be moved, recategorized, or even deleted - have at it.

In the meantime, some links of interest for those wishing to install Xgl:

Freedesktop.org page
OpenSuSE page
Gentoo Xgl HowTo
Ubuntu Xgl HowTo

For those of you on x40's, it apparently is possible to get Xgl running:


Xgl HowTo x40

Thus far, I've had no success:

Gentoo forum thread on x40/Xgl/AIGLX

How to install XGL on Ubuntu Dapper

The source of this guide is http://ubuntuforums.org/showthread.php?t=145068. Check for updates and update here if neccecery. Original guide by "gandalfn" from ubuntuforums.

1. Add this to your sources.list:

deb http://xgl.compiz.info/ dapper aiglx

deb http://xgl.compiz.info/ dapper main


2. Update your repositories by running:

sudo apt-get update

sudo apt-get dist-upgrade


3. Install latest dri modules packages by running:

sudo apt-get install linux-dri-modules-common linux-dri-modules-`uname -r`

[if after a linux-restricted-modules or linux-image update you have some troubles, run "sudo /sbin/ldm-manager" to regenerate modules.dep]


4. Install Compiz:

compiz aiglx are now partially official, compiz-vanilla packages work now on xorg-aiglx. All compiz-aiglx packages are now deprecated, well first uninstall all compiz-aiglx packages:

sudo aptitude purge compiz-aiglx compiz-aiglx-gnome

sudo apt-get install compiz-vanilla-aiglx compiz-vanilla compiz-vanilla-gnome


5. Configure Xorg:

update /etc/X11/xorg.conf with:

Section "Module"


#Load "GLcore"
Load "GLcore"
Load "bitmap"
Load "ddc"
Load "dbe"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

#XGL: remove all other option in device section:
Section "Device"
Identifier "Intel Corporation Intel Default Card"
Driver "i810"
Option "XAANoOffscreenPixmaps"
BusID "PCI:0:2:0"
EndSection

Section "ServerLayout"
Option "AIGLX" "true"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection

Section "DRI"
Mode 0666
EndSection


Section "Extensions"
Option "Composite" "Enable"
EndSection

6. Create or modify /etc/gdm/gdm.conf-custom to change your xorg server like this:

[servers]
0=aiglx
[server-aiglx]
name=aiglx server
command=/usr/bin/Xorg-air :0
flexible=true


7. Restart GDM:

sudo /etc/init.d/gdm restart

and choose XGL from the session menu :)


This Howto is known to work on:

  • R50e with Intel Integrated Graphics Controller 855GE

See also