Wednesday, February 28, 2007

Install Eye Candy (nVidia)

  • Preparation
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
sudo gedit /etc/X11/xorg.conf
  • Find this section
Section "Module"
Load "i2c"
Load "bitmap"
...
Load "type1"
Load "vbe"
EndSection
  • Comment out dri and GLcore (if present)

Trouble

# Load "dri"
# Load "GLcore"
  • Make sure the glx module is loaded
 Load "glx"
  • Find this section (your values may vary)
Section "Device"
Identifier "NVIDIA Corporation NV34M [GeForce FX Go5200]"
Driver "nv"
BusID "PCI:1:0:0"
EndSection
  • Replace with the following lines, leaving the Identifier and BusID as it is
Section "Device"
...
Driver "nvidia"
...
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
EndSection
  • Find this section
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV34M [GeForce FX Go5200]"
Monitor "Generic Monitor"
DefaultDepth 16
  • Make sure DefaultDepth is set to 24, if it isn't already
 DefaultDepth 24
  • Save the edited file
  • Install Xgl + Compiz
sudo cp /etc/gdm/gdm.conf-custom /etc/gdm/gdm.conf-custom-backup
sudo gedit /etc/gdm/gdm.conf-custom
  • Scroll to the bottom of the file and replace "servers" section with the following lines, then save the file.
[servers]# Override display 1 to use Xgl
0=Xgl

[server-Xgl]
name=Xgl server
command=/usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:fbo
flexible=true
  • Edit your sources.list (sudo gedit /etc/apt/sources.list) and add the following line to the bottom:
deb http://gandalfn.club.fr/ubuntu edgy dev
  • Save the file. You must also download the gpg key by running the following command:
gpg --keyserver hkp://wwwkeys.eu.pgp.net --recv-keys 0x483170E9 ; gpg --export -a 0x483170E9 | sudo apt-key add -
  • After doing the above you must update apt-get:
sudo apt-get update
sudo apt-get dist-upgrade
  • Now install all necessary packages:
sudo apt-get install compiz compiz-plugins gnome-compiz-manager xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1
  • To start Compiz you can type the following into a terminal:
compiz-tray-icon
  • You should then see a Compiz icon on your gnome panel. Right click on it and select "GL Desktop".You may also want to add this command to your session start-up programs list.
  • Another useful utility is Compiz Settings Manager.Download from http://www.go-compiz.org/index.php?title=Compiz-Settings


  • Troubleshooting
    • If Xgl/Compiz doesn't seem to work, or you get errors, simply restart your machine. (Recommended)

No comments:

Your Ad Here