Difference between revisions of "Xgl"

From ThinkWiki
Jump to: navigation, search
m
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{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.  
 
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.  
  
Line 4: Line 6:
  
 
[http://www.freedesktop.org/wiki/Software/Xgl Freedesktop.org page]<br>
 
[http://www.freedesktop.org/wiki/Software/Xgl Freedesktop.org page]<br>
[http://en.opensuse.org/Xgl OpenSuSE page]<br>
 
 
[http://en.opensuse.org/Xgl OpenSuSE page]<br>
 
[http://en.opensuse.org/Xgl OpenSuSE page]<br>
 
[http://gentoo-wiki.com/HOWTO_XGL Gentoo Xgl HowTo]<br>
 
[http://gentoo-wiki.com/HOWTO_XGL Gentoo Xgl HowTo]<br>
Line 58: Line 59:
  
  
<nowiki>#</nowiki>Load "GLcore"
+
<pre>
 
+
#Load "GLcore"
 +
Load "GLcore"
 
Load "bitmap"
 
Load "bitmap"
 
 
Load "ddc"
 
Load "ddc"
 
 
Load "dbe"
 
Load "dbe"
 
 
Load "dri"
 
Load "dri"
 
 
Load "extmod"
 
Load "extmod"
 
 
Load "freetype"
 
Load "freetype"
 
 
Load "glx"
 
Load "glx"
 
 
Load "int10"
 
Load "int10"
 
 
Load "type1"
 
Load "type1"
 
 
Load "vbe"
 
Load "vbe"
 
 
EndSection
 
EndSection
  
 
+
#XGL: remove all other option in device section:
<nowiki>#</nowiki>XGL: remove all other option in device section:
 
 
 
 
Section "Device"
 
Section "Device"
 
 
Identifier "Intel Corporation Intel Default Card"
 
Identifier "Intel Corporation Intel Default Card"
 
 
Driver "i810"
 
Driver "i810"
 
 
Option "XAANoOffscreenPixmaps"
 
Option "XAANoOffscreenPixmaps"
 
 
BusID "PCI:0:2:0"
 
BusID "PCI:0:2:0"
 
 
EndSection
 
EndSection
 
 
  
 
Section "ServerLayout"
 
Section "ServerLayout"
 
 
Option "AIGLX" "true"
 
Option "AIGLX" "true"
 
 
Identifier "Default Layout"
 
Identifier "Default Layout"
 
 
Screen "Default Screen"
 
Screen "Default Screen"
 
 
InputDevice "Generic Keyboard"
 
InputDevice "Generic Keyboard"
 
 
InputDevice "Configured Mouse"
 
InputDevice "Configured Mouse"
 
 
InputDevice "Synaptics Touchpad"
 
InputDevice "Synaptics Touchpad"
 
 
EndSection
 
EndSection
 
  
 
Section "DRI"
 
Section "DRI"
 
 
Mode 0666
 
Mode 0666
 
 
EndSection
 
EndSection
 
  
  
 
Section "Extensions"
 
Section "Extensions"
 
 
Option "Composite" "Enable"
 
Option "Composite" "Enable"
 
 
EndSection
 
EndSection
 
+
</pre>
 
 
<end of xorg.conf>
 
 
 
  
 
6. Create or modify /etc/gdm/gdm.conf-custom to change your xorg server like this:
 
6. Create or modify /etc/gdm/gdm.conf-custom to change your xorg server like this:
  
 +
<pre>
 
[servers]
 
[servers]
 
 
0=aiglx
 
0=aiglx
 
 
[server-aiglx]
 
[server-aiglx]
 
 
name=aiglx server
 
name=aiglx server
 
command=/usr/bin/Xorg-air :0
 
command=/usr/bin/Xorg-air :0
 
flexible=true
 
flexible=true
 
+
</pre>
<end of gdm.conf-custom>
 
  
  
Line 154: Line 118:
  
 
and choose XGL from the session menu :)
 
and choose XGL from the session menu :)
 
 
  
  
 
This Howto is known to work on:
 
This Howto is known to work on:
 
* R50e with Intel Integrated Graphics Controller 855GE
 
* R50e with Intel Integrated Graphics Controller 855GE
 +
 +
== See also ==
 +
* [[AIGLX]]
 +
* [http://en.wikipedia.org/wiki/Xgl Xgl] at Wikipedia

Latest revision as of 11:51, 28 January 2007

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