AMD 专有驱动程序

AMD 专有驱动程序

我决定为我的 HP Pavilion g6 安装专有视频驱动程序。我的系统是 Ubuntu 14.10 Utopic Unicorn(昨天更新)。好的,我从官方网站下载了 AMD 安装程序。

sudo sh amd-driver-installer-14.301.1001-x86.x86_64.run --buildandinstallpkg

现在记录:

Created directory fglrx-install.Bn1Y9d
Verifying archive integrity... All good.
Uncompressing AMD Catalyst(TM) Proprietary Driver-14.301.1001......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
 AMD Catalyst(TM) Proprietary Driver Installer/Packager 
=====================================================================
Generating and Installing package: Ubuntu/utopic
Package /home/efog/fglrx-14.301.1001/fglrx_14.301-0ubuntu1_amd64.deb has been successfully generated
Package /home/efog/fglrx-14.301.1001/fglrx-dev_14.301-0ubuntu1_amd64.deb has been successfully generated
Package /home/efog/fglrx-14.301.1001/fglrx-amdcccle_14.301-0ubuntu1_amd64.deb has been successfully generated
Selecting previously unselected package fglrx.
(Reading database ... 393855 files and directories currently installed.)
Preparing to unpack fglrx_14.301-0ubuntu1_amd64.deb ...
Unpacking fglrx (2:14.301-0ubuntu1) ...
Selecting previously unselected package fglrx-amdcccle.
Preparing to unpack fglrx-amdcccle_14.301-0ubuntu1_amd64.deb ...
Unpacking fglrx-amdcccle (2:14.301-0ubuntu1) ...
Setting up fglrx (2:14.301-0ubuntu1) ...
update-alternatives: using /usr/lib/fglrx/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode
update-alternatives: using /usr/lib/fglrx/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode
update-initramfs: deferring update (trigger activated)
Loading new fglrx-14.301 DKMS files...
First Installation: checking all kernels...
Building only for 3.16.0-23-generic
Building for architecture x86_64
Building initial module for 3.16.0-23-generic
Done.

fglrx:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.16.0-23-generic/updates/dkms/

depmod...........

DKMS: install completed.
update-initramfs: deferring update (trigger activated)
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Processing triggers for bamfdaemon (0.5.1+14.10.20140925-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Setting up fglrx-amdcccle (2:14.301-0ubuntu1) ...
Processing triggers for initramfs-tools (0.103ubuntu8) ...
update-initramfs: Generating /boot/initrd.img-3.16.0-23-generic
Processing triggers for libc-bin (2.19-10ubuntu2) ...
fglrx_14.301-0ubuntu1_amd64.deb fglrx-amdcccle_14.301-0ubuntu1_amd64.deb
Cleaning up removed packages
aticonfig: No supported adapters detected
Removing temporary directory: fglrx-install.Bn1Y9d

每次我写作时aticonfig我都会aticonfig: No supported adapters detected.

但:

efog@efog-pc:~/fglrx-14.301.1001$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon HD 7500M/7600M Series] (rev ff)

现在我害怕重新启动:D 请帮忙。

答案1

Ubuntu 有一个附加驱动程序实用程序,它将向您显示可供安装的专有附加驱动程序,您还可以从附加驱动程序实用程序安装专有图形驱动程序,这是更好的方法,除非您是一个拥有非常新的显卡的游戏玩家,需要从 AMD 官方网站获取最新版本的专有显卡驱动程序。

也许您可以启动并登录到您的桌面环境并修复此问题,或者也许您在重新启动时会看到黑屏,但您也可以从黑屏修复它。

  1. 要调出纯文本控制台,请使用键盘组合键Ctrl+ Alt+ F3,然后您将获得一个显示登录提示的纯文本虚拟控制台。

  2. 要从纯文本虚拟控制台卸载专有图形驱动程序,请登录并运行以下命令:sudo sh /usr/share/ati/fglrx-uninstall.sh

  3. 要从桌面环境启动附加驱动程序实用程序,请搜索附加驱动程序在 Dash 中,然后单击“附加驱动程序”图标。

  4. 还有一个纯文本终端程序来显示可用的图形驱动程序包。从终端或控制台运行:ubuntu-drivers devices

  5. AMD Catalyst Drivers 14.9 需要 14.10 上的内核头文件,但它缺少 Utopic 版本。这也是从 Ubuntu 存储库中选择专有图形驱动程序而不是从 AMD 官方网站下载的另一个原因。

希望这些技巧能帮助您解决这个问题。在 Ubuntu 中,安装、卸载或获取有关图形驱动程序的信息所需的一切都可以通过终端或纯文本控制台完成,因此如果您犯了错误,即使您无法登录图形桌面环境,也可以修复它。

相关内容