Sunday, December 02, 2007

Enable Video Acceleration on Linux

These are Debian/Ubuntu specific steps

  1. In your terminal, execute lspci -v and check for the manufacturer of your video card. You are likely to find either nvidia or ATI
  2. To install Nvidia drivers
    1. Check for your kernel version using uname -r which might return a output like 2.6.22-14-generic
    2. Install the restricted drivers package - sudo apt-get install linux-restricted-modules-2.6.22-14-generic
    3. Install nvidia-glx module - sudo apt-get install nvidia-glx
    4. Make a backup of /etc/X11/xorg.conf. Edit /etc/X11/xorg.conf and replace the string Driver "nv" with Driver "nvidia"
    5. Exit Gnome and you should see the nvidia Logo. See the difference in framerate!
  3. To install ATI drivers
    1. Install the fglrx driver - sudo apt-get install xorg-driver-fglrx
    2. Make a back up of /etc/X11/xorg.conf. Edit /etc/X11/xorg.conf and replace the string Driver "ati" with Driver "fglrx"
    3. If you want to install ATI's own driver, you might have to check their site for the procedure

No comments: