![AMD 驱动程序安装故障排除](https://linux22.com/image/966320/AMD%20%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F%E5%AE%89%E8%A3%85%E6%95%85%E9%9A%9C%E6%8E%92%E9%99%A4.png)
我有一台 ATI 5670 HD。我运行的是 ubuntu 12.10 64 位。我费了好大劲才安装最新的显卡驱动程序。除了显卡之外,其他一切似乎都正常。这是在新分区上的全新安装。
我严格按照这里的说明进行操作:http://wiki.cchtml.com/index.php/Ubuntu_Quantal_Installation_Guide
而且我的卡肯定受驱动程序支持,我确信这一点,因为在另一个分区中我有一个 32 位系统,其中 Catalyst 13.1 和 13.2 都可以完美运行:
sudo lshw -C video
PCI (sysfs)
*-display UNCLAIMED
description: VGA compatible controller
product: Redwood [Radeon HD 5670]
vendor: Advanced Micro Devices [AMD] nee ATI
physical id: 0
bus info: pci@0000:01:00.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pm pciexpress msi vga_controller bus_master cap_list
configuration: latency=0
resources: memory:d0000000-dfffffff memory:fbee0000-fbefffff ioport:e000(size=256) memory:fbec0000-fbedffff
然后我尝试使用这个工具(它基本上重复了指南上的说明):http://www.thefanclub.co.za/how-to/ubuntu-amd-catalyst-install
无论我在系统上安装哪种驱动程序(13.1,13.2),最终得到的结果总是一样的。
$ fglrxinfo
X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 155 (ATIFGLEXTENSION)
Minor opcode of failed request: 66 ()
Serial number of failed request: 13
Current serial number in output stream: 13
我追踪了我认为是手动安装过程中的问题:
(Reading database ... 198845 files and directories currently installed.)
Preparing to replace fglrx 2:9.000-0ubuntu3 (using fglrx_12.100-0ubuntu1_amd64.deb) ...
Removing all DKMS Modules
Done.
Unpacking replacement fglrx ...
Preparing to replace fglrx-amdcccle 2:8.970-0ubuntu1 (using fglrx-amdcccle_12.100-0ubuntu1_amd64.deb) ...
Unpacking replacement fglrx-amdcccle ...
Preparing to replace fglrx-dev 2:8.970-0ubuntu1 (using fglrx-dev_12.100-0ubuntu1_amd64.deb) ...
Unpacking replacement fglrx-dev ...
Setting up fglrx (2:12.100-0ubuntu1) ...
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/fglrx/ld.so.conf because link group x86_64-linux-gnu_gl_conf is broken
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/fglrx/ld.so.conf because link group x86_64-linux-gnu_gl_conf is broken
update-initramfs: deferring update (trigger activated)
Loading new fglrx-12.100 DKMS files...
Building only for 3.5.0-17-generic
Building for architecture x86_64
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
update-initramfs: deferring update (trigger activated)
Processing triggers for ureadahead ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Setting up fglrx-amdcccle (2:12.100-0ubuntu1) ...
Setting up fglrx-dev (2:12.100-0ubuntu1) ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.5.0-17-generic
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
在同一台计算机上安装的 32 位 Ubuntu 上进行重复安装时,“更新替代方案”部分并未出现:
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/fglrx/ld.so.conf because link group x86_64-linux-gnu_gl_conf is broken
答案1
通过重复初始过程(来自粉丝俱乐部的应用程序或上面页面上的说明),我能够启动并运行它:
sudo apt-get install linux-source
sudo apt-get install linux-headers-generic
sudo apt-get install linux-headers-$(uname -r)
我不确定这三个中哪一个是“完成”了这件事的,但在安装它们之后,我能够成功完成整个过程。