如何修复我在 12.04 LTS 中安装的 ATI Catalyst Video Driver?

Bor*_*ris 28 software-installation

我的显卡是Mobility Radeon HD 4200 系列
我尝试了安装 ATI Catalyst Video Drivers (fglrx) 的正确方法中的 2 个答案

但不幸的是,它不适用于我的Mobility Radeon HD 4200

请注意,
当我在 2012 年 5 月提出这个问题时,Stephen Myall 的问题只有 2 个答案,此后在他的帖子中添加了许多答案,这是关于此主题的主帖

Bor*_*ris 22

解决方案更新(2012 年 11 月 18 日)

因为 ATI 网站上提供了新的驱动程序。12.04LTS 中的解决方案是:


卸载 ATI 驱动程序

$ sudo sh /usr/share/ati/fglrx-uninstall.sh --force   (if file is existing)
$ sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*
Run Code Online (Sandbox Code Playgroud)

安装免费驱动

$ sudo rm /etc/X11/xorg.conf
$ sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-dri:i386 xserver-xorg-core
$ sudo dpkg-reconfigure xserver-xorg
Run Code Online (Sandbox Code Playgroud)

重启

$ sudo reboot
Run Code Online (Sandbox Code Playgroud)

下载 ATI 驱动程序

检查您的显卡是什么: lspci -v | grep -A 12 VGA

此处从 AMD/ATI 网站下载适合您机器的驱动程序。
文件应该类似于amd-driver-installer-12.6-legacy-x86.x86_64.run

如果您正在寻找旧驱动程序 12.6,今天(2015 年 1 月)它在 AMD 网站上不再可用。解决方法是在镜像网站中搜索。

创建文件夹

$ mkdir ~/catalyst12.6/
$ cd ~/catalyst12.6/
Run Code Online (Sandbox Code Playgroud)

并将您下载的驱动程序移动到其中。如果需要,请解压缩。

$ unzip amd-driver-installer-12.6-legacy-x86.x86_64.zip
Run Code Online (Sandbox Code Playgroud)

安装 ATI 驱动程序

$ sudo apt-get install build-essential cdbs dh-make dkms execstack dh-modaliases fakeroot libqtgui4
$ sudo chmod +x amd-driver-installer-12.6-legacy-x86.x86_64.run
$ sudo sh ./amd-driver-installer-12.6-legacy-x86.x86_64.run --buildpkg Ubuntu/`lsb_release -sc`
$ sudo dpkg -i fglrx*.deb
$ sudo amdconfig --initial -f
Run Code Online (Sandbox Code Playgroud)

重启并检查安装是否成功

$ sudo reboot
$ sudo fglrxinfo
   display: :0  screen: 0
   OpenGL vendor string: Advanced Micro Devices, Inc.
   OpenGL renderer string: ATI Radeon HD 4200 Series 
   OpenGL version string: 3.3.11653 Compatibility Profile Context
Run Code Online (Sandbox Code Playgroud)

一切都很好,如您所见,上次重新启动后,fglrxinfo 我的 ATI 显卡正确显示

谢谢

感谢Pavel他的链接,我找到了这个解决方案

笔记

我在 12.04LTS 的 3 台 PC 上成功应用了此解决方案:
- 一台配备 ATI Radeon HD 3400
- 一台配备 ATI Radeon HD 4200
- 一台配备 ATI Radeon HD 4350

成功在混合 ATi Radeon HD 5650/Intel 驱动程序版本 12.10、Precise Pangolin 12.04.02 和 BIOS 中的配置选择“离散”图形。(宏碁Aspire 4745G)


小智 19

编辑:旧解决方案(2012 年 4 月至 8 月有效)

此答案中描述的解决方案基于 ATI 驱动程序 v12.4 +patch。
现在,自 2012 年 8 月起,ATI 驱动程序 v12.6 可用,此答案中描述了安装这些驱动程序的方法


发生此错误的原因是 Catalyst 尚未更新以使用最新的 3.2 内核。

检查此链接:

并做:

  1. 卸载 ATI 驱动程序
  2. 安装免费驱动
  3. 重启
  4. 使用补丁安装 ATI 驱动程序
  5. 重启

详细(32位):

$ sudo sh /usr/share/ati/fglrx-uninstall.sh
$ sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*
$ sudo rm /etc/X11/xorg.conf
$ sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-dri:i386 xserver-xorg-core
$ sudo dpkg-reconfigure xserver-xorg
$ sudo reboot
$ mkdir ~/catalyst12.4/
$ cd ~/catalyst12.4/
Run Code Online (Sandbox Code Playgroud)

此处从 AMD/ATI 网站下载适合您机器的驱动程序并将其移入~/catalyst12.4/. 文件应该类似于 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 ~/catalyst12.4/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 ~/catalyst12.4/
$ sudo dpkg -i fglrx*.deb
$ sudo amdconfig --initial -f
$ sudo reboot
$ fglrxinfo
   display: :0.0  screen: 0
   OpenGL vendor string: Advanced Micro Devices, Inc.
   OpenGL renderer string: ATI Mobility Radeon HD 4200 Series
   OpenGL version string: 3.3.11631 Compatibility Profile Context
Run Code Online (Sandbox Code Playgroud)


归档时间:

查看次数:

121401 次

最近记录:

9 年,1 月 前