LinuxSir.cn,穿越时空的Linuxsir!

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

Xorg.conf的问题

[复制链接]
发表于 2008-5-14 22:12:14 | 显示全部楼层 |阅读模式
1.为什么我在Xorg.conf添加了一些FontPath,但在xorg.0.log中,却没有读取到,而是使用了系统的默认值?如"/usr/share/fonts/truetype/xp"这个路径就没有被读取到。
2.我的显卡的驱动是fglrx,xorg.0.log也说fglrx已经被load进去了。但为什么还是说no screens found? 我把fglrx改成vesa就可以进入X了

麻烦帮我看看。万分感谢。
这是我的xorg.conf:

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg
Section "DRI"
        Mode        0666
EndSection

Section "Files"
        FontPath        "/usr/share/fonts/truetype/xp"
        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"
EndSection

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

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen         "Default Screen"
        InputDevice    "Generic Keyboard"
        InputDevice    "Mouse"
EndSection

Section "Files"
EndSection

Section "Module"
EndSection

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

Section "InputDevice"
        Identifier  "Mouse"
        Driver      "mouse"
        Option                "CorePointer"
        Option                "Device"        "/dev/input/mice"
        Option                "rotocol"        "Auto"
        Option                "Emulate3Buttons"        "true"
        Option                "ZAxisMapping"        "4 5"
EndSection

Section "Monitor"
        Identifier   "Default Monitor"
        HorizSync    30.0 - 67.0
        VertRefresh  50.0 - 75.0
        Option        "VendorName"        "ATI Proprietary Driver"
        Option        "ModelName"        "Generic AutoDetecting Monitor"
        Option            "DPMS" "true"
EndSection

Section "Device"
        Identifier  "ATI_1300"
#        Driver      "fglrx"
        Driver                "vesa"
EndSection

Section "Screen"
        Identifier "Default Screen"
        Device     "ATI_1300"
        Monitor    "Default Monitor"
        DefaultDepth     24
        SubSection "Display"
                Depth     24
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     32
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

================================================
这是我的Xorg.0.log:

This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.4.0.90
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux Debian (xorg-server 2:1.4.1~git20080131-4)
Current Operating System: Linux debian 2.6.24-1-686 #1 SMP Sat Apr 19 00:37:55 UTC 2008 i686
Build Date: 29 April 2008  08:24:00PM

        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.0.log", Time: Thu May 15 04:47:08 2008
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default Layout"
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "Default Monitor"
(**) |   |-->Device "ATI_1300"
(**) |-->Input Device "Generic Keyboard"
(**) |-->Input Device "Mouse"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/cyrillic,
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/75dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/100dpi,
        /usr/share/fonts/X11/75dpi,
        /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType
(==) RgbPath set to "/etc/X11/rgb"
(==) ModulePath set to "/usr/lib/xorg/modules"
(==) |-->Input Device "Generic Keyboard"
(==) The core keyboard device wasn't specified explicitly in the layout.
        Using the first keyboard device.
(II) Open ACPI successful (/var/run/acpid.socket)
(II) Loader magic: 0x81d9220
(II) Module ABI versions:
        X.Org ANSI C Emulation: 0.3
        X.Org Video Driver: 2.0
        X.Org XInput driver : 2.0
        X.Org Server Extension : 0.3
        X.Org Font Renderer : 0.5
(II) Loader running on linux
(II) LoadModule: "pcidata"
(II) Loading /usr/lib/xorg/modules//libpcidata.so
(II) Module pcidata: vendor="X.Org Foundation"
        compiled for 1.4.0.90, module version = 1.0.0
        ABI class: X.Org Video Driver, version 2.0
(++) using VT number 8

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,1237 card 0000,0000 rev 02 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 8086,7000 card 0000,0000 rev 00 class 06,01,00 hdr 80
(II) PCI: 00:01:1: chip 8086,7111 card 0000,0000 rev 01 class 01,01,8a hdr 00
(II) PCI: 00:02:0: chip 80ee,beef card 0000,0000 rev 00 class 03,00,00 hdr 00
(II) PCI: 00:03:0: chip 1022,2000 card 1022,2000 rev 40 class 02,00,00 hdr 00
(II) PCI: 00:04:0: chip 80ee,cafe card 0000,0000 rev 00 class 08,80,00 hdr 00
(II) PCI: 00:05:0: chip 8086,2415 card 8086,0000 rev 01 class 04,01,00 hdr 00
(II) PCI: 00:06:0: chip 106b,003f card 0000,0000 rev 00 class 0c,03,10 hdr 00
(II) PCI: 00:07:0: chip 8086,7113 card 0000,0000 rev 08 class 06,80,00 hdr 80
(II) PCI: 00:0b:0: chip 8086,265c card 0000,0000 rev 00 class 0c,03,20 hdr 00
(II) PCI: 00:0d:0: chip 8086,2829 card 0000,0000 rev 02 class 01,06,01 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,0), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
        [0] -1        0        0x00000000 - 0x0000ffff (0x10000) IX
(II) Bus 0 non-prefetchable memory range:
        [0] -1        0        0x00000000 - 0xffffffff (0x0) MX
(II) Bus 0 prefetchable memory range:
        [0] -1        0        0x00000000 - 0xffffffff (0x0) MX
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:1:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(--) PCI:*(0:2:0) unknown vendor (0x80ee) unknown chipset (0xbeef) rev 0, Mem @ 0xe0000000/25
(II) Addressable bus resource ranges are
        [0] -1        0        0x00000000 - 0xffffffff (0x0) MX
        [1] -1        0        0x00000000 - 0x0000ffff (0x10000) IX
(II) OS-reported resource ranges:
        [0] -1        0        0x00100000 - 0x3fffffff (0x3ff00000) MXE(B)
        [1] -1        0        0x000f0000 - 0x000fffff (0x10000) MX
        [2] -1        0        0x000c0000 - 0x000effff (0x30000) MX
        [3] -1        0        0x00000000 - 0x0009ffff (0xa0000) MX
        [4] -1        0        0x0000ffff - 0x0000ffff (0x1) IX
        [5] -1        0        0x00000000 - 0x000000ff (0x100) IX
(II) Active PCI resource ranges:
        [0] -1        0        0xf0802000 - 0xf0803fff (0x2000) MX
        [1] -1        0        0xf0801000 - 0xf0801fff (0x1000) MX
        [2] -1        0        0xf0800000 - 0xf0800fff (0x1000) MX
        [3] -1        0        0xf0400000 - 0xf07fffff (0x400000) MX
        [4] -1        0        0xf0080000 - 0xf00fffff (0x80000) MX
        [5] -1        0        0xf0000000 - 0xf0000fff (0x1000) MX
        [6] -1        0        0xe0000000 - 0xe1ffffff (0x2000000) MX(B)
        [7] -1        0        0x0000c200 - 0x0000c23f (0x40) IX
        [8] -1        0        0x0000c100 - 0x0000c1ff (0x100) IX
        [9] -1        0        0x0000c040 - 0x0000c05f (0x20) IX
        [10] -1        0        0x0000c020 - 0x0000c03f (0x20) IX
        [11] -1        0        0x0000c000 - 0x0000c00f (0x10) IX
(II) Active PCI resource ranges after removing overlaps:
        [0] -1        0        0xf0802000 - 0xf0803fff (0x2000) MX
        [1] -1        0        0xf0801000 - 0xf0801fff (0x1000) MX
        [2] -1        0        0xf0800000 - 0xf0800fff (0x1000) MX
        [3] -1        0        0xf0400000 - 0xf07fffff (0x400000) MX
        [4] -1        0        0xf0080000 - 0xf00fffff (0x80000) MX
        [5] -1        0        0xf0000000 - 0xf0000fff (0x1000) MX
        [6] -1        0        0xe0000000 - 0xe1ffffff (0x2000000) MX(B)
        [7] -1        0        0x0000c200 - 0x0000c23f (0x40) IX
        [8] -1        0        0x0000c100 - 0x0000c1ff (0x100) IX
        [9] -1        0        0x0000c040 - 0x0000c05f (0x20) IX
        [10] -1        0        0x0000c020 - 0x0000c03f (0x20) IX
        [11] -1        0        0x0000c000 - 0x0000c00f (0x10) IX
(II) OS-reported resource ranges after removing overlaps with PCI:
        [0] -1        0        0x00100000 - 0x3fffffff (0x3ff00000) MXE(B)
        [1] -1        0        0x000f0000 - 0x000fffff (0x10000) MX
        [2] -1        0        0x000c0000 - 0x000effff (0x30000) MX
        [3] -1        0        0x00000000 - 0x0009ffff (0xa0000) MX
        [4] -1        0        0x0000ffff - 0x0000ffff (0x1) IX
        [5] -1        0        0x00000000 - 0x000000ff (0x100) IX
(II) All system resource ranges:
        [0] -1        0        0x00100000 - 0x3fffffff (0x3ff00000) MXE(B)
        [1] -1        0        0x000f0000 - 0x000fffff (0x10000) MX
        [2] -1        0        0x000c0000 - 0x000effff (0x30000) MX
        [3] -1        0        0x00000000 - 0x0009ffff (0xa0000) MX
        [4] -1        0        0xf0802000 - 0xf0803fff (0x2000) MX
        [5] -1        0        0xf0801000 - 0xf0801fff (0x1000) MX
        [6] -1        0        0xf0800000 - 0xf0800fff (0x1000) MX
        [7] -1        0        0xf0400000 - 0xf07fffff (0x400000) MX
        [8] -1        0        0xf0080000 - 0xf00fffff (0x80000) MX
        [9] -1        0        0xf0000000 - 0xf0000fff (0x1000) MX
        [10] -1        0        0xe0000000 - 0xe1ffffff (0x2000000) MX(B)
        [11] -1        0        0x0000ffff - 0x0000ffff (0x1) IX
        [12] -1        0        0x00000000 - 0x000000ff (0x100) IX
        [13] -1        0        0x0000c200 - 0x0000c23f (0x40) IX
        [14] -1        0        0x0000c100 - 0x0000c1ff (0x100) IX
        [15] -1        0        0x0000c040 - 0x0000c05f (0x20) IX
        [16] -1        0        0x0000c020 - 0x0000c03f (0x20) IX
        [17] -1        0        0x0000c000 - 0x0000c00f (0x10) IX
(II) "extmod" will be loaded by default.
(II) "dbe" will be loaded by default.
(II) "glx" will be loaded by default.
(II) "freetype" will be loaded by default.
(II) "record" will be loaded by default.
(II) "dri" will be loaded by default.
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
        compiled for 1.4.0.90, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 0.3
(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: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
        compiled for 1.4.0.90, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 0.3
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="X.Org Foundation"
        compiled for 1.4.0.90, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.3
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "freetype"
(II) Loading /usr/lib/xorg/modules//fonts/libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
        compiled for 1.4.0.90, module version = 2.1.0
        Module class: X.Org Font Renderer
        ABI class: X.Org Font Renderer, version 0.5
(II) Loading font FreeType
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor="X.Org Foundation"
        compiled for 1.4.0.90, module version = 1.13.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 0.3
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
        compiled for 1.4.0.90, module version = 1.0.0
        ABI class: X.Org Server Extension, version 0.3
(II) Loading extension XFree86-DRI
(II) LoadModule: "fglrx"
(II) Loading /usr/lib/xorg/modules/drivers//fglrx_drv.so
(II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
        compiled for 7.1.0, module version = 8.47.3
        Module class: X.Org Video Driver
(II) LoadModule: "kbd"
(II) Loading /usr/lib/xorg/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
        compiled for 1.4.0, module version = 1.2.2
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 2.0
(II) LoadModule: "mouse"
(II) Loading /usr/lib/xorg/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
        compiled for 1.4.0, module version = 1.2.3
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 2.0
(II) Primary Device is: PCI 00:02:0
(II) ATI Proprietary Linux Driver Version Identifier:8.47.3
(II) ATI Proprietary Linux Driver Release Identifier: UNSUPPORTED-8.476                    
(II) ATI Proprietary Linux Driver Build Date: Mar 29 2008 00:05:22
(EE) No devices detected.

Fatal server error:
no screens found
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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