首先在AMD官网http://support.amd.com/en-us/download下载amd-driver-installer-catalyst-13-4-linux-x86.x86_64.zip
根据官方的Release Note描述,此版本支持的Linux发行版本为:
根据官方文档http://wiki.cchtml.com/index.php/Ubuntu_Lucid_Installation_Guide在执行下面的命令
sudo sh amd-driver-installer-catalyst-13-4-x86.x86_64.run --buildpkg Ubuntu/lucid
dh_install: fglrx missing files (arch/#SRCOTHERARCH#/etc/OpenCL/vendors/*.icd), aborting
现将具体安装步骤记录如下:
打开新立得软件包管理软件,搜索分别搜索amd、ati、fglrx,将搜索到的软件包全部卸载掉,在终端执行以下命令:
$ sudo add-apt-repository ppa:ubuntu-x-swat/x-updates $ sudo apt-get update $ sudo apt-get install fglrx $ sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0在安装过程中,可能还需要一些额外的外部程序,根据命令自行安装
https://launchpad.net/~happyaron/+archive/kernel/+build/2163444下载dh-modaliases_0.8.0ubuntu3~lucid1_all.deb并安装
解压安装文件amd-driver-installer-catalyst-13-4-x86.x86_64.run到文件夹driver:
sh amd-driver-installer-catalyst-13-4-x86.x86_64.run --extract driver cd driver根据 http://parallelplusplus.blogspot.ca/2013/01/problems-with-amd-catalyst-131-on-ubuntu.html(Problems with AMD Catalyst 13.1 on Ubuntu,可能需要翻过去才能看到)解决 dh_install: fglrx missing files (arch/#SRCOTHERARCH#/etc/OpenCL/vendors/*.icd), aborting错误,其全文为:
AMD Catalyst 13.1 driver was released two days ago but I encountered problems when I tried to generate Ubuntu packages for both 10.04 & 12.04 releases. In case anybody is interested, I'm providing some brief workarounds here: One has to extract the driver files using the "--extract" option. In both cases the problem was due to the "rules" file located under the "packages/Ubuntu/dists/{precise/lucid}" directory. Thus, the following changes had to be made in "rules" file. In case of Ubuntu 12.04 the following line: dh_install -p$(PKG_driver) "arch/x86_64/usr/share/ati/lib" "$(datadir)/ati" had to be replaced with: dh_install -p$(PKG_driver) "arch/x86/usr/share/ati/lib" "$(datadir)/ati" In case of Ubuntu 10.04 the following line had to be appended after line 69: SRC_other_arch := x86_64 and the following line had to be appended after line 151: -e "s|#SRCOTHERARCH#|$(SRC_other_arch)|g" \ All packages then should be created as usual by giving: sudo ./ati-installer.sh 9.012 --buildpkg Ubuntu/precise or sudo ./ati-installer.sh 9.012 --buildpkg Ubuntu/lucid
L151行后添加:
-e "s|#SRCOTHERARCH#|$(SRC_other_arch)|g"
L36行后添加
SRC_other_arch := x86_64
sudo ./ati-installer.sh 9.012 --buildpkg Ubuntu/lucid命令执行成功后,
返回driver的上层目录并安装驱动及管理工具:
cd .. sudo dpkg -i fglrx_*.deb
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak sudo aticonfig --initial -f
相关参考文档:
http://wiki.cchtml.com/index.php/Troubleshooting
http://blog.sina.com.cn/s/blog_49cfe3f10100kft0.html