编者按:Ubuntu 显卡驱动安装需谨慎,无事别折腾这个,注意注意,这篇文章只做参考。
Ubuntu 12.10安装完毕后一切运行正常,显卡也木有啥大问题,就是挂起待机的时候不能恢复,直接黑屏。安装Ubuntu自动的ati/amd开源驱动出现桌面什么都木有的问题,一片空白unity根本不会启动,要是Ubuntu 12.04还能进入unity-2d。
只好自己安装amd卡的驱动
我的驱动型号:AMD Radeon HD 6xxx
官方amd驱动下载地址:http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx
官方安装说明:http://www2.ati.com/relnotes/Catalyst_11.10_Linux_Installer.pdf
步骤如下:
$7z x amd-driver-installer-catalyst-12.10-x86.x86_64.zip
$sudo sh amd-driver-installer-catalyst-12.10-x86.x86_64.run
提示错误:
One or more tools required for installation cannot be found on the system.
Install the required tools before installing the fglrx driver. Optionally, run the installer with --force option to install without the tools.
Forcing install will disable amd hardware acceleration and may make your system unstable. Not recommended.
See usr/share/ati/fglrx-install.log for more details.
解决如下:
$ sudo apt-get update
$yes|sudo apt-get upgrade
$yes|sudo apt-get install linux-headers-generic fglrx-updates
完毕后重新执行
$sudo sh amd-driver-installer-catalyst-12.10-x86.x86_64.run
参考:http://ubuntuforums.org/showthread.php?t=2073410
安装完毕在执行接下来的Linux命令
For versions of X.Org newer than 7,
$sudo /usr/bin/aticonfig --initial
For versions of X.Org older than 7,
$sudo /usr/X11R6/bin/aticonfig --initial
最后就是重启ubuntu 12.10啦
现在挂起待机已经不黑屏啦,爽 I love Ubuntu 12.10。