[教学]ATI+feisty+aiglx+beryl 详细安装过程

各种窗口管理器和美化相关
hsy541
帖子: 65
注册时间: 2007-04-03 10:06

[教学]ATI+feisty+aiglx+beryl 详细安装过程

#1

帖子 hsy541 » 2007-04-12 11:06

原文:http://www.howtoforge.com/ubuntu_feisty ... ati_radeon

1
我的机子配置是 Thinkpad T43 ATI mobility X300
首先更新所有的软件
sudo apt-get update
sudo apt-get upgrade

2
确定你的显卡被识别
打开terminal输入命令
lspci | grep ATI
应该含有 ATI Technologies Inc Radeon R250 [Mobility X300 ..] 等信息
以下是可以装beryl 的列表

完全支持3D的

* 7000 / rv100 based cards.
* 7200 / R100 based cards.
* 7500 / rv200 based cards.
* 8X00 / R200 based cards.
* 9000 / rv250 based cards.
* 9100 / R200 based cards.
* 9200 / rv280 based cards.


实验性的3d加速

* 9500 / R300 based cards.
* 9600 / rv350 or rv360 based cards.
* 9700 / R300 based cards.
* 9800 / R350 or R360 based cards.
* X300 / rv370 based cards.
* X600 / rv380 based cards.
* X700 / rv410 based cards.
* X800 / R420 or R423 or R430 or R480 based cards.
* X850 / R480 or R481 based cards.


只有2D加速的

* Xpress 200M Northbridge integrated GPUs


不支持的

* X1300 / R515 based cards.
* X1600 / R530 based cards.
* X1800 / R520 based cards.
* X1900 / R580 based cards.

3 配置AIGLX和开源的 ATI 显卡驱动

注意:如果你已经安装了fglrx驱动,一定要卸载,在受限制的驱动对话框中把启动勾掉然后重启或Ctrl-Alt-Backspace 重启图形服务器

打开terminal
输入
glxinfo | grep vendor

如果出现
server glx vendor string: SGI
client glx vendor string: SGI
OpenGL vendor string: Tungsten Graphics, Inc.

则可以继续
安装开源驱动
输入命令
sudo apt-get remove xorg-driver-fglrx; sudo apt-get install libgl1-mesa-glx libgl1-mesa-dri

备份配置文件
cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
sudo gedit /etc/X11/xorg.conf


Section "Device"
Identifier "ATI Technologies Inc Radeon ***"
Driver "ati"
BusID "PCI:1:0:0"
EndSection
替换成
Section "Device"
Identifier "ATI Technologies Inc Radeon ***" (这里保持原来标示)
Driver "radeon"
BusID "PCI:1:0:0"
Option "XAANoOffscreenPixmaps"
Option "AGPMode" "4"
Option "AGPFastWrite" "true"
Option "DisableGLXRootClipping" "true"
Option "AddARGBGLXVisuals" "true"
Option "AllowGLXWithComposite" "true"
Option "EnablePageFlip" "true"
EndSection

然后把
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection
替换成
Section "ServerLayout"
Option "AIGLX" "true"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
InputDevice "Synaptics Touchpad"
EndSection

然后如果没有以下两段的话则在文件最后加上
Section "DRI"
Mode 0666
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

然后保存文件
重启系统或者Ctrl-Alt-Backspace 重启图形服务器

重启后打开 terminal
输入
glxinfo | grep vendor
应该得到
server glx vendor string: SGI
client glx vendor string: SGI
OpenGL vendor string: Tungsten Graphics, Inc.

然后运行
glxinfo | grep "direct rendering"
应该得到
direct rendering: Yes

4 安装 Beryl

首先备份源列表
cp /etc/apt/sources.list /etc/apt/sources.list.bak

然后运行
sudo echo "deb http://ubuntu.beryl-project.org feisty main" >> /etc/apt/sources.list
wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add -
sudo apt-get update

然后编辑/etc/X11/xorg.conf
sudo gedit /etc/X11/xorg.conf

在文件中找 Section "Module" 段 确保里面含有
Load "dri"
Load "dbe"
Load "glx"

我的修改后如下
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
Load "dbe"
EndSection

保存后重启系统或者Ctrl-Alt-Backspace 重启图形服务器

重启后打开terminal 安装 beryl 和 emerald 主题
sudo apt-get install beryl beryl-manager emerald-themes

安装完之后运行
beryl-manager
或者
在应用程序->附件->beryl-manager
这个时候你就可以享受特效了


简单翻译一下,做了一些修改,希望大家批评指正



:D
上次由 hsy541 在 2007-04-12 11:42,总共编辑 1 次。
头像
zhuqin_83
帖子: 10606
注册时间: 2006-05-13 4:02
联系:

#2

帖子 zhuqin_83 » 2007-04-12 11:18

不叫“经实验有3d加速的”,应该是“实验性的3d加速”。
pci的显卡干嘛要加 agp模式的东西?
不要照抄。
人家都说了,这只是一个例子。

Option "XAANoOffscreenPixmaps" 这个加上去了就足够了。
aiglx "true"我不加都可以。
HP Pavilion DV6-2064CA: AMD Turion II Ultra Dual-Core Mobile M640, HD4650, 2GBx2 DDR2-800, Seagate 500GB 7200RPM SATA, BD-ROM
DELL UltraSharp 2209WA
Arch64, Testing repo
hsy541
帖子: 65
注册时间: 2007-04-03 10:06

#3

帖子 hsy541 » 2007-04-12 11:48

Thanks a lot!
I've no idea about the difference between AGP and PCI
This original work is on a ATI Mobility Radeon 9200 card
Well www.howtoforge.com is a good place for tutorial

zhuqin_83 写了:不叫“经实验有3d加速的”,应该是“实验性的3d加速”。
pci的显卡干嘛要加 agp模式的东西?
不要照抄。
人家都说了,这只是一个例子。

Option "XAANoOffscreenPixmaps" 这个加上去了就足够了。
aiglx "true"我不加都可以。
心林
帖子: 3
注册时间: 2007-04-11 13:04

#4

帖子 心林 » 2007-04-13 13:33

thank you very much!I try it !
cnzonek
帖子: 70
注册时间: 2007-01-19 0:57

#5

帖子 cnzonek » 2007-04-13 17:44

thank you very much
AstonMiMi
帖子: 15
注册时间: 2007-03-16 9:15

#6

帖子 AstonMiMi » 2007-04-14 8:30

aston@aston-laptop:~$ sudo apt-get remove xorg-friver-fglrx:sudo apt-get install libgl1-mesa-dri
E: 无法获得锁 /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?


是因为我没有下载软件包吗?
怎么下载软件包?
AstonMiMi
帖子: 15
注册时间: 2007-03-16 9:15

#7

帖子 AstonMiMi » 2007-04-14 19:20

aston@aston-laptop:~$ sudo apt-get install libgl1-mesa-glx libgl1-mesa-dri
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
E: 无法找到软件包 libgl1-mesa-glx


请问 libgl1-mesa-glx 这个软件包到哪里下载哦??
werdsa
帖子: 5
注册时间: 2007-02-28 21:47

#8

帖子 werdsa » 2007-04-22 16:02

顶下。感谢lz 我 ati+7.04
电脑终于可以用beryl了`~
jacklaoba
帖子: 13
注册时间: 2006-10-11 0:26

#9

帖子 jacklaoba » 2007-04-24 4:02

已经安装完成了,三个字,效果实在太猛了!!!!
头像
oydl82
帖子: 1073
注册时间: 2006-09-04 21:38
来自: 中国沙大

#10

帖子 oydl82 » 2007-04-24 7:26

我的是Xpress 200M,看来与3D是无缘了。
ArchLinux,你让我不得不放弃,等着我,我还会回来!
不要总是让我玩系统!我要用它来工作!
hsy541
帖子: 65
注册时间: 2007-04-03 10:06

#11

帖子 hsy541 » 2007-04-24 10:21

官方源上就有啊

sudo apt-get update
然后再
sudo apt-get install libgl1-mesa-dri
试试

AstonMiMi 写了:aston@aston-laptop:~$ sudo apt-get remove xorg-friver-fglrx:sudo apt-get install libgl1-mesa-dri
E: 无法获得锁 /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?


是因为我没有下载软件包吗?
怎么下载软件包?
laizierbao
帖子: 7
注册时间: 2007-04-16 11:25

#12

帖子 laizierbao » 2007-04-24 16:11

太复杂了,我用了后X-windows都进不了了,花了好长时间才摸索着恢复了windows界面
改个简单点的装法才不容易出错啊!
头像
TheThirdGhost
帖子: 1592
注册时间: 2006-07-23 16:25
来自: 南京

#13

帖子 TheThirdGhost » 2007-04-24 16:49

laizierbao 写了:太复杂了,我用了后X-windows都进不了了,花了好长时间才摸索着恢复了windows界面
改个简单点的装法才不容易出错啊!
用X-windows的说法是错误的,是X-window
头像
water2007
帖子: 524
注册时间: 2007-04-23 13:34

#14

帖子 water2007 » 2007-04-25 13:33

我的显卡信息,请问可不可以?
lspci | grep ATI
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AS [Radeon 9550]
01:00.1 Display controller: ATI Technologies Inc RV350 AS [Radeon 9550] (Secondary)

输入glxinfo | grep vendor后出现
server glx vendor string: SGI
client glx vendor string: ATI
OpenGL vendor string: ATI Technologies Inc.

请问我还可按照以上方法继续安装吗?我是菜鸟,不懂这些,请指点,谢谢~
apen
帖子: 39
注册时间: 2006-07-21 14:25

#15

帖子 apen » 2007-04-26 11:27

我的IBM T42 不论是安装6.10还是7.04,一但安装了3D驱动,屏就闪个不停,根本用不了!
回复