分页: 1 / 1

关于在3D桌面安装时的AIGLX+beryl和XGL+beryl的疑问

发表于 : 2007-04-19 9:01
newuserid
关于在3D桌面安装时的AIGLX+beryl和XGL+beryl的疑问
我的机器显卡是Nvidia Gcforce FX2000,刚装上ubuntu6.06没几天,昨天试着装3D桌面,却稀里糊涂地没成功 ,把系统重装了好几回。晚上经过将网上的所有关于3D桌面安装的介绍进行了汇总,发现不外这2种:AIGLX+beryl和XGL+beryl,安装过程中都要求安装相应的显卡驱动,安装过程中可能会修改/etc/X11/xorg.conf或者是/etc/gdm/gdm.conf-custom这2个文件。

那么我就不明白了:
1、AIGLX+beryl和XGL+beryl这2种方法有什么不同么?那个更适合我采用?
2、我决定了采用哪种方法后,到底该修改xorg.conf和gdm.conf-custom中的哪一个配置文件?又该如何修改?
3、我的Nvidia显卡该如何安装驱动?用新立得搜索Nvidia?还是用命令:sudo apt-get install nvidia-glx libxorg-sched-yield-hack0

此外,我在下面列出了网上提供的方法的每一步,各位帮我仔细判断一下,我应该采用哪一种?或者要怎么修改一下?
4、添加源(是采用虚线上的源还是虚线下的源?)
sudo gedit /etc/apt/sources.list
deb http://www.albertomilone.com/drivers/da ... test/32bit binary/
deb http://ubuntu.beryl-project.org dapper/ main
deb http://download.tuxfamily.org/3v1deb dapper beryl-svn
-----------------------------------------------------
deb http://www.beerorkid.com/compiz dapper main
deb http://media.blutkind.org/xgl/ dapper main
deb http://compiz-mirror.lupine.me.uk/ dapper main
deb http://ubuntu.compiz.net/ dapper main
deb http://dev.realistanew.com/beryl dapper beryl

5、安装钥匙(此处是可选的么?用虚线上的还是用虚线下的?)
wget http://albertomilone.com/drivers/tseliot.asc
sudo apt-key add tseliot.asc
wget http://ubuntu.beryl-project.org/root@lupine.me.uk.gpg -O- | sudo apt-key add -
wget http://download.tuxfamily.org/3v1deb/DD800CD9.gpg -O- | sudo apt-key add -
-----------------------------------------------------
wget http://www.beerorkid.com/compiz/quinn.key.asc -O - | sudo apt-key add -
wget http://media.blutkind.org/xgl/quinn.key.asc -O - | sudo apt-key add -
wget http://compiz-mirror.lupine.me.uk/quinn.key.asc -O - | sudo apt-key add -
wget http://ubuntu.compiz.net/quinn.key.asc -O - | sudo apt-key add -

6、安装Beryl(用虚线上的还是用虚线下的?)
sudo apt-get install beryl emerald emerald-themes
-----------------------------------------------------
sudo apt-get install beryl-core beryl-plugins beryl-plugins-data emerald beryl-settings beryl-manager beryl beryl-dev emerald-themes

7、需要安装XGL和安装AIGLX么?用下面的安装命令对不对?
sudo apt-get install xserver-xgl
sudo apt-get install xserver-xorg-air-core linux-dri-modules-common linux-dri-modules-`uname -r`

8、对/etc/X11/xorg.conf文件,如下的操作是在启用AIGLX么?是否要修改?应该怎么修改?
sudo gedit /etc/X11/xorg.conf
把下面的代码添加到 Screen 节点
# Enable 32-bit ARGB GLX Visuals
Option "AddARGBGLXVisuals" "True"
# If you are using an older version of compiz that
# does not support rendering into the Composite
# Overlay Window, you will need to disable clipping
# of GLX rendering to the X Root window with this
# option, or you will get a blank screen after
# starting compiz:
Option "DisableGLXRootClipping" "True"
把下面的代码添加到Device节点
Option "TripleBuffer" "true"
添加如下一项:
Section "Extensions"
Option "Composite" "Enable"
EndSection
确保Section "Device" 条目下面 Driver 项目"nv"设置成 "nvidia".
Section “ServerLayout”这一小节,添加一个选项:
Option “AIGLX” “true”

9、对/etc/gdm/gdm.conf-custom文件,如下的修改是在启用XGL么?是否要修改?又应该怎么修改?
sudo gedit /etc/gdm/gdm.conf-custom,
在[servers] 后面加入:
0=Xgl
[server-Xgl]
name=Xgl server
command=/usr/bin/Xgl -fullscreen -ac -accel glx:pbuffer -accel xv:fbo
flexible=true
或者:
0=Xgl
[server-Xgl]
name=Xgl server
command=/usr/bin/Xgl -fullscreen -br -accel glx:pbuffer -accel xv:fbo
flexible=true

10、请各位好心人仔细阅读后回答,以释我心中疑惑,帮我解决安装3D桌面的问题,也希望对其他的网友有所借鉴!谢谢!

发表于 : 2007-04-20 11:16
visorjoe
個人也很好奇這二個XGL跟AIGLX有什麼不同,我在7.04下安裝都無問題
我是使用nvidia 6200的顯卡,使用上來講XGL比較順,但是會有功能不足的問題,有時會破圖
AIGLX感覺鋸齒比較嚴重,但是所有特效都完整

使用7.04比較方便啦,我也沒特別去設定就可以運行無誤了 :wink:

发表于 : 2007-04-20 12:32
zigzed
XGL 和 AIGLX 都是让 Xserver 利用OpenGL的能力的扩展。XGL是将整个Xserver建立在openGL上。AIGLX是对Xserver增加了几个支持openGL的特性。他们各有千秋,并且不同显卡对于XGL/AIGLX支持各不相同。XGL由Novel提出,AIGLX由RedHat提出。

Beryl则是一个WM。可以认为类似metacity的东西。

发表于 : 2007-04-20 13:16
netfalcon
如果是ATI的显卡就参考这个就行了!!
http://www.howtoforge.com/ubuntu_feisty ... ati_radeon
7.04按照这个,很快就可以搞定!!
不官方的驱动,用SGI的驱动就可以!
输入
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
就说明你的驱动正常。