LinuxSir.cn,穿越时空的Linuxsir!

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

关于beryl与xgl问题!~

[复制链接]
发表于 2006-12-18 21:44:55 | 显示全部楼层 |阅读模式
运行beryl-manager,可以出现窗口管理器,但却有
playboy@prince:~> compiz: No composite extension

退出beryl
运行Xgl

X Window System Version 6.9.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
Build Operating System: SuSE Linux [ELF] SuSE
Current Operating System: Linux prince 2.6.16.21-0.8-smp #1 SMP Mon Jul 3 18:25:39 UTC 2006 i686
Build Date: 16 June 2006
        Before reporting problems, check http://wiki.X.Org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.93.log", Time: Mon Dec 18 21:28:14 2006
(==) Using config file: "/etc/X11/xorg.conf"
Could not init font path element /usr/X11R6/lib/X11/fonts/local, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/CID, removing from list!
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already running


输出/var/log/Xorg.93.log部分内容如下:
playboy@prince:~> cat /var/log/Xorg.93.log | grep WW
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/X11R6/lib/X11/fonts/Speedo" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/PEX" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/cyrillic" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/latin2/misc" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/latin2/75dpi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/latin2/100dpi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/latin2/Type1" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/latin7/75dpi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/baekmuk" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/japanese" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/kwintv" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/ucs/misc" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/ucs/75dpi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/ucs/100dpi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/hellas/misc" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/hellas/75dpi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/hellas/100dpi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/hellas/Type1" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/misc/sgi" does not exist.
(WW) The directory "/usr/X11R6/lib/X11/fonts/xtest" does not exist.
(WW) NVIDIA(0): No valid modes for "1024x600"; removing.
(WW) NVIDIA(0): No valid modes for "768x576"; removing.
(WW) NVIDIA(0): 32-bit ARGB GLX visuals require the Composite extension.
(WW) NVIDIA(0): Option "CalcAlgorithm" is not used
(WW) NVIDIA(0): Option "XAANoOffscreenPixmaps" is not used
(WW) NVIDIA(0): Option "DRI" is not used
playboy@prince:~> cat /var/log/Xorg.93.log | grep EE
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
playboy@prince:~> cat /var/log/Xorg.93.log | grep II
        (++) from command line, (!!) notice, (II) informational,
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Module ABI versions:
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.so
(II) Module bitmap: vendor="X.Org Foundation"
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,2570 card 1043,8110 rev 02 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 8086,2571 card 0000,0000 rev 02 class 06,04,00 hdr 01
(II) PCI: 00:1d:0: chip 8086,24d2 card 1043,80a6 rev 02 class 0c,03,00 hdr 80
(II) PCI: 00:1d:1: chip 8086,24d4 card 1043,80a6 rev 02 class 0c,03,00 hdr 00
(II) PCI: 00:1d:2: chip 8086,24d7 card 1043,80a6 rev 02 class 0c,03,00 hdr 00
(II) PCI: 00:1d:3: chip 8086,24de card 1043,80a6 rev 02 class 0c,03,00 hdr 00
(II) PCI: 00:1d:7: chip 8086,24dd card 1043,80a6 rev 02 class 0c,03,20 hdr 00
(II) PCI: 00:1e:0: chip 8086,244e card 0000,0000 rev c2 class 06,04,00 hdr 01
(II) PCI: 00:1f:0: chip 8086,24d0 card 0000,0000 rev 02 class 06,01,00 hdr 80
(II) PCI: 00:1f:1: chip 8086,24db card 1043,80a6 rev 02 class 01,01,8a hdr 00
(II) PCI: 00:1f:3: chip 8086,24d3 card 1043,80a6 rev 02 class 0c,05,00 hdr 00
(II) PCI: 00:1f:5: chip 8086,24d5 card 1043,810d rev 02 class 04,01,00 hdr 00
(II) PCI: 01:00:0: chip 10de,0221 card 1682,214a rev a1 class 03,00,00 hdr 00
(II) PCI: 02:05:0: chip 10ec,8139 card 1043,8109 rev 10 class 02,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,2), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
(II) Bus 0 non-prefetchable memory range:
(II) Bus 0 prefetchable memory range:
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 1 non-prefetchable memory range:
(II) Bus 1 prefetchable memory range:
(II) PCI-to-PCI bridge:
(II) Bus 2: bridge is at (0:30:0), (0,2,2), BCTRL: 0x0002 (VGA_EN is cleared)
(II) Bus 2 I/O range:
(II) Bus 2 non-prefetchable memory range:
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:31:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(II) Addressable bus resource ranges are
(II) OS-reported resource ranges:
(II) PCI Memory resource overlap reduced 0xf8000000 from 0xfbfffff0 to 0xf7ffffff
(II) Active PCI resource ranges:
(II) Active PCI resource ranges after removing overlaps:
(II) OS-reported resource ranges after removing overlaps with PCI:
(II) All system resource ranges:
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
(II) Loading font FreeType
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.so
(II) Module type1: vendor="X.Org Foundation"
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
(II) Loading extension GLX
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "v4l"
(II) Loading /usr/X11R6/lib/modules/drivers/v4l_drv.so
(II) Module v4l: vendor="X.Org Foundation"
(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
(II) LoadModule: "kbd"
(II) Loading /usr/X11R6/lib/modules/input/kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
(II) v4l driver for Video4Linux
(II) NVIDIA dlloader X Driver  1.0-9629  Wed Nov  1 19:31:54 PST 2006
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 01:00:0
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.so
(II) Module ramdac: vendor="X.Org Foundation"
(II) resource ranges after xf86ClaimFixedResources() call:
(II) resource ranges after probing:
(II) Setting vga for screen 0.
(II) NVIDIA(0): NVIDIA GPU GeForce 6200 at PCI:1:0:0 (GPU-0)
(II) NVIDIA(0): Detected AGP rate: 8X
(II) NVIDIA(0): Assigned Display Device: CRT-0
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0):     "1024x768"
(II) NVIDIA(0):     "800x600"
(II) NVIDIA(0):     "640x480"
(II) NVIDIA(0): Virtual screen size determined to be 1024 x 768
(II) NVIDIA(0): Disabling 32-bit ARGB GLX visuals.
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
(II) NVIDIA(0): Setting mode "1024x768"
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(II) Loading extension NV-CONTROL
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(II) Initializing extension GLX
(II) XINPUT: Adding extended input device "Mouse[1]" (type: MOUSE)
(II) XINPUT: Adding extended input device "Keyboard[0]" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "NVIDIA Damage Notification Manager" (type: Other)
(II) XINPUT: Adding extended input device "NVIDIA Kernel RC Handler" (type: Other)
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
(II) Mouse[1]: ps2EnableDataReporting: succeeded
playboy@prince:~> cat /var/log/Xorg.93.log | grep NI
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
playboy@prince:~> cat /var/log/Xorg.93.log | grep ??
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.


附上偶的xorg.conf
playboy@prince:~> cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Wed Nov  1 19:47:17 PST 2006

# /.../
# SaX generated X11 config file
# Created on: 2006-12-17T10:56:04+0800.
#
# Version: 7.1
# Contact: Marcus Schaefer <sax@suse.de>, 2005
# Contact: SaX-User list <https://lists.berlios.de/mailman/listinfo/sax-users>
#
# Automatically generated by [ISaX] (7.1)
# PLEASE DO NOT EDIT THIS FILE!
#
Section "Extensions"
    Option         "DAMAGE" "no"
#    Option         "Composite" "Enable"
#    Option         "RENDER" "Enable"
EndSection

Section "ServerLayout"
    Identifier     "Layout[all]"
    Screen         "Screen[0]" 0 0
    InputDevice    "Keyboard[0]" "CoreKeyboard"
    InputDevice    "Mouse[1]" "CorePointer"
    Option         "Clone" "off"
    Option         "Xinerama" "off"
EndSection

Section "Files"
    InputDevices      "/dev/gpmdata"
    InputDevices      "/dev/input/mice"
    FontPath        "/usr/X11R6/lib/X11/fonts/misc:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/local"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
    FontPath        "/usr/X11R6/lib/X11/fonts/URW"
    FontPath        "/usr/X11R6/lib/X11/fonts/Speedo"
    FontPath        "/usr/X11R6/lib/X11/fonts/PEX"
    FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
    FontPath        "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/latin2/Type1"
    FontPath        "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/kwintv"
    FontPath        "/usr/X11R6/lib/X11/fonts/truetype"
    FontPath        "/usr/X11R6/lib/X11/fonts/uni:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/CID"
    FontPath        "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/hellas/Type1"
    FontPath        "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/xtest"
    FontPath        "/opt/kde3/share/fonts"
EndSection

Section "Module"
    Load           "freetype"
    Load           "type1"
    Load           "dbe"
    Load           "glx"
    Load           "extmod"
    Load           "v4l"
EndSection

Section "ServerFlags"
    Option         "AllowMouseOpenFail" "on"
EndSection

Section "InputDevice"
    Identifier     "Keyboard[0]"
    Driver         "kbd"
    Option         "rotocol" "Standard"
    Option         "XkbLayout" "us"
    Option         "XkbModel" "pc104"
    Option         "XkbRules" "xfree86"
EndSection

Section "InputDevice"
    Identifier     "Mouse[1]"
    Driver         "mouse"
    Option         "Buttons" "5"
    Option         "Device" "/dev/input/mice"
    Option         "Name" "Microsoft Wheel Mouse Optical"
    Option         "rotocol" "explorerps/2"
    Option         "Vendor" "Sysp"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Modes"
    Identifier         "Modes[0]"
    ModeLine     "1024x768" 94.5 1024 1072 1168 1376 768 769 772 808
    ModeLine     "1024x768" 94.5 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
EndSection

Section "Monitor"
    Identifier     "Monitor[0]"
    VendorName     "--> VESA"
    ModelName      "1024X768@85HZ"
    UseModes       "Modes[0]"
    DisplaySize     312    234
    HorizSync       30.0 - 69.0
    VertRefresh     50.0 - 85.0
    Option         "CalcAlgorithm" "XServerPool"
EndSection

Section "Device"
    Identifier     "Device[0]"
    Driver         "nvidia"
    VendorName     "NVidia"
    BoardName      "GeForce 6200 (0x0221)"
    Screen          0
EndSection

Section "Screen"
    Identifier     "Screen[0]"
    Device         "Device[0]"
    Monitor        "Monitor[0]"
    DefaultDepth    24
    Option         "AddARGBGLXVisuals" "True"
    Option         "TripleBuffer" "True"
    Option         "AllowGLXWithComposite" "True"
    Option         "RenderAccel" "True"
    Option         "DisableGLXRootClipping" "true"
    Option         "BackingStore" "true"
    Option         "NoLogo" "true"
    Option         "XAANoOffscreenPixmaps" "true"
    Option         "DRI" "true"
    SubSection     "Display"
        Depth       15
        Modes      "1024x768" "1024x600" "800x600" "768x576" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1024x768" "1024x600" "800x600" "768x576" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1024x768" "1024x600" "800x600" "768x576" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1024x768" "1024x600" "800x600" "768x576" "640x480"
    EndSubSection
EndSection



另外:
Section "Extensions"
    Option         "DAMAGE" "no"
#    Option         "Composite" "Enable"
#    Option         "RENDER" "Enable"
EndSection
这个地方不注释掉: Option         "Composite" "Enable"
重启kde时白屏!~~

这问题实在太令人头大了,等待高手解决(读了相当多的这方面安装的贴子,大多数都是用源安装的,而我是下载来安装的)
 楼主| 发表于 2006-12-20 05:02:31 | 显示全部楼层
自己给自己回复一个!~~~
在/etc/X11/
下面的 "xgl-hardware-list"加入自己的显卡便行了!~~
回复 支持 反对

使用道具 举报

发表于 2007-1-20 15:15:58 | 显示全部楼层
嗯  顶一个
MARK
回复 支持 反对

使用道具 举报

发表于 2007-1-20 17:19:50 | 显示全部楼层
问楼主,你加上自己的显卡前面那个XXXX:XXXX是怎么看的?
回复 支持 反对

使用道具 举报

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

本版积分规则

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