LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2015|回复: 11

Fedora 7 的compiz fusion 问题

[复制链接]
发表于 2007-8-25 19:54:28 | 显示全部楼层 |阅读模式
以前使用fedora 7 自带的compiz 桌面3D效果基本正常(除了偶尔出现边框消失之外),自从升级了compiz 之后就出现菜单、任务栏阴影为白色的现象(菜单周围一圈白色)。运行desktop-effects之后提示如下:
[way@way ~]$ desktop-effects
False
True
* Executing: /usr/bin/compiz --replace --sm-disable --ignore-desktop-hints ccp
* Intel found, exporting: INTEL_BATCH=1
* No GLX_EXT_texture_from_pixmap present with direct rendering context
... present with indirect rendering, exporting: LIBGL_ALWAYS_INDIRECT=1
/usr/bin/compiz (cube) - Warn: Failed to load slide: freedesktop
/usr/bin/compiz (cubecaps) - Warn: Failed to load image: fusioncap.png
/usr/bin/compiz (cubecaps) - Warn: Failed to load image: compizcap.png
/usr/bin/desktop-effects:200: GtkDeprecationWarning: gtk.timeout_add is deprecated, use gobject.timeout_add instead
  gtk.timeout_add(1000, update_timer_label,timerdata)
False
5165
True
* Executing: /usr/bin/compiz --replace --sm-disable --ignore-desktop-hints ccp
* Intel found, exporting: INTEL_BATCH=1
* No GLX_EXT_texture_from_pixmap present with direct rendering context
... present with indirect rendering, exporting: LIBGL_ALWAYS_INDIRECT=1
/usr/bin/compiz (cube) - Warn: Failed to load slide: freedesktop
/usr/bin/compiz (cubecaps) - Warn: Failed to load image: fusioncap.png
/usr/bin/compiz (cubecaps) - Warn: Failed to load image: compizcap.png

后来安装了beryl 之后一切正常,但是compiz 则是一直没有边框。最后安装了最新的compiz fusion,仍然是没有边框。我的显卡是intel 的82945G/GZ 集成显卡,xorg 如下:
# Xorg configuration created by system-config-display

Section "ServerLayout"
        Identifier     "single head configuration"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option            "XkbModel" "pc105"
        Option            "XkbLayout" "us"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "i810"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

哪位老大知道是什么地方出了问题?
 楼主| 发表于 2007-8-25 19:58:11 | 显示全部楼层
在装好compiz fusion后,运行compiz --replace 结果如下:
[way@way ~]$ compiz --replace
compiz (core) - Fatal: GLX_EXT_texture_from_pixmap is missing
compiz (core) - Error: Failed to manage screen: 0
compiz (core) - Fatal: No manageable screens found on display :0.0
回复 支持 反对

使用道具 举报

发表于 2007-8-25 23:23:31 | 显示全部楼层
如果是fusion的话,应该用fusion-icon启动compiz,就没问题了。
桌面上Alt+F2,fusion-icon试试。
回复 支持 反对

使用道具 举报

发表于 2007-8-26 00:53:53 | 显示全部楼层
同上。。窗口装饰器选emerlad
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-27 10:00:49 | 显示全部楼层
to sinnim:
我现在是一启动就没有边框,运行fusion icon仍然没有边框,但是用Ctrl+Alt+Backspace重启X(有时候要重启几次)之后才能有边框。如果直接用desktop-effects 则是没有调用emerlad,阴影都是白色的。

to biAji:
我一直用的是emerlad。。。有时候还是没有边框,只有重启X才有可能正常。
回复 支持 反对

使用道具 举报

发表于 2007-8-27 10:37:03 | 显示全部楼层
能不能说一下你是怎么安装的fusion?是用的kagesenshi源吗?如果之前用官方源安装过beryl和emerlad,把beryl和emerlad都删了,再安装emerlad。可能有冲突。
再不行的话,自己先看看出错信息吧。
回复 支持 反对

使用道具 举报

发表于 2007-8-27 10:37:03 | 显示全部楼层
能不能说一下你是怎么安装的fusion?是用的kagesenshi源吗?如果之前用官方源安装过beryl和emerlad,把beryl和emerlad都删了,再安装emerlad。可能有冲突。
再不行的话,自己先看看出错信息吧。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-27 17:13:39 | 显示全部楼层
to sinnim:
我用的是kagesenshi源,之前用官方源安装过beryl和emerlad,一直是compiz 没有边框而beryl正常,前几天我把beryl和emerlad都删了,再单独安装emerlad和emerlad themes,compiz有时候会正常,但通常需要重启几次X。一般开机显示没有窗口管理器可用,然后我就使用compiz --replace或者desktop-effects或者gnome-wm运行几次,一般刚开始是出现阴影部分全部显示为白色或者没有边框,重启几次X之后就会正常了,呵呵。。。。最近没有什么时间花在这上面,所以每次一正常我就不管了,但是第二天一开机仍然又是老问题。
回复 支持 反对

使用道具 举报

发表于 2007-8-27 21:29:49 | 显示全部楼层
有一种说法是这样的:


导致这些问题的根源就在于/etc/X11/xorg.conf.
如果你的compiz或beryl不能正常运行,请试试下面的方法。
首先,先请对这个文件备份,避免无效后无法使用图形界面。

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup2

在Section "Screen"段中加入

Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"

并在文件末尾加上

Section "Extensions"
Option "Composite" "Enable"
EndSection
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-8-28 11:14:15 | 显示全部楼层
to biAji:
xorg配置文件是不是与显卡有关?我在网上看到的基本上都是针对nVidia 和ATi 的显卡,而我用的是集成的intel 显卡,不知道有没有关系,我还是先试一下吧。
回复 支持 反对

使用道具 举报

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

本版积分规则

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