如何在12.04 LTS中修复ATI Catalystvideo驱动程序的安装?
我的显卡是Mobility Radeon HD 4200系列 。
我尝试了2个答案来自安装ATI Catalystvideo驱动程序(fglrx)的正确方法是什么?
但不幸的是,它不适用于我的Mobility Radeon HD 4200
注意
当我在2012年5月提出这个问题时,斯蒂芬·迈尔的问题只有2个答案,因为那时他的post中添加了许多答案,这是关于这个主题的主要post
更新解决方案(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*
安装免费驱动
$ 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
下载ATI驱动程序
检查你的显卡是什么: lspci -v | grep -A 12 VGA
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/
并将下载的驱动程序移入其中。 如果需要解压缩它。
$ unzip amd-driver-installer-12.6-legacy-x86.x86_64.zip
安装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
重新启动并检查安装是否成功
$ 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
一切都很好 ,正如您所看到的,在上次重启后, 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中配置选择“离散”图形。 (Acer aspire 4745G)
编辑:旧解决方案(2012年4月至8月有效)
本答案中描述的解决方案基于ATI驱动程序v12.4 +补丁。
现在,自2012年8月起,ATI驱动程序v12.6可用, 此答案中描述了安装这些驱动程序的方法
发生此错误是因为Catalyst尚未更新以使用最近的3.2内核。
检查此链接:
并做:
- 卸载ATI驱动程序
- 安装免费驱动
- 重启
- 使用补丁安装ATI驱动程序
- 重启
详细(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/
从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
我发现提供的答案对我来说不起作用,直到我再做一步。 如果您按照详细说明操作并仍然收到badrequest错误,请在终端中尝试以下操作:
sudo gedit /etc/modprobe.d/blacklist-local.conf
在我的例子中,这个文件包含一个条目:
blacklist fglrx
这似乎是恶魔般的,我不知道原因是什么,但在评论出这一行之后
#blacklist fglrx
并重新启动,fglrxinfo现在提供正确的输出,fgl_glxgears正常工作。
我无法重新安装数据包“libgl1-mesa-glx:i386”。 它总是给出相同的结果:
update-alternatives: warning: force re-alternatives / usr/lib/i386-linux-gnu/mesa/ld.so.conf, since the group of links i386-linux-gnu_gl_conf broken.
fyi:13.1显示为
t@t-ubuntu:~$ fglrxinfo display: :0 screen: 0 OpenGL vendor string: Advanced Micro Devices, Inc. OpenGL renderer string: ATI Mobility Radeon HD 5800 Series OpenGL version string: 4.2.12002 Compatibility Profile Context 9.012
- 去除催化剂中心。
- 修复flrgx。
- 清除flrgx。
- 重新安装ati。