LinuxSir.cn,穿越时空的Linuxsir!

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

花屏,键盘无反应,鼠标可以移动

[复制链接]
发表于 2009-6-18 17:56:48 | 显示全部楼层 |阅读模式
新装的Arch,软件包都已经升级成最新的

xf86-input-mouse/keyboard都已经安装好
主板是865GV,xf86-video-intel也已装好

/etc/rc.conf已经加入hal,也已经启动

当我启动gdm,屏幕花屏,刚开始还可以输入,有时几秒,有时进入xfce4,不一会屏幕卡住,键盘死掉没反应了,鼠标是可以自由移动的

弄的我一点心情也没有了
发表于 2009-6-18 18:09:04 | 显示全部楼层
grep -e EE -e WW /var/log/Xorg.0.log

xorg.conf
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-6-18 18:24:55 | 显示全部楼层
OK,下面就是:
grep -e EE -e WW /var/log/Xorg.0.log
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(II) Loading extension MIT-SCREEN-SAVER
(WW) intel(0): libpciaccess reported 0 rom size, guessing 64kB
(WW) intel(0): DRI2 requires UXA


Xorg.conf:  (用X -configure生成,将vesa改成了intel)
Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/100dpi:unscaled"
        FontPath     "/usr/share/fonts/75dpi:unscaled"
        FontPath     "/usr/share/fonts/TTF"
        FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
        Load  "dri"
        Load  "glx"
        Load  "extmod"
        Load  "record"
        #Load  "dri2"
        Load  "dbe"
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"
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     "ShadowFB"                   # [<bool>]
        #Option     "DefaultRefresh"             # [<bool>]
        #Option     "ModeSetClearScreen"         # [<bool>]
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "82865G Integrated Graphics Controller"
        BusID       "CI:0:2:0"
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
EndSection
回复 支持 反对

使用道具 举报

发表于 2009-6-18 19:54:25 | 显示全部楼层
跟我之前的贴子“         xserver 1.6 一startx 鼠标,键盘全死 ”反映的是一样的问题,不过目前我勉强解决了,主要是靠配置xorg.conf来完成的,等下贴内容,hwd -x,使用vesa,去DRI,保留input device.
回复 支持 反对

使用道具 举报

发表于 2009-6-18 20:06:31 | 显示全部楼层
尝试不使用xorg.conf或者使用下面这个,硬件让xorg自动检测。安装xf86-input-evdev
  1. Section "ServerLayout"
  2. Identifier "X.org Configured"
  3. Screen 0 "Screen0" 0 0
  4. EndSection

  5. Section "Device"
  6.         Identifier "Card0"
  7.         Driver "intel"
  8.         VendorName "Intel Corporation"
  9.         BoardName "82865G Integrated Graphics Controller"
  10.         Option                "AccelMethod" "UXA"
  11. EndSection

  12. Section "Screen"
  13.         Identifier "Screen0"
  14.         Device "Card0"
  15.         DefaultDepth     24
  16.         SubSection "Display"
  17.                 Viewport 0 0
  18.                 Depth 24
  19.         EndSubSection
  20. EndSection
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-6-18 21:40:35 | 显示全部楼层
好的,我去试试。。。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-6-18 22:39:39 | 显示全部楼层
试过了,vesa是可以正常使用的,不过图形的性能实在不能忍受

记得我第一次装arch时,一切正常,装的是xf86-video-inte驱动,使用intel而非vesa
可这一次死活都不行,真的太奇怪了
回复 支持 反对

使用道具 举报

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

本版积分规则

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