主要参考 http://wiki.cchtml.com/index.php/
做了一些改动。
注意,fglrx驱动(即官方闭源驱动)暂时不支持aiglx(因为不支持composite),依然需要等待。想尝试beryl/compiz(即桌面效果)的可用xgl+fglrx驱动;或者用开源驱动(非ati官方)ati/radeon+ aiglx(无需安装),后者有些特性可能不支持或速度慢,但资源占用相对较少。另外开源驱动对x1k以上系列显卡支持不好。
另外,某些显卡可能会遇到重启以后无法进入x,或者在安装完系统后黑屏,请参考一下这里: http://forum.ubuntu.org.cn/viewtopic.php?t=40830 也可以自己搜索论坛。
方法0:
最简单的是找到系统-系统管理-受限驱动管理器(kubuntu似乎没有?),输入密码,把ATI图形加速驱动钩上,然后系统会要求下载和安装必要的软件,安装完毕后请重启电脑。此时查看受限驱动管理器应该是“已启用”。如果不行,那么请继续往下看。
方法一:安装自带驱动,edgy的8.28.8驱动/feisty的8.34.8驱动,前者支持8500及以上显卡,后者仅支持9500及以上显卡。
如果你曾经用过方法二,需要先执行
并把原来装过的4个包彻底删除。
安装驱动
配置驱动
在选择驱动时,选择fglrx,其他一般保持默认即可。
或者用
以上方法只能两者择一。
然后
如果执行出错,则把备份的xorg.conf.xx改名,用mv命令。
其实本语句相当于在/etc/X11/xorg.conf的Device段添加两行:
并且
添加两段
注意,上面这两段非常重要!(在7.04中,如果你用了sudo dpkg-reconfigure来配置的话,第一段应该已经有了)
重启系统
确认是否正常运行
方法二:自己编译最新驱动8.40.4,只支持9500及以上显卡,老显卡不支持。(32/64位通吃)
Release Notes
注意,每次内核升级后都必须重新编译。
下载地址
安装编译所必须的工具
创建deb包
Edgy:
Feisty:
屏蔽fglrx核心模块
注意,如果你已经安装了linux-restricted-modules的话,那么此步必做。否则可以跳过。
将
改成
安装deb包
移除旧的fglrx
如果你是第一次做,那么会提示你这个文件找不到。别管他,继续往下做就是。
编译内核模块并安装
配置驱动
注意,如果以前装过fglrx驱动,此步无须再做。
在选择驱动时,选择fglrx。
或者用
以上方法只能两者择一。
然后
如果执行出错,则把备份的xorg.conf.xx改名,用mv命令。
其实本语句相当于在/etc/X11/xorg.conf的Device段添加两行:
并且
添加两段
上面这两段很重要!(在7.04中,如果你用了sudo dpkg-reconfigure来配置的话,第一段应该已经有了)
重启系统
确认驱动是否正确安装
------------------------------------------------------------------------------------------------------------------------------
如果你碰到2D加速很慢的情况,在/etc/X11/xorg.conf 的 Device section(就是有fglrx的那段)中添上
另外,如果你想用图形化的工具配置显卡的话,比如双头显示,则可以
如果是用方法二的用
当然,图形界面的功能非常有限,最强大的还是aticonfig。以后应该会有所改观。
如果还有其他问题,比如nforce3的芯片(主要是asus的K8N),说你仍然运行于mesa,无3d加速,可以看这里:
http://wiki.cchtml.com/index.php/Troubleshooting
做了一些改动。
注意,fglrx驱动(即官方闭源驱动)暂时不支持aiglx(因为不支持composite),依然需要等待。想尝试beryl/compiz(即桌面效果)的可用xgl+fglrx驱动;或者用开源驱动(非ati官方)ati/radeon+ aiglx(无需安装),后者有些特性可能不支持或速度慢,但资源占用相对较少。另外开源驱动对x1k以上系列显卡支持不好。
另外,某些显卡可能会遇到重启以后无法进入x,或者在安装完系统后黑屏,请参考一下这里: http://forum.ubuntu.org.cn/viewtopic.php?t=40830 也可以自己搜索论坛。
方法0:
最简单的是找到系统-系统管理-受限驱动管理器(kubuntu似乎没有?),输入密码,把ATI图形加速驱动钩上,然后系统会要求下载和安装必要的软件,安装完毕后请重启电脑。此时查看受限驱动管理器应该是“已启用”。如果不行,那么请继续往下看。
方法一:安装自带驱动,edgy的8.28.8驱动/feisty的8.34.8驱动,前者支持8500及以上显卡,后者仅支持9500及以上显卡。
如果你曾经用过方法二,需要先执行
代码: |
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 |
如果执行出错,则把备份的xorg.conf.xx改名,用mv命令。
其实本语句相当于在/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) |
方法二:自己编译最新驱动8.40.4,只支持9500及以上显卡,老显卡不支持。(32/64位通吃)
Release Notes
引用: |
New Features This release of the Catalyst Linux driver introduces the following new features: * TV Out Functionality * Catalyst Control Center Linux Edition TV Out Functionality TV out functionality is now available under the Linux operating system for ATI graphics cards that support TV Out (S-video, composite, and component video). The feature is part of the Catalyst Control Center LE and will provide a users with a variety of TV out adjustments. Note: TV Size and Position functions for ATI Radeon™ X1200 series of products and above are adjusted through the aticonfig command line. Catalyst Control Center Linux Edition This release of the Catalyst Linux introduces a 64-bit version of the Catalyst Control Center Linux Edition. 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: * A black screen is no longer 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-28558 * Connecting a component Video display device launching X-Server no longer results in X-Server failing to start and the display device displaying a black screen. Further details can be found in topic number 737-28846 * The DRI no longer fails to initialize in the second server generation. Further details can be found in topic number 737-28847 * Pressing the identify displays function no longer results in display device 1 and 2 being incorrectly identified. Further details can be found in topic number 737-28848 * A Floating Point Exception error no longer occurs when launching amdcccle. Further details can be found in topic number 737-28849 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: * Corruption may be observed with certain applications on some Linux distributions which enable the Composite extension by default, e.g., RHEL 5. If you are observing application corruption, please disable the Composite extension. Further details can be found in topic number 737-28224 * Using the xgl enabled x-server interface disables display switching hot plug support * 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 |
注意,每次内核升级后都必须重新编译。
下载地址
安装编译所必须的工具
代码: |
sudo apt-get update sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper debconf libstdc++5 linux-headers-$(uname -r) |
创建deb包
Edgy:
代码: |
sh ati-driver-installer-8.40.4-x86.x86_64.run --buildpkg Ubuntu/edgy |
Feisty:
代码: |
sh ati-driver-installer-8.40.4-x86.x86_64.run --buildpkg Ubuntu/feisty |
屏蔽fglrx核心模块
注意,如果你已经安装了linux-restricted-modules的话,那么此步必做。否则可以跳过。
代码: |
sudo gedit /etc/default/linux-restricted-modules-common |
代码: |
DISABLED_MODULES="" |
代码: |
DISABLED_MODULES="fglrx" |
安装deb包
代码: |
sudo dpkg -i xorg-driver-fglrx_*.deb fglrx-kernel-source*.deb fglrx-amdcccle*.deb |
移除旧的fglrx
如果你是第一次做,那么会提示你这个文件找不到。别管他,继续往下做就是。
代码: |
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-* sudo depmod -a |
配置驱动
注意,如果以前装过fglrx驱动,此步无须再做。
代码: |
sudo dpkg-reconfigure xserver-xorg |
或者用
代码: |
sudo aticonfig --initial -f |
然后
代码: |
sudo aticonfig --ovt=Xv |
如果执行出错,则把备份的xorg.conf.xx改名,用mv命令。
其实本语句相当于在/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: 2.0.6747 (8.40.4) |
代码: |
$ glxinfo | grep render direct rendering: Yes #如果开启了xgl,那么这里一定是No,还有其他一些信息。 |
------------------------------------------------------------------------------------------------------------------------------
如果你碰到2D加速很慢的情况,在/etc/X11/xorg.conf 的 Device section(就是有fglrx的那段)中添上
代码: |
Option "XaaNoOffscreenPixmaps" |
另外,如果你想用图形化的工具配置显卡的话,比如双头显示,则可以
代码: |
gksu fireglcontrol |
代码: |
gksu amdcccle |
如果还有其他问题,比如nforce3的芯片(主要是asus的K8N),说你仍然运行于mesa,无3d加速,可以看这里:
http://wiki.cchtml.com/index.php/Troubleshooting