LinuxSir.cn,穿越时空的Linuxsir!

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

beryl问题:运行beryl后,窗口的标题栏不见了

[复制链接]
发表于 2006-12-2 16:25:33 | 显示全部楼层 |阅读模式
请教大家,我使用nvidia 1.0.9629-2驱动
下面是我运行beryl时产生的信息:
[root@myhost ~]# beryl
XGL Absent, checking for NVIDIA
Nvidia Present
Relaunching beryl with __GL_YIELD="NOTHING"
XGL Absent, checking for NVIDIA
Nvidia Present
beryl: No stencil buffer. Clipping of transformed windows is not going to be correct when screen is transformed.
Initiating splash
Reloading all options.

不知道为什么运行beryl后,窗口的标题栏不见了,使用起来不习惯。
大家帮忙下!!

xorg.conf文件
[quote]
Section "ServerLayout"
        Identifier     "Xorg Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "S/2 Mouse" "CorePointer"
# Serial Mouse not detected
# USB Mouse not detected
EndSection

Section "ServerFlags"
        Option "AllowMouseOpenFail"  "true"
       
EndSection

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc:unscaled"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/75dpi:unscaled"
        FontPath     "/usr/share/fonts/75dpi"
        FontPath     "/usr/share/fonts/100dpi:unscaled"
        FontPath     "/usr/share/fonts/100dpi"
        FontPath     "/usr/share/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
        FontPath     "/usr/share/fonts/cyrillic"
#        FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
#        FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
        FontPath     "/usr/share/fonts/Type1"
        FontPath     "/usr/share/fonts/ttf/western"
        FontPath     "/usr/share/fonts/ttf/decoratives"
        FontPath     "/usr/share/fonts/truetype"
        FontPath     "/usr/share/fonts/truetype/openoffice"
        FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
        FontPath     "/usr/share/fonts/latex-ttf-fonts"
        FontPath     "/usr/share/fonts/defoma/CID"
        FontPath     "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
        Load  "dbe"
        Load  "dri"
        Load  "extmod"
        Load  "glx"
        Load  "bitmap" # bitmap-fonts
        Load  "type1"
        Load  "freetype"
        Load  "record"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "CoreKeyboard"
        Option "XkbRules" "xorg"
        Option "XkbModel" "pc105"
        Option "XkbLayout" ""
        Option "XkbVariant" ""
EndSection

Section "InputDevice"
        Identifier  "Serial Mouse"
        Driver      "mouse"
        Option      "rotocol" "Microsoft"
        Option      "Device" "/dev/ttyS0"
        Option      "Emulate3Buttons" "true"
        Option      "Emulate3Timeout" "70"
        Option            "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier  "S/2 Mouse"
        Driver      "mouse"
        Option      "rotocol" "auto"
        Option          "ZAxisMapping"          "4 5"
        Option      "Device" "/dev/psaux"
        Option      "Emulate3Buttons" "true"
        Option      "Emulate3Timeout" "70"
        Option            "SendCoreEvents"  "true"
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
        Option                "SendCoreEvents"        "true"
        Option          "rotocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection

# Auto-generated by Archie mkxcfg

Section "Monitor"
        Identifier "Monitor0"
                Option "DPMS" "true"
#        HorizSync    28.0 - 78.0 # Warning: This may fry very old Monitors
        HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
        VertRefresh  50.0 - 75.0 # Very conservative. May flicker.
#        VertRefresh  50.0 - 62.0 # Extreme conservative. Will flicker. TFT default.
        #  Default modes distilled from
        #      "VESA and Industry Standards and Guide for Computer Display Monitor
        #       Timing", version 1.0, revision 0.8, adopted September 17, 1998.
        #  $XFree86: xc/programs/Xserver/hw/xfree86/etc/vesamodes,v 1.4 1999/11/18 16:52:17 tsi Exp $
        # 640x350 @ 85Hz (VESA) hsync: 37.9kHz
        ModeLine "640x350"    31.5  640  672  736  832    350  382  385  445 +hsync -vsync
        # 640x400 @ 85Hz (VESA) hsync: 37.9kHz
        ModeLine "640x400"    31.5  640  672  736  832    400  401  404  445 -hsync +vsync
        # 720x400 @ 85Hz (VESA) hsync: 37.9kHz
        ModeLine "720x400"    35.5  720  756  828  936    400  401  404  446 -hsync +vsync
        # 640x480 @ 60Hz (Industry standard) hsync: 31.5kHz
        ModeLine "640x480"    25.2 %
发表于 2006-12-2 21:22:52 | 显示全部楼层
回复 支持 反对

使用道具 举报

发表于 2006-12-5 01:59:22 | 显示全部楼层
和我出现的问题一样,都是没有解决呢
回复 支持 反对

使用道具 举报

发表于 2006-12-5 17:02:26 | 显示全部楼层
同问阿,beryl的所有效果都很好了,可惜就是没有标题栏等
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-5 17:09:26 | 显示全部楼层
终于弄好了哦
回复 支持 反对

使用道具 举报

发表于 2006-12-5 19:10:28 | 显示全部楼层
Post by linuxost
终于弄好了哦

可以告诉我是怎么弄的吗?我的是nvidia fx 5200,装的是官方驱动.启动后效果正常,但是也是没有标题栏等"decoration"
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-5 19:27:16 | 显示全部楼层
虽然弄好了,但是也不太清楚是怎么回事。我使用的是官方驱动,没用nvidia-beta。然后我最不清楚的就是不知道怎么折腾把wiki上说明的xgl给装上了。开始一直提示说glproto-git和glproto冲突,后来火大,把nvidia升到最新把beryl-svn给全卸了,清空了/var/cache/pacman/pkg里的包清掉,然后先装了glproto-git和compiz-git吧,这步是按xgl的官方wiki上说的做,这次似乎没冲突了,然后再装beryl,启动beryl,似乎还是不行,然后又接着把xorg.conf中
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 16
SubSection "Display"

中的16改24,似乎可以了。
现在我也不确定是不是16到24,改完成功,还是和glproto-git安装完可以运行有关系,你试试看吧,有结果要告诉我哦!
一起学习~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-5 19:27:36 | 显示全部楼层
虽然弄好了,但是也不太清楚是怎么回事。我使用的是官方驱动,没用nvidia-beta。然后我最不清楚的就是不知道怎么折腾把wiki上说明的xgl给装上了。开始一直提示说glproto-git和glproto冲突,后来火大,把nvidia升到最新把beryl-svn给全卸了,清空了/var/cache/pacman/pkg里的包清掉,然后先装了glproto-git和compiz-git吧,这步是按xgl的官方wiki上说的做,这次似乎没冲突了,然后再装beryl,启动beryl,似乎还是不行,然后又接着把xorg.conf中
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 16
SubSection "Display"

中的16改24,似乎可以了。
现在我也不确定是不是16到24,改完成功,还是和glproto-git安装完可以运行有关系,你试试看吧,有结果要告诉我哦!
一起学习~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-12-5 19:29:58 | 显示全部楼层
晕啊,点着点着就发了两次
回复 支持 反对

使用道具 举报

发表于 2006-12-5 20:03:32 | 显示全部楼层
奇怪,好像compiz跟beryl没冲突的吧?两个都是window manager,但是我的xorg.conf里面,DefaultDepth 已经是24了.我也贴一贴我的xorg.conf,是nvidia官网上nvidia-xconfig生成的.哪位能帮我看看...

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (root@localhost.localdomain)  2006年 12月 02日 星期六 11:03:14 CST

# Xorg configuration created by system-config-display

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

Section "Files"

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, a font server independent of the X server is
# used to render fonts.
    FontPath        "unix/:7100"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "fbdevhw"
    Load           "glx"
    Load           "record"
    Load           "freetype"
    Load           "type1"
EndSection

Section "InputDevice"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#        Option        "Xleds"                "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#        Option        "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#        Option        "XkbModel"        "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#        Option        "XkbModel"        "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#        Option        "XkbLayout"        "de"
# or:
#        Option        "XkbLayout"        "de"
#        Option        "XkbVariant"        "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#        Option        "XkbOptions"        "ctrl:swapcaps"
# Or if you just want both to be control, use:
#        Option        "XkbOptions"        "ctrl:nocaps"
#
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "rotocol" "IMPS/2"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons" "yes"
EndSection

Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
    Identifier     "Monitor0"
    VendorName     "Monitor Vendor"
    ModelName      "HILIPS 107B"
    DisplaySize     310    230
    HorizSync       30.0 - 86.0
    VertRefresh     50.0 - 160.0
    Option         "dpms"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "Videocard vendor"
    BoardName      "nVidia Corporation NV34 [GeForce FX 5200]"
        #Option                   "NoLogo" "True"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Viewport    0 0
        Depth       16
        Modes      "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes      "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
回复 支持 反对

使用道具 举报

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

本版积分规则

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