LinuxSir.cn,穿越时空的Linuxsir!

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

xorg的怪问题

[复制链接]
发表于 2005-8-21 00:18:13 | 显示全部楼层 |阅读模式
刚刚安完Gentoo2005.1,然后
emerge  x11,然后什么配置都不改,
startx可以进图形,分辨率1024x768,
然后cd ~ &&
Xorg -configure;
再X -config ~/xorg.conf.new,进图形ok,1024x768
这时候,就cp  ~/xorg.conf.new /etc/X11/xorg.conf,
再start就不行了,能进图形,但是花屏,而且键盘也不受控制,远程ps -ef查看并没有X进程,但这个时候直接运行X进图形就没有问题。
删掉/etc/X11/xorg.conf用startx就没有问题。
难道startx还有一个其他的默认配置文件?否则/etc/X11/xorg.conf不存在的时候怎么能进图形?
然后为什么startx不行但是直接X就行呢?到底怎么配置?
附:我的xorg.conf

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

Section "Files"
        RgbPath      "/usr/lib/X11/rgb"
        ModulePath   "/usr/lib/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/CID/"
        FontPath     "/usr/share/fonts/75dpi/"
        FontPath     "/usr/share/fonts/100dpi/"
EndSection

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

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

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "rotocol" "auto"
        Option      "Device" "/dev/mouse"
EndSection

Section "Monitor"
        #DisplaySize      290   210     # mm
        Identifier   "Monitor0"
        VendorName   "QDS"
        ModelName    "5"
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      "i810"
        VendorName  "Intel Corp."
        BoardName   "82852/855GM Integrated Graphics Device"
        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
 楼主| 发表于 2005-8-21 00:37:10 | 显示全部楼层
我的 显卡是:
0000:00:02.1 Display controller: Intel Corp. 82852/855GM Integrated Graphics Device (rev 02)
现在看了一下,startx报错:
(EE) I810(0): I830 Dma Initialization Failed
(EE) I810(0): [drm] Failed to initialized agp heap manager
回复 支持 反对

使用道具 举报

发表于 2005-8-21 09:12:29 | 显示全部楼层
试试通过xorgconfig的问答方式生成一个xorg.conf
我一直这么做,但是不明白为什么用Xorg -configure的同学比较多,难道有什么优点?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-21 17:42:02 | 显示全部楼层
发现是intel855显卡的问题,不过现在试试升级xorg到最新,再换个新一点的dri驱动试试
回复 支持 反对

使用道具 举报

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

本版积分规则

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