LinuxSir.cn,穿越时空的Linuxsir!

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

FC5 下安装Xgl + compiz

[复制链接]
 楼主| 发表于 2006-3-28 18:24:02 | 显示全部楼层
Post by mafuzimeng
请问楼主用的内核是哪个?
还有我是nvidia的显卡.装xgl之前要不要先装驱动.


当然要啦,我用自己编译的2.6.16内核,不过我是ATI的卡
回复 支持 反对

使用道具 举报

发表于 2006-3-28 19:02:46 | 显示全部楼层
那我有一次可能是装成功了.不过老是花屏.动态效果也有.还有那个窗口的边框也没有

是不是这一步我弄错了

在编译compiz之前有一个准备工作,要下载control-center-2.14.0.tar.bz2源码:
解开:tar -jxvf control-center-2.14.0.tar.bz2
./configure --prefix=/usr --sysconfdir=/etc --infodir=/usr/share/info --mandir=/usr/share/man --sharedstatedir=/usr/share/com --localstatedir=/var
configure完了以后不要直接make,而是进入libwindow-settings目录
cd libwindow-settings
make && make install

在libwindow-settings这个目录里面执行make && make install后
那要不要再到control-center-2.14.0这个目录里面再make && make install
然后再装compiz

还有这一点

注意事项:
如果是使用fglrx驱动的话,记得Xgl要从DISPLAY 1启动,即

代码:
/usr/bin/Xgl :1 -fullscreen -ac -accel glx:pbuffer -accel xv:pbuffer而不是

代码:
/usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:pbuffer

我nvidia的驱动是不是用
/usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:pbuffer这个
回复 支持 反对

使用道具 举报

发表于 2006-3-28 20:39:56 | 显示全部楼层
终于成功了,谢谢Rockmen,不过没有边框。
另外楼主的ATI显卡怎么装的,我的9600装了驱动屏幕就全黑了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-28 22:14:08 | 显示全部楼层
Post by mafuzimeng
那我有一次可能是装成功了.不过老是花屏.动态效果也有.还有那个窗口的边框也没有

是不是这一步我弄错了

在编译compiz之前有一个准备工作,要下载control-center-2.14.0.tar.bz2源码:
解开:tar -jxvf control-center-2.14.0.tar.bz2
./configure --prefix=/usr --sysconfdir=/etc --infodir=/usr/share/info --mandir=/usr/share/man --sharedstatedir=/usr/share/com --localstatedir=/var
configure完了以后不要直接make,而是进入libwindow-settings目录
cd libwindow-settings
make && make install

在libwindow-settings这个目录里面执行make && make install后
那要不要再到control-center-2.14.0这个目录里面再make && make install
然后再装compiz


不需要了

Post by mafuzimeng
还有这一点

注意事项:
如果是使用fglrx驱动的话,记得Xgl要从DISPLAY 1启动,即

代码:
/usr/bin/Xgl :1 -fullscreen -ac -accel glx:pbuffer -accel xv:pbuffer而不是

代码:
/usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:pbuffer

我nvidia的驱动是不是用
/usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:pbuffer这个


如果是nvidia的话是:
  1. usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:fbo
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-28 22:16:47 | 显示全部楼层
Post by benzcomp
终于成功了,谢谢Rockmen,不过没有边框。
另外楼主的ATI显卡怎么装的,我的9600装了驱动屏幕就全黑了。


没有边框是没有运行gnome-window-decorator,这个东东是compiz里面的,configure到最后的时候如果它有提示“gnome: yes”,那么应该会编译gnome-window-decorator
回复 支持 反对

使用道具 举报

发表于 2006-3-29 00:11:36 | 显示全部楼层
~/myfile/software/fc5xgl/xserver/xorg @root#>./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
libtoolize: `config.guess' exists: use `--force' to overwrite
libtoolize: `config.sub' exists: use `--force' to overwrite
libtoolize: `ltmain.sh' exists: use `--force' to overwrite
autoreconf: running: /usr/bin/autoconf
autoreconf: running: /usr/bin/autoheader
autoreconf: running: automake --add-missing --copy --no-force
hw/dmx/doc/Makefile.am:24: BUILD_LINUXDOC does not appear in AM_CONDITIONAL
hw/dmx/doc/Makefile.am:27: BUILD_PDFDOC does not appear in AM_CONDITIONAL
hw/xfree86/doc/sgml/Makefile.am:24: BUILD_LINUXDOC does not appear in AM_CONDITIONAL
hw/xfree86/doc/sgml/Makefile.am:27: BUILD_PDFDOC does not appear in AM_CONDITIONAL
autoreconf: automake failed with exit status: 1

楼主帮帮忙   我已经按照你说的把出版和发行里面所有的包都安装好了但还是有提示这个问题,你前面提到的那几个doc包我都有,而且还比你的多很多,请问我该怎么办阿?
回复 支持 反对

使用道具 举报

发表于 2006-3-29 08:33:38 | 显示全部楼层
Post by rockmen
没有边框是没有运行gnome-window-decorator,这个东东是compiz里面的,configure到最后的时候如果它有提示“gnome: yes”,那么应该会编译gnome-window-decorator

没问我啊,再说也没有configure这一步啊 ,autogen的时候最后出现:
the following optional plugins will be compiled:
  gconf: yes
  place: yes
  svg:   no

and the following optional features will be compiled:
  gnome: no
  kde:   no

问题解决了,少了几个库,不知道是哪个,反正都装了就好了。
Compiz will be built with gnome-window-decorator only if cairo is installed and pango and gtk+ are built against it. gnome-base/control-center and libwnck are also required.

又有问题了,窗口怎么出透明效果啊?
回复 支持 反对

使用道具 举报

发表于 2006-3-29 09:50:48 | 显示全部楼层
checking for XSERVERCFLAGS... configure: error: Package requirements (randrproto renderproto fixesproto damageproto xcmiscproto xextproto xproto xtrans xf86miscproto xf86vidmodeproto xf86bigfontproto scrnsaverproto bigreqsproto resourceproto fontsproto inputproto xf86dgaproto videoproto compositeproto trapproto recordproto resourceproto xineramaproto evieproto xkbfile xfont xau fontenc xdmcp) were not met:

No package 'xkbfile' found
Package fontenc was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontenc.pc'
to the PKG_CONFIG_PATH environment variable
Package 'fontenc', required by 'Xfont', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XSERVERCFLAGS_CFLAGS
and XSERVERCFLAGS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

________________________________________________________________________
出现这么一个错误,我是严格按照前面的顺序操作的,为什么啊 ,xkbfile编译和安装毫无问题的,我用yum安装xkbfile,fontenc也还是如此。google搜到的都是法语的。
回复 支持 反对

使用道具 举报

发表于 2006-3-29 10:58:09 | 显示全部楼层
我的也是这样,怎么解决呀???
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-29 10:59:33 | 显示全部楼层
Post by lexchou
checking for XSERVERCFLAGS... configure: error: Package requirements (randrproto renderproto fixesproto damageproto xcmiscproto xextproto xproto xtrans xf86miscproto xf86vidmodeproto xf86bigfontproto scrnsaverproto bigreqsproto resourceproto fontsproto inputproto xf86dgaproto videoproto compositeproto trapproto recordproto resourceproto xineramaproto evieproto xkbfile xfont xau fontenc xdmcp) were not met:

No package 'xkbfile' found
Package fontenc was not found in the pkg-config search path.
Perhaps you should add the directory containing `fontenc.pc'
to the PKG_CONFIG_PATH environment variable
Package 'fontenc', required by 'Xfont', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XSERVERCFLAGS_CFLAGS
and XSERVERCFLAGS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

________________________________________________________________________
出现这么一个错误,我是严格按照前面的顺序操作的,为什么啊 ,xkbfile编译和安装毫无问题的,我用yum安装xkbfile,fontenc也还是如此。google搜到的都是法语的。


是他们的devel包喔
回复 支持 反对

使用道具 举报

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

本版积分规则

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