[转帖][翻译]非官方ATI显卡驱动安装指南
发表于 : 2006-05-29 21:36
非官方ATI显卡驱动安装指南
文章出处:http://wiki.cchtml.com/index.php/Ubuntu ... tion_Guide
适用版本:6.06
翻译人员:xiaocao2000
Method 1: Installing Dapper's Included Driver (8.24.8)
方法1:安装Dapper内置驱动 (8.24.8)
The included fglrx driver supports Radeon 8500+ and the X-series cards up to X1900.
本内置驱动支持Radeon 8500+ 和 X系列 显卡,最高支持 X1900。
Installing the driver
安装驱动
Make sure the restricted repository is enabled in /etc/apt/sources.list or this guide will not work!
确保受限制的软件库已经在 /etc/apt/sources.lst 文件中,否则本指导文件不能正常工作!
sudo apt-get update
sudo apt-get install linux-restricted-modules-$(uname -r) #Okay if it is already installed
sudo apt-get install xorg-driver-fglrx
sudo aticonfig --initial
sudo aticonfig --overlay-type=Xv
重启系统。
An alternative to the aticonfig --initial command is to edit /etc/X11/xorg.conf and replace the string "ati" with "fglrx" in the "Device" section. This way you won't lose your old "Screen" and "Monitor" settings. Afterwards you can use aticonfig for setting overlay etc.
除了执行 aticonfig --initial 命令外,您也可以编辑 /etc/X11/xorg.conf ,并在 "Device"章节中用 "fglrx"替代"ati"来达到相同目的。用这种方式您不回丢失您原来的 "Screen" 和 "Monitor" 设置。然后您可以用 aticonfig 命令覆盖当前设置。
Confirm that it works
确保驱动已经正常工作
$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9700 Generic
OpenGL version string: 2.0.5755 (8.24.8)
Troubleshooting
故障处理
* The output of dmesg | grep fglrx and /var/log/Xorg.0.log are most useful when looking for errors. You should really include this when you are asking for help somewhere.
* 当查询故障时,dmesg | grep fglrx 命令和 /var/log/Xorg.0.log 文件的输出是非常有用的信息。如果您在某地寻求帮助时,您最好附带上述输出消息。
* It might be necessary to create a symlink to get accelerated OpenGL:
* 也有可能您需要创建到OpenGL加速的链接:
sudo ln -s /usr/lib/dri /usr/lib/xorg/modules/dri
* You can force early loading of the fglrx module by adding it to /etc/modules
* 您也可以将 fglrx 模块加入到 /etc/modules 文件中以便强制提前加载该模块
* To ensure you automatically get the current linux-restricted-modules package with kernel updates, you should install the linux-restricted-modules-??? package matching your kernel-type (without version numer), e.g. linux-restricted-modules-386, linux-restricted-modules-686 or linux-restricted-modules-k7.
* 为确保您已经自动获得了当前带内核升级的 linux-restricted-modules 文件包,您应该安装与您的内核内型匹配的 linux-restricted-modules-??? 软件包(不带版本号),如: linux-restricted-modules-386, linux-restricted-modules-686 or linux-restricted-modules-k7 。
* If you used Method 2 before, you have to unblacklist fglrx again by editing /etc/default/linux-restricted-modules-common
* 如果您以前使用方法2安装驱动,您需要编辑 /etc/default/linux-restricted-modules-common 文件以启用fglrx。
Method 2: Generating/Installing Ubuntu packages for the 8.25.18 drivers in Ubuntu Dapper Manually
方法 2:在Ubuntu Dapper中手动生成并安装8.25.18驱动中的Ubuntu软件包
Important Change: Installation of this driver no longer requires removing the linux-restricted-modules package in order to work. There is a new blacklist feature in Ubuntu Dapper that you can use to go around this.
重要变更:本驱动的安装再不需要卸载 linux-restricted-modules 软件包以使本驱动正常工作。在Dapper中您可以使用新的黑名单功能来实现。
Blacklist old fglrx module from linux-restricted-modules
屏蔽 linux-restricted-modules 包中的旧的 fglrx 模块
sudo gedit /etc/default/linux-restricted-modules-common
Edit DISABLED_MODULES to include fglrx
File: /etc/default/linux-restricted-modules-common
编辑 DISABLED_MODULES 以添加 fglrx
文件:/etc/default/linux-restricted-modules-common
DISABLED_MODULES="fglrx"
Installing the new driver
安装新驱动
Download the ATI driver installer: 32bit Installer http://a248.e.akamai.net/f/674/9206/0/w ... 18-x86.run
下载ATI驱动安装程序:32位安装程序 http://a248.e.akamai.net/f/674/9206/0/w ... 18-x86.run
This guide refers to the 32bit version of the driver. If you are using a x86_64 System you need the 64bit Installer. The installation procedure should be the same as for 32bit, except some filenames will differ slightly.
本向导用于安装32位版本的驱动。如果您使用的是 x86_64 位系统的话,您需要下载 64位驱动 http://a248.e.akamai.net/f/674/9206/0/w ... x86_64.run . 其安装步骤与32位系统的安装步骤大致相同,只有文件名有少许差异。
Change to the download directory. Make sure that you have the universe and multiverse repositories enabled in /etc/apt/sources.list before doing these steps.
在终端下变更到下载目录。在执行如下步骤前,请确保您已经在 /etc/apt/sources.list 文件中启用了 universe 和 multiverse 软件源。
Install necessary tools:
安装必要的工具:
sudo apt-get update
sudo apt-get install module-assistant build-essential
sudo apt-get install fakeroot dh-make debconf libstdc++5 gcc-3.3-base
Create .deb packages:
创建 .deb 软件包:
chmod +x ati-driver-installer-8.25.18-x86.run
./ati-driver-installer-8.25.18-x86.run --buildpkg Ubuntu/dapper
Install .deb packages:
安装 .deb 软件包:
sudo dpkg -i xorg-driver-fglrx_8.25.18-1_i386.deb
sudo dpkg -i fglrx-kernel-source_8.25.18-1_i386.deb
sudo dpkg -i fglrx-control_8.25.18-1_i386.deb
Remove any old fglrx deb's from /usr/src/:
移除任何 /usr/src/ 目录下 旧的 fglrx deb包:
sudo rm /usr/src/fglrx-kernel*.deb
Compile the kernel module:
编译内核模块:
sudo module-assistant prepare,update
sudo module-assistant build,install fglrx
Note: You have to recompile the kernel module after each kernel update!
注意:在每次内核升级后您必需重新编译一次内核模块!
Update the xorg.conf file:
更新 xorg.conf 文件:
sudo aticonfig --initial
sudo aticonfig --overlay-type=Xv
Now Reboot.
现在,重启系统。
Yes, a real reboot. Restarting X only will not work!
是的,真正重启系统。只重启X并没有任何作用!
Confirm that it worked
确保其已经正常工作
$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9700 Generic
OpenGL version string: 2.0.5814 (8.25.18)
Troubleshooting
故障处理
General
概述
The output of dmesg | grep fglrx and /var/log/Xorg.0.log are most useful when looking for errors.
当查询故障时,dmesg | grep fglrx 命令和 /var/log/Xorg.0.log 文件的输出是非常有用的信息。
HP Notebook PC
HP 笔记本电脑
If you have an HP Notebook Computer (or Compaq) such as the HP dv5029dvus or zv6000 series, it is needed to modify the BIOS configuration. It seems for some reason using sideport memory (the card's onboard memory only) leads to an apparent system crash although the logs show successful initialization of DRI. It is needed to run the BIOS setup screen, go to memory options, and select UMA+Sideport memory and assign a value to it (I assigned an extra 128M from the system RAM). Boot the computer and the fglrx driver will work. FGLRX version is 8.24.8 on an i386 Ubuntu Dapper install.
如果您拥有一台 HP (或 Compaq)笔记本电脑,比如 HP dv5029dvus 或 zv6000 系列,您需要修改 BIOS设置。似乎由于使用分配的内存(仅卡的板载内存)导致外部系统崩溃(尽管系统日志显示已经成功初始化DRI)。因此需要运行BIOS设置,在内存选项中选择 UMA+Sideport 内存 并分配其一个固定值(我从系统中分配了128M)。重新启动系统,fglrx驱动将正常工作。已经成功安装版本为 8.24.8 的FGLRX 到一个内核为 i386 的Ubuntu Dapper中。
HP zt3000 / Compaq (???)
Beginning with ATI driver version 8.19, the drivers fail to properly detect modelines that are compatible with the LCD screen of the HP zt3000 (and equivalent Compaq model), and they must be inserted into xorg.conf manually. For the 1680x1050 LCD screen, inserting the following modelines into the "Monitor" section works:
8.19版本的ATI驱动不能正确探测 HP zt3000(以及对应的Compaq型号)的LCD分辨率,因此必需手动添加到xorg.conf中。对于1680x1050的LCD屏幕,将如下内容添加到 "Monitor"章节中:
Modeline "640x350" 119.12 640 1728 1760 1840 350 1052 1058 1080
Modeline "640x400" 119.12 640 1728 1760 1840 400 1052 1058 1080
Modeline "720x400" 119.12 720 1728 1760 1840 400 1052 1058 1080
Modeline "640x480" 119.12 640 1728 1760 1840 480 1052 1058 1080
Modeline "800x600" 119.12 800 1728 1760 1840 600 1052 1058 1080
Modeline "1024x768" 119.12 1024 1728 1760 1840 768 1052 1058 1080
Modeline "1152x864" 119.12 1152 1728 1760 1840 864 1052 1058 1080
Modeline "1280x960" 119.12 1280 1728 1760 1840 960 1052 1058 1080
Modeline "1280x1024" 119.12 1280 1728 1760 1840 1024 1052 1058 1080
Modeline "832x624" 119.12 832 1728 1760 1840 624 1052 1058 1080
Modeline "1280x768" 119.12 1280 1728 1760 1840 768 1052 1058 1080
Modeline "1280x800" 119.12 1280 1728 1760 1840 800 1052 1058 1080
Modeline "1152x768" 119.12 1152 1728 1760 1840 768 1052 1058 1080
Modeline "1400x1050" 119.12 1400 1728 1760 1840 1050 1052 1058 1080
Modeline "1440x900" 119.12 1440 1728 1760 1840 900 1052 1058 1080
Modeline "1600x1024" 119.12 1600 1728 1760 1840 1024 1052 1058 1080
Modeline "1680x1050" 119.12 1680 1728 1760 1840 1050 1052 1058 1080
Revert to Xorg driver
恢复至 Xorg 驱动
If (for any reason) the fglrx install fails, you can revert to the Xorg driver by executing
如果(由于某些原因)fglrx安装失败,您可以使用如下命令恢复至Xorg驱动
sudo dpkg-reconfigure xserver-xorg
and selecting the "ati" driver.
然后选择 "ati" 驱动。
----------------------------------------------------------
如果有用的话,请考虑添加到WIKI中。
文章出处:http://wiki.cchtml.com/index.php/Ubuntu ... tion_Guide
适用版本:6.06
翻译人员:xiaocao2000
Method 1: Installing Dapper's Included Driver (8.24.8)
方法1:安装Dapper内置驱动 (8.24.8)
The included fglrx driver supports Radeon 8500+ and the X-series cards up to X1900.
本内置驱动支持Radeon 8500+ 和 X系列 显卡,最高支持 X1900。
Installing the driver
安装驱动
Make sure the restricted repository is enabled in /etc/apt/sources.list or this guide will not work!
确保受限制的软件库已经在 /etc/apt/sources.lst 文件中,否则本指导文件不能正常工作!
sudo apt-get update
sudo apt-get install linux-restricted-modules-$(uname -r) #Okay if it is already installed
sudo apt-get install xorg-driver-fglrx
sudo aticonfig --initial
sudo aticonfig --overlay-type=Xv
重启系统。
An alternative to the aticonfig --initial command is to edit /etc/X11/xorg.conf and replace the string "ati" with "fglrx" in the "Device" section. This way you won't lose your old "Screen" and "Monitor" settings. Afterwards you can use aticonfig for setting overlay etc.
除了执行 aticonfig --initial 命令外,您也可以编辑 /etc/X11/xorg.conf ,并在 "Device"章节中用 "fglrx"替代"ati"来达到相同目的。用这种方式您不回丢失您原来的 "Screen" 和 "Monitor" 设置。然后您可以用 aticonfig 命令覆盖当前设置。
Confirm that it works
确保驱动已经正常工作
$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9700 Generic
OpenGL version string: 2.0.5755 (8.24.8)
Troubleshooting
故障处理
* The output of dmesg | grep fglrx and /var/log/Xorg.0.log are most useful when looking for errors. You should really include this when you are asking for help somewhere.
* 当查询故障时,dmesg | grep fglrx 命令和 /var/log/Xorg.0.log 文件的输出是非常有用的信息。如果您在某地寻求帮助时,您最好附带上述输出消息。
* It might be necessary to create a symlink to get accelerated OpenGL:
* 也有可能您需要创建到OpenGL加速的链接:
sudo ln -s /usr/lib/dri /usr/lib/xorg/modules/dri
* You can force early loading of the fglrx module by adding it to /etc/modules
* 您也可以将 fglrx 模块加入到 /etc/modules 文件中以便强制提前加载该模块
* To ensure you automatically get the current linux-restricted-modules package with kernel updates, you should install the linux-restricted-modules-??? package matching your kernel-type (without version numer), e.g. linux-restricted-modules-386, linux-restricted-modules-686 or linux-restricted-modules-k7.
* 为确保您已经自动获得了当前带内核升级的 linux-restricted-modules 文件包,您应该安装与您的内核内型匹配的 linux-restricted-modules-??? 软件包(不带版本号),如: linux-restricted-modules-386, linux-restricted-modules-686 or linux-restricted-modules-k7 。
* If you used Method 2 before, you have to unblacklist fglrx again by editing /etc/default/linux-restricted-modules-common
* 如果您以前使用方法2安装驱动,您需要编辑 /etc/default/linux-restricted-modules-common 文件以启用fglrx。
Method 2: Generating/Installing Ubuntu packages for the 8.25.18 drivers in Ubuntu Dapper Manually
方法 2:在Ubuntu Dapper中手动生成并安装8.25.18驱动中的Ubuntu软件包
Important Change: Installation of this driver no longer requires removing the linux-restricted-modules package in order to work. There is a new blacklist feature in Ubuntu Dapper that you can use to go around this.
重要变更:本驱动的安装再不需要卸载 linux-restricted-modules 软件包以使本驱动正常工作。在Dapper中您可以使用新的黑名单功能来实现。
Blacklist old fglrx module from linux-restricted-modules
屏蔽 linux-restricted-modules 包中的旧的 fglrx 模块
sudo gedit /etc/default/linux-restricted-modules-common
Edit DISABLED_MODULES to include fglrx
File: /etc/default/linux-restricted-modules-common
编辑 DISABLED_MODULES 以添加 fglrx
文件:/etc/default/linux-restricted-modules-common
DISABLED_MODULES="fglrx"
Installing the new driver
安装新驱动
Download the ATI driver installer: 32bit Installer http://a248.e.akamai.net/f/674/9206/0/w ... 18-x86.run
下载ATI驱动安装程序:32位安装程序 http://a248.e.akamai.net/f/674/9206/0/w ... 18-x86.run
This guide refers to the 32bit version of the driver. If you are using a x86_64 System you need the 64bit Installer. The installation procedure should be the same as for 32bit, except some filenames will differ slightly.
本向导用于安装32位版本的驱动。如果您使用的是 x86_64 位系统的话,您需要下载 64位驱动 http://a248.e.akamai.net/f/674/9206/0/w ... x86_64.run . 其安装步骤与32位系统的安装步骤大致相同,只有文件名有少许差异。
Change to the download directory. Make sure that you have the universe and multiverse repositories enabled in /etc/apt/sources.list before doing these steps.
在终端下变更到下载目录。在执行如下步骤前,请确保您已经在 /etc/apt/sources.list 文件中启用了 universe 和 multiverse 软件源。
Install necessary tools:
安装必要的工具:
sudo apt-get update
sudo apt-get install module-assistant build-essential
sudo apt-get install fakeroot dh-make debconf libstdc++5 gcc-3.3-base
Create .deb packages:
创建 .deb 软件包:
chmod +x ati-driver-installer-8.25.18-x86.run
./ati-driver-installer-8.25.18-x86.run --buildpkg Ubuntu/dapper
Install .deb packages:
安装 .deb 软件包:
sudo dpkg -i xorg-driver-fglrx_8.25.18-1_i386.deb
sudo dpkg -i fglrx-kernel-source_8.25.18-1_i386.deb
sudo dpkg -i fglrx-control_8.25.18-1_i386.deb
Remove any old fglrx deb's from /usr/src/:
移除任何 /usr/src/ 目录下 旧的 fglrx deb包:
sudo rm /usr/src/fglrx-kernel*.deb
Compile the kernel module:
编译内核模块:
sudo module-assistant prepare,update
sudo module-assistant build,install fglrx
Note: You have to recompile the kernel module after each kernel update!
注意:在每次内核升级后您必需重新编译一次内核模块!
Update the xorg.conf file:
更新 xorg.conf 文件:
sudo aticonfig --initial
sudo aticonfig --overlay-type=Xv
Now Reboot.
现在,重启系统。
Yes, a real reboot. Restarting X only will not work!
是的,真正重启系统。只重启X并没有任何作用!
Confirm that it worked
确保其已经正常工作
$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9700 Generic
OpenGL version string: 2.0.5814 (8.25.18)
Troubleshooting
故障处理
General
概述
The output of dmesg | grep fglrx and /var/log/Xorg.0.log are most useful when looking for errors.
当查询故障时,dmesg | grep fglrx 命令和 /var/log/Xorg.0.log 文件的输出是非常有用的信息。
HP Notebook PC
HP 笔记本电脑
If you have an HP Notebook Computer (or Compaq) such as the HP dv5029dvus or zv6000 series, it is needed to modify the BIOS configuration. It seems for some reason using sideport memory (the card's onboard memory only) leads to an apparent system crash although the logs show successful initialization of DRI. It is needed to run the BIOS setup screen, go to memory options, and select UMA+Sideport memory and assign a value to it (I assigned an extra 128M from the system RAM). Boot the computer and the fglrx driver will work. FGLRX version is 8.24.8 on an i386 Ubuntu Dapper install.
如果您拥有一台 HP (或 Compaq)笔记本电脑,比如 HP dv5029dvus 或 zv6000 系列,您需要修改 BIOS设置。似乎由于使用分配的内存(仅卡的板载内存)导致外部系统崩溃(尽管系统日志显示已经成功初始化DRI)。因此需要运行BIOS设置,在内存选项中选择 UMA+Sideport 内存 并分配其一个固定值(我从系统中分配了128M)。重新启动系统,fglrx驱动将正常工作。已经成功安装版本为 8.24.8 的FGLRX 到一个内核为 i386 的Ubuntu Dapper中。
HP zt3000 / Compaq (???)
Beginning with ATI driver version 8.19, the drivers fail to properly detect modelines that are compatible with the LCD screen of the HP zt3000 (and equivalent Compaq model), and they must be inserted into xorg.conf manually. For the 1680x1050 LCD screen, inserting the following modelines into the "Monitor" section works:
8.19版本的ATI驱动不能正确探测 HP zt3000(以及对应的Compaq型号)的LCD分辨率,因此必需手动添加到xorg.conf中。对于1680x1050的LCD屏幕,将如下内容添加到 "Monitor"章节中:
Modeline "640x350" 119.12 640 1728 1760 1840 350 1052 1058 1080
Modeline "640x400" 119.12 640 1728 1760 1840 400 1052 1058 1080
Modeline "720x400" 119.12 720 1728 1760 1840 400 1052 1058 1080
Modeline "640x480" 119.12 640 1728 1760 1840 480 1052 1058 1080
Modeline "800x600" 119.12 800 1728 1760 1840 600 1052 1058 1080
Modeline "1024x768" 119.12 1024 1728 1760 1840 768 1052 1058 1080
Modeline "1152x864" 119.12 1152 1728 1760 1840 864 1052 1058 1080
Modeline "1280x960" 119.12 1280 1728 1760 1840 960 1052 1058 1080
Modeline "1280x1024" 119.12 1280 1728 1760 1840 1024 1052 1058 1080
Modeline "832x624" 119.12 832 1728 1760 1840 624 1052 1058 1080
Modeline "1280x768" 119.12 1280 1728 1760 1840 768 1052 1058 1080
Modeline "1280x800" 119.12 1280 1728 1760 1840 800 1052 1058 1080
Modeline "1152x768" 119.12 1152 1728 1760 1840 768 1052 1058 1080
Modeline "1400x1050" 119.12 1400 1728 1760 1840 1050 1052 1058 1080
Modeline "1440x900" 119.12 1440 1728 1760 1840 900 1052 1058 1080
Modeline "1600x1024" 119.12 1600 1728 1760 1840 1024 1052 1058 1080
Modeline "1680x1050" 119.12 1680 1728 1760 1840 1050 1052 1058 1080
Revert to Xorg driver
恢复至 Xorg 驱动
If (for any reason) the fglrx install fails, you can revert to the Xorg driver by executing
如果(由于某些原因)fglrx安装失败,您可以使用如下命令恢复至Xorg驱动
sudo dpkg-reconfigure xserver-xorg
and selecting the "ati" driver.
然后选择 "ati" 驱动。
----------------------------------------------------------
如果有用的话,请考虑添加到WIKI中。