LinuxSir.cn,穿越时空的Linuxsir!

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

xorg-server的问题[已解决]

[复制链接]
发表于 2009-4-14 18:29:34 | 显示全部楼层 |阅读模式
kernel-2.6.29-r1
xorg-server-1.5.3-r5
xf86-input-evdev-2.2.1
xf86-input-keyboard-1.3.2
xf86-input-mouse-1.4.0
xf86-video-intel-2.6.3-r1
xinput-1.4.0
从GDM进入gnome界面时界面死

Xorg.conf
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
        Option "AllowEmptyInput"  "False"
        Option "AutoAddDevices"   "False"
EndSection

Section "Files"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "built-ins"
        FontPath     "/usr/share/fonts/100dpi"
        FontPath     "/usr/share/fonts/corefonts"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/wqy-bitmapfont"
#       FontPath     "/usr/share/fonts/customize"
EndSection

Section "Module"
#       Load  "dbe"
#       Load  "xtrap"
#       Load  "record"
#       Load  "extmod"
#       Load  "dri"
#       Load  "glx"
#       Load  "freetype"
#       Load  "synaptics"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "rotocol" "auto"
        Option      "Device" "/dev/input/mice"
        Option      "ZAxisMapping" "4 5 6 7"
        Option      "SHMConfig" "on"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "ColorKey"                  # <i>
        #Option     "CacheLines"                # <i>
        #Option     "Dac6Bit"                   # [<bool>]
        #Option     "DRI"                       # [<bool>]
        #Option     "NoDDC"                     # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "XvMCSurfaces"              # <i>
        #Option     "ageFlip"                  # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "Mobile GM965/GL960 Integrated Graphics Controller"
        BusID       "CI:0:2:0"
#       Option      "RenderAccel" "true"
        Option      "AccelMethod" "UXA"
#       Option      "XvMC"        "true"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     32
        EndSubSection
EndSection

Section "Extensions"
        Option "Composite" "Enable"
EndSection

Section "DRI"
Mode 0666
EndSection

部分/var/log/Xorg.0.log
(EE) config/hal: NewInputDeviceRequest failed
(II) config/hal: Adding input device AlpsPS/2 ALPS GlidePoint
(EE) config/hal: NewInputDeviceRequest failed
(II) config/hal: Adding input device PS/2 Mouse
(EE) config/hal: NewInputDeviceRequest failed
(II) intel(0): EDID vendor "AUO", prod id 17732
(II) intel(0): DDCModeFromDetailedTiming: 1280x800 Warning: We only handle seperate sync.
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1280x800"x0.0   71.40  1280 1328 1360 1445  800 803 809 823 -hsync -vsync (49.4 kHz)
(II) intel(0): Modeline "1280x800"x0.0   71.40  1280 1328 1360 1445  800 803 809 823 -hsync -vsync (49.4 kHz)
(II) intel(0): EDID vendor "AUO", prod id 17732
(II) intel(0): DDCModeFromDetailedTiming: 1280x800 Warning: We only handle seperate sync.
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1280x800"x0.0   71.40  1280 1328 1360 1445  800 803 809 823 -hsync -vsync (49.4 kHz)
(II) intel(0): Modeline "1280x800"x0.0   71.40  1280 1328 1360 1445  800 803 809 823 -hsync -vsync (49.4 kHz)
(II) intel(0): EDID vendor "AUO", prod id 17732
(II) intel(0): DDCModeFromDetailedTiming: 1280x800 Warning: We only handle seperate sync.
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1280x800"x0.0   71.40  1280 1328 1360 1445  800 803 809 823 -hsync -vsync (49.4 kHz)
(II) intel(0): Modeline "1280x800"x0.0   71.40  1280 1328 1360 1445  800 803 809 823 -hsync -vsync (49.4 kHz)
(II) intel(0): EDID vendor "AUO", prod id 17732
(II) intel(0): DDCModeFromDetailedTiming: 1280x800 Warning: We only handle seperate sync.
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1280x800"x0.0   71.40  1280 1328 1360 1445  800 803 809 823 -hsync -vsync (49.4 kHz)
(II) intel(0): Modeline "1280x800"x0.0   71.40  1280 1328 1360 1445  800 803 809 823 -hsync -vsync (49.4 kHz)
(II) intel(0): EDID vendor "AUO", prod id 17732
(II) intel(0): DDCModeFromDetailedTiming: 1280x800 Warning: We only handle seperate sync.
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1280x800"x0.0   71.40  1280 1328 1360 1445  800 803 809 823 -hsync -vsync (49.4 kHz)
(II) intel(0): Modeline "1280x800"x0.0   71.40  1280 1328 1360 1445  800 803 809 823 -hsync -vsync (49.4 kHz)
(II) intel(0): EDID vendor "AUO", prod id 17732
(II) intel(0): DDCModeFromDetailedTiming: 1280x800 Warning: We only handle seperate sync.
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1280x800"x0.0   71.40  1280 1328 1360 1445  800 803 809 823 -hsync -vsync (49.4 kHz)
(II) intel(0): Modeline "1280x800"x0.0   71.40  1280 1328 1360 1445  800 803 809 823 -hsync -vsync (49.4 kHz)

Backtrace:
0: /usr/bin/X(xorg_backtrace+0x3c) [0x812f6dc]
1: /usr/bin/X(xf86SigHandler+0x52) [0x80d9912]
2: [0xb7f72400]
3: /usr/lib/libdrm_intel.so.1(drm_intel_bo_alloc_for_render+0x24) [0xb798b5a4]
4: /usr/lib/xorg/modules/drivers//intel_drv.so [0xb79d591c]
5: /usr/bin/X(ProcCreatePixmap+0x177) [0x8084c47]
6: /usr/bin/X(Dispatch+0x357) [0x8089ad7]
7: /usr/bin/X(main+0x45d) [0x806f12d]
8: /lib/libc.so.6(__libc_start_main+0xe6) [0xb7acc646]
9: /usr/bin/X [0x806e501]

Fatal server error:
Caught signal 11.  Server aborting

(II) UnloadModule: "mouse"
(II) UnloadModule: "kbd"
发表于 2009-4-14 19:24:34 | 显示全部楼层
你指的死是什么意思?
是鼠标和键盘都动不了吗?

如果是的话,可以参考一下
http://www.linuxsir.cn/bbs/thread348153.html
回复 支持 反对

使用道具 举报

发表于 2009-4-15 08:06:38 | 显示全部楼层
您启用了hal USE?
如果是的话您需要rc-update add hald default
回复 支持 反对

使用道具 举报

发表于 2009-4-15 08:53:13 | 显示全部楼层
xorg-server-1.5.3-r5的话内核中不要开启KMS,或者升级xorg-server到1.6
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-15 20:06:16 | 显示全部楼层
在内核配置中去掉KMS,问题解决。
回复 支持 反对

使用道具 举报

发表于 2009-4-15 21:14:16 | 显示全部楼层
Post by suddenkiller;1974857
在内核配置中去掉KMS,问题解决。

你内核不选默认,用的时候在menu.lst你给内核参数就可以了

另xorg-server-1.6好久进~x86?

期待kms+dri2
回复 支持 反对

使用道具 举报

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

本版积分规则

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