Ubuntu 安装ATI显卡驱动12.4失败的解决方法

A卡驱动很不靠谱,前几个版本包括最新的12.4在正常情况下是无法安装成功的。

难道ATI觉得Linux用户都是大神...可以自己给他们的驱动打补丁,所以故意放出会出现错误的驱动。

========================华丽的分割线==============================

12.4在安装过程中Ubuntu12.04会report bug,如果你看到这个,基本上就没可能在重启后正常使用显卡驱动。

phoronix上有个大神写了个补丁应对这个问题。

其实,The error occurs because Catalyst has not been updated to work with recent 3.2 kernels.

所以就不能使用默认的生成.deb包的过程

正确方法如下(注意,下面的过程中x86_64是64位系统的,32位的同学自行修改):

sudo apt-get install build-essential cdbs dh-make dkms execstack dh-modaliases fakeroot
cd ~/; mkdir catalyst12.4; cd catalyst12.4/
wget http://www2.ati.com/drivers/linux/amd-driver-installer-12-4-x86.x86_64.run
chmod +x amd-driver-installer-12-4-x86.x86_64.run
./amd-driver-installer-12-4-x86.x86_64.run --extract driver
cd driver/common/lib/modules/fglrx/build_mod/
wget -O fglrx.patch http://ubuntuone.com/5gNgEmVfzs3ytD5QZ2YGCi
patch -p1 < fglrx.patch
cd ~/catalyst12.4/driver/
./ati-installer.sh 8.961 --buildpkg Ubuntu/precise
cd ../

然后按照wiki http://wiki.cchtml.com/index.php/Ubuntu_Precise_Installation_Guide

sudo dpkg -i fglrx*.deb

配置

sudo amdconfig --initial -f

然后

sudo reboot

一切OK,12.4版显卡催化剂中心安装成功。

posted @ 2012-06-02 09:11  漂木  阅读(2110)  评论(3编辑  收藏  举报