fglrx驱动(即官方闭源驱动)现已支持aiglx,但并不理想,请耐心等待下一个版本。想尝试beryl/compiz(即桌面效果)的可用本8.1驱动(支持9500至HD2900),但有迟钝感;或之前的版本,如8.40+xgl;或者用开源驱动(非ati官方,但支持更老的显卡)ati/radeon+aiglx(无需安装),后者有些特性可能不支持或速度慢,但资源占用相对较少。另外开源驱动对x1k以上系列显卡支持不好(以后会有所改善)。
另外,某些显卡可能会遇到重启以后无法进入x,或者在安装完系统后黑屏,请参考一下这里: viewtopic.php?t=40830 也可以自己搜索论坛。
方法0:这个是安装自带官方驱动,版本是8.34.8(feisty)/8.37.6(gutsy),不支持aiglx。
最简单的是找到系统-系统管理-受限驱动管理器,输入密码,把ATI图形加速驱动钩上,然后系统会要求下载和安装必要的软件,安装完毕后请重启电脑。此时查看受限驱动管理器应该是“已启用”。如果不行,那么请继续往下看。
方法一:安装自带驱动,feisty的8.34.8/gutsy的8.37.6驱动,仅支持9500至x1900显卡,不支持aiglx。
如果你曾经用过方法二,需要先执行
代码: 全选
sudo lrm-manager
代码: 全选
sudo apt-get autoremove --purge fglrx*
代码: 全选
sudo apt-get update
sudo apt-get install linux-restricted-modules-$(uname -r)
sudo apt-get install xorg-driver-fglrx fglrx-control
sudo depmod -a
代码: 全选
sudo dpkg-reconfigure xserver-xorg
或者用
代码: 全选
sudo aticonfig --initial -f
然后
代码: 全选
sudo aticonfig --ovt=Xv
其实本语句相当于在/etc/X11/xorg.conf的Device段添加两行:
代码: 全选
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
代码: 全选
sudo gedit /etc/X11/xorg.conf
代码: 全选
Section "Extensions"
Option "Composite" "0"
EndSection
Section "ServerFlags"
Option "AIGLX" "off"
EndSection
重启系统
确认是否正常运行(类似,版本号可以不同)
代码: 全选
fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9600 Generic
OpenGL version string: 2.0.6011 (8.28.8)
注意,每次内核升级后都必须重新编译。不支持aiglx。
安装编译所必须的工具
代码: 全选
sudo apt-get update
sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper debconf libstdc++5 linux-headers-$(uname -r)
注意:执行下面的命令的前提是,你必须cd到你下载的驱动的当前目录。不知道什么是cd命令的话,把下面的xxx.run的部分删掉,然后把你的驱动直接拖到终端,其余部分不变。终端在主菜单的附件子菜单。
Feisty:
代码: 全选
bash *.run --buildpkg Ubuntu/feisty
代码: 全选
bash *.run --buildpkg Ubuntu/gutsy
注意,如果你已经安装了linux-restricted-modules的话,那么此步必做。否则可以跳过(一般都要做)。
代码: 全选
sudo gedit /etc/default/linux-restricted-modules-common
代码: 全选
DISABLED_MODULES=""
代码: 全选
DISABLED_MODULES="fglrx"
代码: 全选
sudo dpkg -i xorg-driver-fglrx_*.deb fglrx-kernel-source*.deb fglrx-amdcccle*.deb
如果你是第一次做,那么会提示你这个文件找不到。别管他,继续往下做就是。
代码: 全选
sudo rm /usr/src/fglrx-kernel*.deb
sudo apt-get -f install
代码: 全选
sudo module-assistant prepare
sudo module-assistant update
sudo module-assistant build fglrx
cd /usr/src
sudo dpkg -i fglrx-kernel-*.deb
sudo depmod -a
注意,如果以前装过fglrx驱动,此步无须再做。
代码: 全选
sudo dpkg-reconfigure xserver-xorg
或者用
代码: 全选
sudo aticonfig --initial -f
然后
代码: 全选
sudo aticonfig --ovt=Xv
其实本语句相当于在/etc/X11/xorg.conf的Device段添加两行:
代码: 全选
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
代码: 全选
sudo gedit /etc/X11/xorg.conf
代码: 全选
Section "Extensions"
Option "Composite" "0"
EndSection
Section "ServerFlags"
Option "AIGLX" "off"
EndSection
重启系统
确认驱动是否正确安装(可以类似于)
代码: 全选
$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI MOBILITY RADEON X600 SE
OpenGL version string: 1.4 (2.1.7059 Release)
代码: 全选
$ glxinfo | grep render
direct rendering: Yes #如果开启了xgl,那么这里一定是No,还有其他一些信息。
注意:
1。仅该版本才支持到HD2900,并支持aiglx。
2。如果要尝试aiglx+compiz,请参考: viewtopic.php?t=83802 的最后一步。或者,按照3D区置顶的方法安装最新的compiz。
3。用xgl和aiglx差不多,也有迟钝感。
4。如果不需要compiz/beryl,则强烈推荐安装该驱动,会有非常大的性能改善,以及大量bug修正。
每次内核升级后不必再重新编译。
下载地址
发行注记
New Features
This release of the ATI Catalyst™ Linux driver introduces support for the following new features:
New Supported Operating Systems
This release of the ATI Catalyst Linux software suite introduces support for the following new operating systems
* RedHat Enteprise Linux 5.1
* RedHat Enteprise Linux 4.6
* Ubuntu 7.10 (Gutsy Gibbon)
Resolved Issues
The following section provide a brief description of resolved issues with the latest version of the ATI Catalyst™ Linux software suite. These include:
* Corruption will no longer be noticed in the lower right corner of the display or on the mouse pointer after the system is running for a long period of time
* Connecting a display device that supports 1680x1050 to a system running Linux will no longer result in a maximum display resolution of 1280x1024 only being available
* Custom mode lines in xorg.conf will no longer be ignored by the fglrx driver
* Suspending to RAM or DISK on kernel version 2.6.23 or later no longer fails
Known Issues
The following section provides a brief description of known issues associated with the latest version of ATI Catalyst™ Linux software suite. These issues include:
* On workstation hardware 3D applications will be corrupted if the screen width is not an integer multiple of 64 pixels, for example with a 1680x1050 wide screen display. Further details can be found in topic number 737-31720
* There is no support for video playback on the second head in dual head mode. Further details can be found in topic number 737-26985
* Desktop corruption may be noticed when dragging the overlay/video when using dual-display mode. Further details can be found in topic number 737-29578
* A black screen may be observed on some hardware when switching to the console or leaving the X window system when a Vesa framebuffer console driver is used. Further details can be found in topic number 737-30687
* Display flicker may be noticed when the gnome screen-saver starts
* Diagonal tearing may be noticed when playing a video file using a video player that utilizes the XVideo extension
* Video playback may look blocky when playing a video file using a video player that utilizes the XVideo extension
* Video Playback may display wrong colors and additional shadow images when cropping or expanding a video file using a video player that utilizes the XVideo extension
* Building RPM packages for Mandriva may fail
安装自动编译所必须的工具
代码: 全选
sudo apt-get update
sudo apt-get install build-essential fakeroot dh-make debhelper debconf libstdc++5 dkms
注意:执行下面的命令的前提是,你必须cd到你下载的驱动的当前目录。不知道什么是cd命令的话,把下面的xxx.run的部分删掉,然后把你的驱动直接拖到终端,其余部分不变。终端在主菜单的附件子菜单。
gutsy:
代码: 全选
bash *.run --buildpkg Ubuntu/gutsy
注意,如果你已经安装了linux-restricted-modules的话,那么此步必做。否则可以跳过(一般都要做)。
代码: 全选
sudo nano /etc/default/linux-restricted-modules-common
代码: 全选
DISABLED_MODULES=""
代码: 全选
DISABLED_MODULES="fglrx"
代码: 全选
sudo nano /etc/modprobe.d/blacklist-restricted
安装deb包
代码: 全选
sudo dpkg -i xorg-driver-fglrx_*.deb fglrx-kernel-source*.deb fglrx-amdcccle*.deb
如果你是第一次做,那么会提示你这个文件找不到。别管他,继续往下做就是。
代码: 全选
sudo rm /usr/src/fglrx-kernel*.deb
sudo apt-get -f install
注意,如果以前装过fglrx驱动,此步无须再做。
代码: 全选
sudo dpkg-reconfigure xserver-xorg
或者用
代码: 全选
sudo aticonfig --initial -f
然后
代码: 全选
sudo aticonfig --ovt=Xv
其实本语句相当于在/etc/X11/xorg.conf的Device段添加两行:
代码: 全选
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
代码: 全选
sudo gedit /etc/X11/xorg.conf
代码: 全选
Section "Extensions"
Option "Composite" "0"
EndSection
Section "ServerFlags"
Option "AIGLX" "off"
EndSection
代码: 全选
Section "Extensions"
Option "Composite" "1"
EndSection
Section "ServerFlags"
Option "AIGLX" "on"
EndSection
确认驱动是否正确安装(可以类似于)
代码: 全选
fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI MOBILITY RADEON X600 SE
OpenGL version string: 2.1.7170 Release
代码: 全选
$ glxinfo | grep render
direct rendering: Yes #如果开启了xgl,那么这里一定是No,还有其他一些信息。
常见错误:
0。如果你的宽屏显示器无法正确设置分辨率(大于1280x1024),则需手动修改xorg.conf文件,如
代码: 全选
Section "Monitor"
Option "DPMS"
Identifier "samsung-monitor"
VendorName "Samsung"
ModelName "SyncMaster 205BW"
HorizSync 31.4 - 80.0
VertRefresh 56.000 - 75.000
Modeline "1680x1050" 146.25 1680 1784 1960 2240 1050 1053 1059 1089
EndSection
Section "Screen"
Identifier "samsung-screen"
Device "samsung-device"
Monitor "samsung-monitor"
Defaultdepth 24
SubSection "Display"
Depth 24
Modes "1680x1050"
EndSubSection
EndSection
代码: 全选
Option "XaaNoOffscreenPixmaps"
代码: 全选
sudo mkdir /lib/modules/$(uname -r)/volatile
sudo ln -sf /lib/modules/$(uname -r)/misc/fglrx.ko /lib/modules/$(uname -r)/volatile/fglrx.ko
代码: 全选
gksu fireglcontrol
代码: 全选
gksu amdcccle
4。如果说/usr/X11R6/lib/modules/dri/fglrx_dri.so缺失,则执行
代码: 全选
sudo ln -s /usr/lib/ /usr/X11R6/lib/modules
代码: 全选
sudo ln /usr/lib/libGL.so.1.2 /usr/lib/libGL.so.1
sudo chmod o+r /usr/lib/libGL.so.1.2
7。如果还有其他问题,比如nforce3的芯片(主要是asus的K8N),说你仍然运行于mesa,无3d加速,可以看这里:
http://wiki.cchtml.com/index.php/Troubleshooting 和 http://wiki.cchtml.com/index.php/Ubuntu ... tion_Guide