LinuxSir.cn,穿越时空的Linuxsir!

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

X有时正常,有时不正常,为什么 ?

[复制链接]
发表于 2009-3-24 19:37:05 | 显示全部楼层 |阅读模式
使用的是stable版,显卡在XP下显示的是Intel(R) 83845G/GL/PE/GV Graphics Controller,原来比较正常。最近经常不能正常进入X,反复重启后又可以正常进入X,很另人郁闷。因为最近使用XP较多,怀疑是和XP配合不好,修改XP的设置,使每次关闭XP后,自动清理虚拟内存的页面文件,仍然不正常。另外,最近把原来的17“CRT换成了19“LCD,难不成和这个有关吗?
稍后我重启系统,把Xorg.conf贴出来,大家给看看啊。
 楼主| 发表于 2009-3-25 13:20:50 | 显示全部楼层
$cat xorg.conf

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


Section "Files"
        RgbPath      "/etc/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/X11/misc"
        FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath     "/usr/share/fonts/X11/Type1"
        FontPath     "/usr/share/fonts/X11/100dpi"
        FontPath     "/usr/share/fonts/X11/75dpi"
        FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

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

Section "InputDevice"
        Identifier        "Keyboard0"
        Driver                "kbd"
        Option                "XkbRules"        "xorg"
        Option                "XkbModel"        "pc104"
        Option                "XkbLayout"        "us"
EndSection

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

Section "Device"
        Identifier  "Card0"
        Driver      "intel"
        VendorName  "Intel Corporation"
        BoardName   "82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"
#        VideoRam    "8192"
        BusID       "CI:0:2:0"
#        Option                "UseFBDev"                "true"
EndSection

Section "Monitor"
        Identifier        "Monitor0"
        VendorName   "BNQ"
        ModelName    "BenQ G900W"
        HorizSync    31.0 - 83.0
        VertRefresh  55.0 - 76.0
#        Option            "DPMS"
EndSection

Section "Screen"
        Identifier        "Screen0"
        Device     "Card0"
        Monitor                "Monitor0"
        DefaultDepth        16
        SubSection "Display"
#                Modes   "1024x768"
                Modes   "1440x900"
                Viewport    0 0
                Depth     16
        EndSubSection
EndSection
回复 支持 反对

使用道具 举报

发表于 2009-3-25 13:37:56 | 显示全部楼层
你换设备后有没有在命令行运行下Xorg -configure让它自动识别显示器?
另外X不正常,可以看下log,找出错误信息
回复 支持 反对

使用道具 举报

发表于 2009-4-7 12:07:10 | 显示全部楼层
在 xorg.conf的Device section中加入
Option "AccelMethod" "XAA"
这个问题我花了一年解决他,见我的帖子
http://www.linuxsir.cn/bbs/thread334721.html
回复 支持 反对

使用道具 举报

发表于 2009-4-8 10:50:55 | 显示全部楼层
VertRefresh 55.0 - 76.0

这个最好改成50 - 60 算了,限制在60hz。
HorizSync 也适当调低点。
回复 支持 反对

使用道具 举报

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

本版积分规则

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