Ubuntu Edgy Installation Guide: Difference between revisions

From cchtml.com
No edit summary
Line 63: Line 63:


<pre>sudo apt-get install --reinstall libgl1-mesa</pre>
<pre>sudo apt-get install --reinstall libgl1-mesa</pre>
=== nForce 3 AGP Issues ===
For nForce3 based motherboards: if the install seems to go well, but fglrx still fails and $ fglrxinfo tells you you're still running Mesa, there may be a problem with the nVidia AGP-PCI Bridge module's compatibility with your BIOS (or vice versa, I haven't yet investigated). (Confirmed at least for ASUS K8N-E Deluxe.) A solution is to downgrade your BIOS to a previous version (see your motherboard manual/manufacturer's website for instructions). Here is a list of compatible BIOS versions (if your model is not listed here and you find a version that fixes the problem, please add it to the list so others can benefit):
*ASUS
**K8N-E Deluxe: Version 1006
(If a non-noob could update this section with better info I'd be very grateful. :))


==See Also==
==See Also==

Revision as of 06:46, 29 December 2006

The latest fglrx driver supports Radeon 9500+ and the X-series cards up to X1900.

Pre-Installation Checks

Enable "restricted" Repository

Make sure the restricted repository is enabled in /etc/apt/sources.list or this guide will not work!

Disable Composite Extension

In Ubuntu Edgy the Composite extension is enabled by default, however, fglrx does not yet support Composite with DRI. In order to disable Composite you have to edit the xorg.conf file:

sudo gedit /etc/X11/xorg.conf

and add these lines at the end of the file:

File: /etc/X11/xorg.conf
Section "Extensions"
        Option  "Composite" "Disable"
EndSection
  • Note: Xubuntu does not have gedit. The default text editor in Xubuntu is called mousepad.
  • Note: Kubuntu does not have gedit. The default text editor in Kubuntu is called Kate. Another option is to use nano.

Installation

Install the Driver

sudo apt-get update
sudo apt-get install linux-restricted-modules-$(uname -r) #Okay if it is already installed
sudo apt-get install xorg-driver-fglrx
sudo depmod -a

Configure the Driver

sudo aticonfig --initial
sudo aticonfig --overlay-type=Xv
  • Note: An alternative to the aticonfig --initial command is to edit /etc/X11/xorg.conf and replace the string "ati" with "fglrx" in the "Device" section. This way you won't lose your old "Screen" and "Monitor" settings. Afterwards you can use aticonfig for setting overlay etc.
sudo aticonfig --overlay-type=Xv

Finish the Installation

Now Reboot your system:

sudo shutdown -r now
  • Note: An alternative to rebooting is to restart the X Server by pressing your CTRL+ALT+BACKSPACE keys. You must remove any old kernel modules such as "drm" "radeon" or "fglrx".

Post-Installation Checks

Verifying

Run the following command to check its output to insure the fglrx driver is installed properly:

$fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9600 Generic
OpenGL version string: 2.0.6011 (8.28.8)

Ubuntu-specific Issues

Revert to Xorg driver

If (for any reason) the fglrx install fails, you can revert to the Xorg driver by executing

sudo dpkg-reconfigure xserver-xorg

and selecting the "ati" driver, or simply restoring the previous /etc/X11/xorg.conf file, if you made a backup.

You also need to remove the xorg-driver-fglrx or your manually installed drivers to get the 3D acceleration back, since it is provided by file /usr/lib/libGL.so.1.2 which belongs to libgl1-mesa package and which is moved to backup and replaced at the installation of xorg-driver-fglrx (or the manually built) package. In case the removal of the fglrx drivers fails to restore the file from libgl1-mesa, you have to reinstall the package by running:

sudo apt-get install --reinstall libgl1-mesa

nForce 3 AGP Issues

For nForce3 based motherboards: if the install seems to go well, but fglrx still fails and $ fglrxinfo tells you you're still running Mesa, there may be a problem with the nVidia AGP-PCI Bridge module's compatibility with your BIOS (or vice versa, I haven't yet investigated). (Confirmed at least for ASUS K8N-E Deluxe.) A solution is to downgrade your BIOS to a previous version (see your motherboard manual/manufacturer's website for instructions). Here is a list of compatible BIOS versions (if your model is not listed here and you find a version that fixes the problem, please add it to the list so others can benefit):

  • ASUS
    • K8N-E Deluxe: Version 1006

(If a non-noob could update this section with better info I'd be very grateful. :))

See Also