LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: yongjian

配置XGL - 实现如OSX般的超酷桌面

[复制链接]
发表于 2006-3-1 00:49:50 | 显示全部楼层
还有一个问题,正常使用 Xorg 时3D很正常,运行 glxgears非常流畅。
但是使用 Xgl 时,运行 glxgears 就很慢,因此运行 start_compiz 时窗口动画也非常慢。
不知何解?
我的是 GeForce FX 5200  显卡。
回复 支持 反对

使用道具 举报

发表于 2006-3-1 01:18:19 | 显示全部楼层
突然想:如果xgl用在e17上是什么样子。。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-1 02:01:10 | 显示全部楼层
Post by 天蝎网子
按照how to安装完,重启后。进入X有点卡。

在终端输入start_compiz后,程序的边框都没了。。。而且位置不能移动了。

以下是错误信息。。。

chen@ubuntu:~$ start_compiz
chen@ubuntu:~$ Fontconfig error: line 1: xml declaration not at start of external entity
Fontconfig error: Cannot load default config file
compiz.real: GLX_EXT_texture_from_pixmap is missing
compiz.real: Failed to manage screen: 0
compiz.real: No managable screens found on display :1.0


是不是因为我装了文泉驿??

Not sure about 文泉驿... but why your display is pointing to 1:0? If you use nVidia card, you should always use 0.0, so check your gdm.conf-custom file and make sure its using 0.0. For the GLX_EXT_texture_from_pixmap missing issue, you will probably have to compile the newest glitz package cause I heard many people had this problem because of their cards are not well compatible. Maybe do a
  1. fc-cache -fv
复制代码
first and then restart xgl and compiz.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-1 02:06:03 | 显示全部楼层
Post by lvjinhua
还有一个问题,正常使用 Xorg 时3D很正常,运行 glxgears非常流畅。
但是使用 Xgl 时,运行 glxgears 就很慢,因此运行 start_compiz 时窗口动画也非常慢。
不知何解?
我的是 GeForce FX 5200  显卡。

As far as I know, XGL doesn't use direct rendering. Look at your glxinfo, you will see that. so there are many apps need to be tweaked individually. But even though, I tried glxgear on both env and found not much differences. You card should be fine cause I have a Gefore4 MMX which is running fine. what's the difference of your glxgear b/w using Xorg and XGL?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-1 02:09:25 | 显示全部楼层
Post by The_Owl
多谢楼主的分享,今天终于把xgl安装完毕,非常酷,而且很流畅,很稳定

唯一不足的是,播放电影的时候卡的厉害,不知道是不是有设置可以改善?

还有就是我的德语键盘的特殊符号键失效了。。。

what app you use to play movies? If totem-xine, then try this:

  1. vi ~/.gnome2/totem_config
复制代码

find these lines:

  1. # video driver to use
  2. # string, default: auto
  3. #video.driver:auto
复制代码

and change to:

  1. # video driver to use
  2. # string, default: auto
  3. video.driver:OpenGL
复制代码

which means it will use OpenGL engine to render the graphic. See if it helps. For your kb, I don't know much of that but maybe you can try

  1. xmodmap /usr/share/xmodmap/xmodmap.<your_lang>
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-1 03:02:59 | 显示全部楼层
Post by 天蝎网子
按照how to安装完,重启后。进入X有点卡。

在终端输入start_compiz后,程序的边框都没了。。。而且位置不能移动了。

以下是错误信息。。。

chen@ubuntu:~$ start_compiz
chen@ubuntu:~$ Fontconfig error: line 1: xml declaration not at start of external entity
Fontconfig error: Cannot load default config file
compiz.real: GLX_EXT_texture_from_pixmap is missing
compiz.real: Failed to manage screen: 0
compiz.real: No managable screens found on display :1.0


是不是因为我装了文泉驿??

someone posted a small tips for this issue. Give a try and see how it goes...
"Ok here is a tip solving the "compiz: GLX_EXT_texture_from_pixmap is missing" once and for all (here at last
The fact is nvidia-glx removes libgl1-mesa's /usr/lib/libGL.so.1.2, and makes libGL.so.1 point to NVidia's libGL.so.1.0.8178, which does NOT support GLX_EXT_texture_from_pixmap function.
Simple trick, nvidia-glx moves /usr/lib/libGL.so.1.2 to /usr/lib/nvidia/libGL.so.1.2.xlibmesa, so just

  1. ln -sf /usr/lib/nvidia/libGL.so.1.2.xlibmesa usr/lib/nvidia/libGL.so.1
复制代码

Use the original doc from this thread, and you're done.Please note i've not tested yet if this has side effects over other OpenGL apps like games and such."
回复 支持 反对

使用道具 举报

发表于 2006-3-1 04:09:30 | 显示全部楼层
多谢楼主的解答,按照楼主的设置现在都已经正常了,呵呵
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-1 04:51:42 | 显示全部楼层
enjoy!
回复 支持 反对

使用道具 举报

发表于 2006-3-1 06:40:20 | 显示全部楼层
Post by yongjian
Not sure about 文泉驿... but why your display is pointing to 1:0? If you use nVidia card, you should always use 0.0, so check your gdm.conf-custom file and make sure its using 0.0. For the GLX_EXT_texture_from_pixmap missing issue, you will probably have to compile the newest glitz package cause I heard many people had this problem because of their cards are not well compatible. Maybe do a
  1. fc-cache -fv
复制代码
first and then restart xgl and compiz.

忘了跟你说了。。。我的显卡是 ATI Mobility Radeon X600,在本本上跑的dapper...
回复 支持 反对

使用道具 举报

发表于 2006-3-1 10:28:24 | 显示全部楼层
ATi Radeon® XPRESS 200M 支持吗?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表