Instructions for 6.10 (Edgy)
Download what's needed:
Download the appropiate drivers from ati.amd.com. You will need the ATI Driver Installer, not the separate XFree86/X.org rpm packages. Save the installer into an empty directory (or at least one containing no *.deb files), since it will create some new files.
Make sure the universe section of the Ubuntu repositories is enabled (See the AddingRepositoriesHowto), and then run:
sudo aptitude install module-assistant build-essential debhelper debconf dh-make fakeroot libstdc++5 linux-headers-$(uname -r)
Disable Composite Extension:
In Ubuntu Edgy the Composite extension is enabled by default, however, fglrx does not yet support Composite with DRI. To disable Composite you must edit the /etc/X11/xorg.conf file, so add these lines at the end of xorg.conf:
Section "Extensions"
Option "Composite" "Disable"
EndSection
Blacklist old fglrx module from linux-restricted-modules
As ubuntu's linux-restricted-modules package includes the fglrx module from an old driver version (8.28.8), we have to blacklist this module to make sure the new kernel module which is needed by the new driver will be used instead.
gksudo gedit /etc/default/linux-restricted-modules-common
We need to add fglrx (only! don't remove anything!) to this:
DISABLED_MODULES="somemodule2 fglrx"
Next,
Perform the following commands (where <version> is the version number of the installer):
sudo ln -sf bash /bin/sh
bash ./ati-driver-installer-<version>.run --buildpkg Ubuntu/edgy
sudo ln -sf dash /bin/sh
You may need to wait a few mintues for this to complete.
This will create a number of .deb files in the current directory.
next,
sudo dpkg -i *.deb
next you build the kernel module - (also note, this has to be done every time you upgrade the kernel)
sudo module-assistant prepare,update
sudo module-assistant build,install fglrx-kernel (or module-assistant -f to force a rebuild if needed)
sudo depmod
sudo rm -f /usr/src/fglrx-kernel*.deb
now see Modifying xorg.conf. Skip the "lrm-manager" and "depmod" commands.
After a reboot, confirm that it worked, by issuing the "fglrxinfo" command, as mentioned elsewhere on this page. Look at the troubleshooting sections to confirm if the output of the command is correct.
From:
http://wiki.ubuntu.org.cn
[
本帖最后由 to407 于 2007-9-15 01:59 编辑 ]