LinuxSir.cn,穿越时空的Linuxsir!

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

用于FC5的Xgl Compiz rpm安装包

[复制链接]
发表于 2006-5-13 14:41:12 | 显示全部楼层
to uyoung:
确实是对编码敏感~不过应该不是包的问题。我startx也发现badlength时有发生~
无奈啊,总要和mm聊天的嘛,遂换回init 5用gdm启动了~~居然就正常~~
原因研究中~~~
只装了包,没有用任何脚本~~甚至没有自己写~~手动了哈~~

to aaccdd老大:

/usr/lib/libGL.so是mesa的~~
用ati的libGL也是可以启动Xgl的,用哪个libGL启动Xgl,甚至是Xorg都出现过badlength的问题。在gentoo wiki上看到似乎只要用ati的GL header编译mesa,就可以正常用ati的libGL了。没耐心搞了~~~教育网用cvs真是痛苦啊
回复 支持 反对

使用道具 举报

发表于 2006-5-14 12:06:28 | 显示全部楼层
在xgl-settings里面58行最后cp了什么,好像不全哦。
还有就是105行应该是fi,我下载的文件是if。
楼主辛苦了
回复 支持 反对

使用道具 举报

发表于 2006-5-14 12:26:43 | 显示全部楼层
**************************************************************
*安装时,直接用yum安装xgl和compiz即可,libsvg,libsvg-cairo,bugle,glew已经 *
*编译在 内,无需另外安装。                                                       *
**************************************************************
现在仓库中有xgl和compiz了吗?
楼主的直接用yum安装xgl和compiz到底何解啊?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-5-14 12:29:51 | 显示全部楼层
谢谢提醒,已经修改;
58行是unalias cp, 暂时取消对cp的alias设置。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-5-14 12:32:45 | 显示全部楼层
回复#53楼,
使用yum安装解决依赖的意思是:
安装xgl和compiz需要一些共享库的支持,让yum来完成这个工作,省得自己动手去找;
你放心,软件仓库里一时半会儿不会有xgl和compiz的包。
回复 支持 反对

使用道具 举报

发表于 2006-5-14 14:12:33 | 显示全部楼层
gdm起不来,说什么非法参数vt7。custom.conf里的command没有vt7啊,是怎么回事那?
这个应该是传给xorg的吧,怎么就加到xgl后了呢?
回复 支持 反对

使用道具 举报

发表于 2006-5-14 15:24:05 | 显示全部楼层
楼上的兄弟将/etc/gdm/custom.conf中
0=Standard改为1=Standard试试
回复 支持 反对

使用道具 举报

发表于 2006-5-14 16:39:40 | 显示全部楼层
Post by Mandriva
楼上的兄弟将/etc/gdm/custom.conf中
0=Standard改为1=Standard试试

可以运行但是仍然有那个错误,而且其他的tty会out of range,无法显示了。
我是这么解决的:
/usr/share/gdm/defaults.conf里,改
VTAllocation=false
/etc/gdm/custom.conf里:
[servers]
0=Standard
[server-Standard]
name=Standard server
command=/usr/bin/Xgl :0 -ac -accel glx:pbuffer -accel xv:pbuffer -audit 0 -fullscreen tty7
其实就是xgl里的参数tty7相当于xorg的vt7。

不过仍有个问题,就是glxinfo:
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
display: :0  screen: 0
direct rendering: No

不过xmame用opengl驱动时不卡,而且glxgears:
25110 frames in 5.0 seconds = 5018.028 FPS
24991 frames in 5.0 seconds = 4983.669 FPS
25097 frames in 5.0 seconds = 5012.049 FPS
24983 frames in 5.0 seconds = 4994.881 FPS

但是ppracer不行:
*** ppracer error: Couldn't initialize video: Couldn't find matching GLX visual (Success)

torcs可以运行,但贴图一塌糊涂:
[delimy@COIN ~]$ torcs
freeglut (/usr/lib/torcs/torcs-bin): WARNING - Display string token not recognized:  depth>=24
Visual Properties Report
------------------------
z-buffer depth: 24 (good)
multisampling : available
alpha bits    : available
freeglut (/usr/lib/torcs/torcs-bin): Unable to create direct context rendering for window '/usr/lib/torcs/torcs-bin'
This may hurt performance.
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
WARNING: ssgLoadTexture: Cannot determine file type for './(null)'
Bad Car category for driver cylos1
Bad Car category for driver Tanhoj
OpenAL backend info:
  Vendor: OpenAL Community
  Renderer: Software
  Version: 1.1
  Available sources: 1024 or more
  Available buffers: 1024 or more
  Dynamic Sources: requested: 1003, created: 1003
  #static sources: 21
  #dyn sources   : 1003

xorg.conf里加
Option "KernelModuleParm" "agplock=0"
也试过了,没有用。

按照gentoo-wiki的说法:
    *  Mobility Radeon 9600 M10
          o Chipset: RV350
          o Driver: ati-drivers-8.22.5, 8.23.7
          o Notes: No DRI; heavy CPU usage; can't watch videos at fullscreen smoothly on 1.7 Pentium M - I can't watch videos at fullscreen with regular xorg on 1.5 Pentium M

但是我确定,用aaccdd老大5.10的包时有过DRI。现在用5.14的了,没折腾出来
我的是8.24.8的fglrx,livna上的。
回复 支持 反对

使用道具 举报

发表于 2006-5-14 16:44:39 | 显示全部楼层
我的super键不好使呢~~应该用什么键盘驱动那
回复 支持 反对

使用道具 举报

发表于 2006-5-14 17:47:37 | 显示全部楼层
用display: 0可以就改/etc/gdm/custom.conf吧,
还是不要改/usr/share/gdm/default.conf,
毕竟gdm优先读取/etc/gdm/cutom.conf,而且也安全些;
刚才没说,要用display: 1时需要把0=Standard注释掉,
不过能用:0干吗要用:1?

有过dri吗?:ask

Super键不好用,试试用gconf-editor能不能换个旁的键用?
回复 支持 反对

使用道具 举报

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

本版积分规则

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