Howto Install xorg-aiglx + compiz (packages)
All packages as based on Kristian Høgsberg fixes, forums compiz packages and official packages.
They provide to get compiz run on aiglx.
I'm running it on my i915 laptop, and the performance is actually quite impressive. For those people using NVidia should continue to use Xgl server. compiz-aiglx don't work on this card !
1. Download packages
aiglx :
First you should add reggaemenu compiz repository in you source.list
Code:
deb http://xgl.compiz.info/ dapper aiglx
deb http://xgl.compiz.info/ dapper main
and update all deb
Code:
sudo apt-get update
sudo apt-get dist-upgrade
you should install latest dri modules packages :
Code:
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, start this command to regenerate modules.dep :
Code:
sudo /sbin/ldm-manager
compiz:
compiz aiglx are now partially official, compiz-vanilla or compiz-quinn packages work now on xorg-aiglx. All compiz-aiglx packages are now deprecated, well first uninstall all compiz-aiglx packages
Code:
sudo aptitude purge compiz-aiglx compiz-aiglx-gnome
Code:
sudo apt-get install compiz-vanilla-aiglx compiz-vanilla compiz-vanilla-gnome
Code:
sudo apt-get install compiz-quinn-aiglx compiz compiz-gnome
2. Configure Xorg
Good news you can rework in 24 depth mode
Edit your Screen section and modify your DefaultDepth
Quote:
DefaultDepth 24 |
Warning this options are necessary !
first activate dri,dbe, glx and all necessary modules like this :
Quote:
Section "Module" # Load "GLcore" Load "bitmap" Load "ddc" Load "dbe" Load "dri" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "type1" Load "vbe" EndSection |
add Option "XAANoOffscreenPixmaps" and remove all other option in device section like this :
Quote:
Section "Device" Identifier "Intel Corporation Intel Default Card" Driver "i810" Option "XAANoOffscreenPixmaps" BusID "PCI:0:2:0" EndSection |
add AIGLX option in your ServerLayout section like this :
Quote:
Section "ServerLayout" Option "AIGLX" "true" Identifier "Default Layout" Screen "Default Screen" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "Synaptics Touchpad" EndSection |
uncomment all dri section
Quote:
Section "DRI" Mode 0666 EndSection |
and you must have:
Quote:
Section "Extensions" Option "Composite" "Enable" EndSection |
3. Configure gdm
Create or modify /etc/gdm/gdm.conf-custom to change your xorg server like this:
Quote:
[servers] 0=aiglx [server-aiglx] name=aiglx server command=/usr/bin/Xorg-air :0 flexible=true |
and restart gdm
Quote:
sudo /etc/init.d/gdm restart |
4. Compiz-aiglx start script
the compiz-aiglx start script is now in package and automatically started on all gnome session startup. If you have some trouble with it you can remove compiz-aiglx.desktop file in /etc/xdg/autostart.
5. Fix totem playback
To have an optimised video playing on xorg-aiglx :
-> if you have totem-gstreamer :
launch gstreamer-properties and select on default video playback "XWindow (NoXv)" in video tab.
-> if you have totem-xine :
edit ~/.gnome2/totem_config and replace this line :
Quote:
#video.driver:auto |
Quote:
video.drivershm |
Have fun
No comments:
Post a Comment