求助12.10 安装最新amd13.1显卡驱动

声卡/显卡/打印机/USB设备等硬件问题(网卡问题请发上面的网卡板块)
回复
jsionr
帖子: 6
注册时间: 2011-09-29 13:58
送出感谢: 0
接收感谢: 0

求助12.10 安装最新amd13.1显卡驱动

#1

帖子 jsionr » 2013-02-19 23:49

这是wiki向导的安装方法:
Before you start

If you have previously attempted installing Catalyst, remove any leftover files by following the Removing the Driver section. Make sure universe and multiverse are enabled in your repository sources (System -> Administration -> Software Sources). or Applications->Ubuntu Software Center->Edit->Software sources->Other software: check canonical partners.

Install the prerequisite packages:

代码: 全选

sudo apt-get install build-essential cdbs dh-make dkms execstack dh-modaliases linux-headers-generic
If you are using the x86_64 architecture (64 bit):

代码: 全选

sudo apt-get install lib32gcc1
Download the latest Catalyst package.

This package contains both the 32-bit and 64-bit driver.

代码: 全选

wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-13.1-linux-x86.x86_64.zip
unzip amd-driver-installer-catalyst-13.1-linux-x86.x86_64.zip
chmod +x amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run
[edit] Create and install .deb packages.

代码: 全选

sudo sh ./amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run --buildpkg Ubuntu/quantal
sudo dpkg -i fglrx*.deb
下面是错误报告
------------------------------------
dpkg:警告:downgrading fglrx from 2:9.000-0ubuntu3 to 2:8.970-0ubuntu1
(正在读取数据库 ... 系统当前共安装有 181557 个文件和目录。)
正预备替换 fglrx 2:9.000-0ubuntu3 (使用 fglrx_8.970-0ubuntu1_i386.deb) ...
Removing all DKMS Modules
Done.
正在解压缩将用于更替的包文件 fglrx ...
dpkg:警告:downgrading fglrx-amdcccle from 2:9.000-0ubuntu3 to 2:8.970-0ubuntu1
正预备替换 fglrx-amdcccle 2:9.000-0ubuntu3 (使用 fglrx-amdcccle_8.970-0ubuntu1_i386.deb) ...
正在解压缩将用于更替的包文件 fglrx-amdcccle ...
Selecting previously unselected package fglrx-dev.
正在解压缩 fglrx-dev (从 fglrx-dev_8.970-0ubuntu1_i386.deb) ...
正在设置 fglrx (2:8.970-0ubuntu1) ...
update-alternatives: 警告: forcing reinstallation of alternative /usr/lib/fglrx/ld.so.conf because link group i386-linux-gnu_gl_conf is broken
update-alternatives: 警告: skip creation of /etc/OpenCL/vendors/amdocl64.icd because associated file /usr/lib/fglrx/etc/OpenCL/vendors/amdocl64.icd (of link group i386-linux-gnu_gl_conf) doesn't exist
update-alternatives: 警告: skip creation of /usr/lib32/libaticalcl.so because associated file /usr/lib32/fglrx/libaticalcl.so (of link group i386-linux-gnu_gl_conf) doesn't exist
update-alternatives: 警告: skip creation of /usr/lib32/libaticalrt.so because associated file /usr/lib32/fglrx/libaticalrt.so (of link group i386-linux-gnu_gl_conf) doesn't exist
update-initramfs: deferring update (trigger activated)
Loading new fglrx-8.970 DKMS files...
Building only for 3.5.0-17-generic
Building for architecture i686
Building initial module for 3.5.0-17-generic
Error! Bad return status for module build on kernel: 3.5.0-17-generic (i686)
Consult /var/lib/dkms/fglrx/8.970/build/make.log for more information.
update-initramfs: deferring update (trigger activated)
正在处理用于 ureadahead 的触发器...
正在处理用于 bamfdaemon 的触发器...
Rebuilding /usr/share/applications/bamf.index...
正在设置 fglrx-amdcccle (2:8.970-0ubuntu1) ...
正在设置 fglrx-dev (2:8.970-0ubuntu1) ...
正在处理用于 initramfs-tools 的触发器...
update-initramfs: Generating /boot/initrd.img-3.5.0-17-generic
Warning: No support for locale: zh_CN.utf8
正在处理用于 libc-bin 的触发器...
ldconfig deferred processing now taking place
-----------------------------------------

jsion@ubuntu:~$ fglrxinfo
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Serial number of failed request: 17
Current serial number in output stream: 18
头像
艾徳庄
帖子: 74
注册时间: 2013-02-07 11:36
系统: debian wheezy
送出感谢: 5 次
接收感谢: 2 次

Re: 求助12.10 安装最新amd13.1显卡驱动

#2

帖子 艾徳庄 » 2013-02-20 19:25

Error! Bad return status for module build on kernel: 3.5.0-17-generic (i686)
Consult /var/lib/dkms/fglrx/8.970/build/make.log for more information.

ps:论坛上安装ati闭源驱动的教程很多了,所以你的帖子没人回复,给出我保存的一套方法。
1.在amd官网下载与自己显卡配套的闭源驱动,我的是amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run
2.卸载旧驱动:
sudo sh /usr/share/ati/fglrx-uninstall.sh;
sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*, 可能提示找不到文件,ignore。
3.安装依赖库文件:
sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 execstack libelfg0 dh-modaliases linux-headers-generic,部分库文件可能已经存在,ignore。
4.我是64位系统,还需要安装32位库(32位系统不需要安装,如果是debian stable64位,需要dpkg --add-architecture i386才可以安装32位库!):
sudo apt-get install ia32-libs
5.准备工作已经充分,开始安装:
cd ~/;mkdir catalyst;cd catalyst;
cp ~/Download/amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run .;
chmod +x amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run;
./amd-driver-installer-catalyst-13.1-linux-x86.x86_64.run --extract driver;
cd driver
./ati-installer.sh 13.100 --buildpkg Ubuntu/quantal
cd ..
sudo dpkg -i fglrx*.deb
(这时候会提示缺少依赖关系,按照提示安装:
sudo apt-get install lib32gcc1 libc6-i386)
sudo aticonfig --initial -f
sudo aticonfig --input=/etc/X11/xorg.conf --tls=1
6.sudo reboot
7.bingo,可以用fglrxinfo和fgl_glxgears检测
回复

回到 “常用硬件支持”