Linuxsky
中国青基会
您当前的所在的位置是:主页>自由文档>新手入门> 文章页面

ati官方驱动(非开源)的安装配置

去论坛讨论 来源:ubuntu.org.cn 作者: 发布时间:2008-01-05


*方法二:自己编译最新驱动8.40.4/8.42.3,只支持9500及以上显卡,老显卡不支持(32/64位通吃)。
注意:
1。仅8.42.3版本才支持到HD2900,并支持aiglx。
2。8.42.3版本的ubuntu64位支持不良,但应该可以用sudo sh xxx.run直接安装解决,即本方法无效。
3。如果要尝试8.42.3+aiglx+compiz,请参考: http://forum.ubuntu.org.cn/viewtopic.php?t=83802 的最后一步。
4。请不要尝试8.42.3+xgl,稍微比aiglx好一点而已。
5。如果不需要compiz/beryl,则强烈推荐安装8.42.3驱动,会有非常大的性能改善。


Release Notes(8.42.3)
引用:
New Features

This release of the ATI Catalyst™ Linux driver introduces the following new features:

* Support for Accelerated Indirect Rendering (AIGLX)
* Support for X.org version 7.3
* Products older than Radeon™ HD 2x00 are now supported after being enabled only for testing in 8.41.7
* A new 3D user interface is now avaialble in the ATI Catalyst™ Control Center-Linux Edition. The new interface allows for the setting of Anti-Aliasing, Anisotropic Filtering, and VSync. Included on the new 3D interface are static preview images showing the visual effects of the different 3D settings


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:

* Playing videos with TexturedVideo no longer results in stuttering being noticed
* Corruption is no longer noticed when the Composite extension is enabled
* Segmentation faults in OpenGL applications and the ATI Catalyst™ Control Center Linux Edition with Rialto-based AGP cards no longer occur
* Various error messages no longer appear during RPM installation under SuSE 10.2. Further details can be found in topic number 737-29576

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:

* 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-28558
* The display may go blank with clone/dual/horizontal mode configured or switching VT on systems containing an ATI Radeon 9800 XT product. Further details can be found in topic number 737-29574
* An error message appears during installation if dash is used as /bin/sh. A topic number is not available for this issue
* Several distribution-specific packaging scripts are not up-to-date in this release. In particular packaging for 64-bit Ubuntu versions is known to be broken. A topic number is not available for this issue

For further information and general help on driver or software installation, game issues, and more, visit the ATI FAQ website


注意,每次内核升级后都必须重新编译。

8.40.4下载地址
8.42.3下载地址

安装编译所必须的工具
代码:
sudo apt-get update
sudo apt-get install module-assistant build-essential fakeroot dh-make debhelper debconf libstdc++5 linux-headers-$(uname -r)

创建deb包
注意:执行下面的命令的前提是,你必须cd到你下载的驱动的当前目录。不知道什么是cd命令的话,把下面的xxx.run的部分删掉,然后把你的驱动直接拖到终端,其余部分不变。终端在主菜单的附件子菜单。

Feisty:
代码:
sh *.run --buildpkg Ubuntu/feisty

gutsy:
代码:
sh *.run --buildpkg Ubuntu/gutsy

屏蔽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
在选择驱动时,选择fglrx
或者用
代码:
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
上面这两段很重要!(在7.04中,如果你用了sudo dpkg-reconfigure来配置的话,第一段应该已经有了)。另外,如果你安装了8.42.3版本,并且想开启aiglx,则这两段应该是:
代码:
Section "Extensions"
        Option  "Composite" "1"
EndSection

Section "ServerFlags"
        Option  "AIGLX" "on"


重启系统

确认驱动是否正确安装(可以类似于)
代码:
$ 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.6849 Release
代码:
$ glxinfo | grep render
direct rendering: Yes #如果开启了xgl,那么这里一定是No,还有其他一些信息。

------------------------------------------------------------------------------------------------------------------------------
常见错误:

1。如果你碰到2D加速很慢的情况,在/etc/X11/xorg.conf 的 Device section(就是有fglrx的那段)中添上
代码:
Option      "XaaNoOffscreenPixmaps"


2。如果没有3D加速,可尝试
代码:
sudo mkdir /lib/modules/$(uname -r)/volatile
sudo ln -sf /lib/modules/$(uname -r)/misc/fglrx.ko /lib/modules/$(uname -r)/volatile/fglrx.ko


3。另外,如果你想用图形化的工具配置显卡的话,比如双头显示,则可以
代码:
gksu fireglcontrol
如果是用方法二的用
代码:
gksu amdcccle
当然,图形界面的功能比较有限,最强大的还是aticonfig。最新版的控制中心有些新东西,大家可以试试。

4。如果说/usr/X11R6/lib/modules/dri/fglrx_dri.so缺失,则执行
代码:
sudo ln -s /usr/lib/ /usr/X11R6/lib/modules


5。如果还有其他问题,比如nforce3的芯片(主要是asus的K8N),说你仍然运行于mesa,无3d加速,可以看这里:
http://wiki.cchtml.com/index.php/Troubleshooting
共2页: 上一页 [1] 2 下一页

免费注册 | 网站地图 | RSS订阅 | 友情链接 | 论坛交流 | 用户搏客 | 返回顶端

站内资料部分由本人收集整理,所有文章版权均系原作者和出版者所有,如涉版权问题,恳请来信告知!

本站原创作品除特别声明外皆以创作共用协议发布