您的位置:首页 > 其它

[转]Ubuntu 12.04 安装ATI官方显卡驱动

2012-08-11 07:19 429 查看
千呼万唤始出来,终于有大牛找到方法了!

原文:http://forum.ubuntu.org.cn/viewtopic.php?f=42&t=373058

本文详细记录了在Ubuntu系统中安装ATI官方显卡驱动的方法。
重装或要卸载:

sudo sh /usr/share/ati/fglrx-uninstall.sh

sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*
安装闭源前准备的库(这个时间比较久):

sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 dh-modaliases linux-headers-generic
如果你安装的是64位的ubuntu,请安装32位库(这个时间更久一点):

sudo apt-get install ia32-libs
64位 驱动内核模块:

sudo apt-get install dkms
下面是在http://ubuntuforums.org/showthread.php?t=1969827看的方法

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 ../
安装生成的包:

sudo dpkg -i fglrx*.deb
生成配置文件:

sudo aticonfig --initial -f
防止配置未生效:

sudo aticonfig --input=/etc/X11/xorg.conf --tls=1
重启。

检查是否成功:

fglrxinfo
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ubuntu