LinuxSir.cn,穿越时空的Linuxsir!

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

重新再开始整xorg ...

[复制链接]
发表于 2011-6-19 13:21:40 | 显示全部楼层 |阅读模式
用Xorg -configure

错误如下:
X.Org X Server 1.9.5
Release Date: 2011-03-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.37-gentoo-r4 i686 Gentoo
Current Operating System: Linux localhost 2.6.37-gentoo-r4 #1 SMP Thu May 26 13:41:11 Local time zone must be set--see zic  i686
Kernel command line: root=/dev/ram0 real_root=/dev/sda10
Build Date: 27 May 2011  05:40:19PM

Current version of pixman: 0.20.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
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: Sun Jun 19 13:09:16 2011
List of video drivers:
        nv
        intel
(++) Using config file: "/root/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
Number of created screens does not match number of detected devices.
  Configuration failed.

Xorg日志如下 :
[  1344.601]
X.Org X Server 1.9.5
Release Date: 2011-03-17
[  1344.602] X Protocol Version 11, Revision 0
[  1344.602] Build Operating System: Linux 2.6.37-gentoo-r4 i686 Gentoo
[  1344.602] Current Operating System: Linux localhost 2.6.37-gentoo-r4 #1 SMP Thu May 26 13:41:11 Local time zone must be set--see zic  i686
[  1344.602] Kernel command line: root=/dev/ram0 real_root=/dev/sda10
[  1344.602] Build Date: 19 June 2011  01:02:20PM
[  1344.602]
[  1344.603] Current version of pixman: 0.20.2
[  1344.603]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[  1344.603] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1344.604] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jun 19 13:16:25 2011
[  1344.604] (II) Loader magic: 0x81f4de0
[  1344.604] (II) Module ABI versions:
[  1344.604]    X.Org ANSI C Emulation: 0.4
[  1344.604]    X.Org Video Driver: 8.0
[  1344.604]    X.Org XInput driver : 11.0
[  1344.604]    X.Org Server Extension : 4.0
[  1344.605] (--) PCI:*(0:0:2:0) 8086:2a02:1025:011d rev 3, Mem @ 0xf0000000/1048576, 0xd0000000/268435456, I/O @ 0x00001800/8
[  1344.605] (--) PCI: (0:0:2:1) 8086:2a03:1025:011d rev 3, Mem @ 0xf0100000/1048576
[  1344.606] List of video drivers:
[  1344.606]    nv
[  1344.606]    intel
[  1344.606] (II) LoadModule: "nv"
[  1344.606] (II) Loading /usr/lib/xorg/modules/drivers/nv_drv.so
[  1344.606] (II) Module nv: vendor="X.Org Foundation"
[  1344.606]    compiled for 1.9.5, module version = 2.1.18
[  1344.606]    Module class: X.Org Video Driver
[  1344.606]    ABI class: X.Org Video Driver, version 8.0
[  1344.606] (II) LoadModule: "intel"
[  1344.607] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[  1344.607] (II) Module intel: vendor="X.Org Foundation"
[  1344.607]    compiled for 1.9.5, module version = 2.14.0
[  1344.607]    Module class: X.Org Video Driver
[  1344.607]    ABI class: X.Org Video Driver, version 8.0
[  1344.607] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
    i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
    E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
    965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
    4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
    Sandybridge, Sandybridge, Sandybridge, Sandybridge, Sandybridge,
    Sandybridge, Sandybridge
[  1345.038] (++) Using config file: "/root/xorg.conf.new"
[  1345.038] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1345.038] (==) ServerLayout "X.org Configured"
[  1345.038] (**) |-->Screen "Screen0" (0)
[  1345.038] (**) |   |-->Monitor "Monitor0"
[  1345.039] (**) |   |-->Device "Card0"
[  1345.039] (**) |-->Input Device "Mouse0"
[  1345.039] (**) |-->Input Device "Keyboard0"
[  1345.039] (==) Automatically adding devices
[  1345.039] (==) Automatically enabling devices
[  1345.039] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc/".
[  1345.039]    (Run 'mkfontdir' on "/usr/share/fonts/misc/").
[  1345.039] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  1345.039]    Entry deleted from font path.
[  1345.039] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  1345.039]    Entry deleted from font path.
[  1345.039] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  1345.039]    Entry deleted from font path.
[  1345.039]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  1345.039] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  1345.039]    Entry deleted from font path.
[  1345.039]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  1345.039] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc/".
[  1345.039]    Entry deleted from font path.
[  1345.039]    (Run 'mkfontdir' on "/usr/share/fonts/misc/").
[  1345.039] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  1345.039]    Entry deleted from font path.
[  1345.039] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  1345.039]    Entry deleted from font path.
[  1345.039] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  1345.039]    Entry deleted from font path.
[  1345.039]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  1345.039] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  1345.039]    Entry deleted from font path.
[  1345.039]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  1345.039] (**) FontPath set to:
    /usr/share/fonts/TTF/,
    /usr/share/fonts/TTF/
[  1345.039] (**) ModulePath set to "/usr/lib/xorg/modules"
[  1345.039] (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  1345.039] (WW) Disabling Mouse0
[  1345.039] (WW) Disabling Keyboard0
[  1345.041] Number of created screens does not match number of detected devices.
  Configuration failed.


是鼠标和键盘不好用吗...
发表于 2011-6-19 14:58:01 | 显示全部楼层
Configuration failed.

就这个错误,倒数第二行给出了信息:

[ 1345.041] Number of created screens does not match number of detected devices.

一个Screen段把一个显卡和显示器联系起来,从log看,你的机器有两块显卡,一个nv, 一个intel,那么也就需要两个Screen段,所以log提示你说Screen段数目与显卡(Device)数目不符。

我想你应该仿照Screen0段再手动添加一个Screen1段,把另一个显卡和Monitor0联系起来。

这样两块显卡就都能用,但不知道Xorg默认选哪个(我不知道这选项),你如果只想用一个,就该把另一个不用的显卡的Device段给注释掉(也就不需要手动添加Screen1段)。

以上是纯理论猜测,我没有任何双显卡的实际配置经验,请慎重参考。

另外,如果你的鼠标或者键盘不能用,那么就给Xorg添上evdev的USE(或者你已经这样做了),然后把Xorg.conf里的鼠标和键盘内容全部注释掉,就可以了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-6-19 16:07:53 | 显示全部楼层
键盘已经好了...
我就一个显卡...
现在包错:
[ 11037.308]
X.Org X Server 1.9.5
Release Date: 2011-03-17
[ 11037.308] X Protocol Version 11, Revision 0
[ 11037.308] Build Operating System: Linux 2.6.37-gentoo-r4 i686 Gentoo
[ 11037.308] Current Operating System: Linux localhost 2.6.37-gentoo-r4 #1 SMP Thu May 26 13:41:11 Local time zone must be set--see zic  i686
[ 11037.308] Kernel command line: root=/dev/ram0 real_root=/dev/sda10
[ 11037.309] Build Date: 19 June 2011  01:02:20PM
[ 11037.309]
[ 11037.309] Current version of pixman: 0.20.2
[ 11037.309]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[ 11037.309] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 11037.310] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jun 19 15:57:58 2011
[ 11037.310] (==) Using config file: "/etc/X11/xorg.conf"
[ 11037.310] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 11037.311] (==) ServerLayout "X.org Configured"
[ 11037.311] (**) |-->Screen "Screen0" (0)
[ 11037.311] (**) |   |-->Monitor "Monitor0"
[ 11037.311] (**) |   |-->Device "Card0"
[ 11037.311] (==) Automatically adding devices
[ 11037.311] (==) Automatically enabling devices
[ 11037.311] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc/".
[ 11037.311]    Entry deleted from font path.
[ 11037.311]    (Run 'mkfontdir' on "/usr/share/fonts/misc/").
[ 11037.311] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 11037.311]    Entry deleted from font path
[ 11037.311]    (Run 'mkfontdir' on "/usr/share/fonts/misc/").
[ 11037.311] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 11037.311]    Entry deleted from font path.
[ 11037.311] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 11037.311]    Entry deleted from font path.
[ 11037.311] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 11037.311]    Entry deleted from font path.
[ 11037.311]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 11037.311] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 11037.311]    Entry deleted from font path.
[ 11037.311]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 11037.311] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc/".
[ 11037.311]    Entry deleted from font path.
[ 11037.311]    (Run 'mkfontdir' on "/usr/share/fonts/misc/").
[ 11037.311] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 11037.311]    Entry deleted from font path.
[ 11037.311] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 11037.311]    Entry deleted from font path.
[ 11037.311] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 11037.311]    Entry deleted from font path.
[ 11037.311]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 11037.311] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 11037.311]    Entry deleted from font path.
[ 11037.312]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 11037.312] (**) FontPath set to:
    /usr/share/fonts/TTF/,
    /usr/share/fonts/TTF/
[ 11037.312] (**) ModulePath set to "/usr/lib/xorg/modules"
[ 11037.312] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 11037.312] (II) Loader magic: 0x81f4de0
[ 11037.312] (II) Module ABI versions:
[ 11037.312]    X.Org ANSI C Emulation: 0.4
[ 11037.312]    X.Org Video Driver: 8.0
[ 11037.312]    X.Org XInput driver : 11.0
[ 11037.312]    X.Org Server Extension : 4.0
[ 11037.313] (--) PCI:*(0:0:2:0) 8086:2a02:1025:011d rev 3, Mem @ 0xf0000000/1048576, 0xd0000000/268435456, I/O @ 0x00001800/8
[ 11037.313] (--) PCI: (0:0:2:1) 8086:2a03:1025:011d rev 3, Mem @ 0xf0100000/1048576
[ 11037.313] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 11037.313] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
[ 11037.313] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
[ 11037.313] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 11037.313] (II) "record" will be loaded. This was enabled by default and also specified in the config file.
[ 11037.313] (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
[ 11037.313] (II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
[ 11037.313] (II) LoadModule: "dbe"
[ 11037.314] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[ 11037.314] (II) Module dbe: vendor="X.Org Foundation"
[ 11037.314]    compiled for 1.9.5, module version = 1.0.0
[ 11037.314]    Module class: X.Org Server Extension
[ 11037.314]    ABI class: X.Org Server Extension, version 4.0
[ 11037.314] (II) Loading extension DOUBLE-BUFFER
[ 11037.314] (II) LoadModule: "glx"
[ 11037.314] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 11037.314] (II) Module glx: vendor="X.Org Foundation"
[ 11037.314]    compiled for 1.9.5, module version = 1.0.0
[ 11037.314]    ABI class: X.Org Server Extension, version 4.0
[ 11037.314] (==) AIGLX enabled
[ 11037.314] (II) Loading extension GLX
[ 11037.314] (II) LoadModule: "dri2"
[ 11037.315] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 11037.315] (II) Module dri2: vendor="X.Org Foundation"
[ 11037.315]    compiled for 1.9.5, module version = 1.2.0
[ 11037.315]    ABI class: X.Org Server Extension, version 4.0
[ 11037.315] (II) Loading extension DRI2
[ 11037.315] (II) LoadModule: "record"
[ 11037.315] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[ 11037.315] (II) Module record: vendor="X.Org Foundation"
[ 11037.315]    compiled for 1.9.5, module version = 1.13.0
[ 11037.315]    Module class: X.Org Server Extension
[ 11037.315]    ABI class: X.Org Server Extension, version 4.0
[ 11037.315] (II) Loading extension RECORD
[ 11037.315] (II) LoadModule: "dri"
[ 11037.315] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[ 11037.316] (II) Module dri: vendor="X.Org Foundation"
[ 11037.316]    compiled for 1.9.5, module version = 1.0.0
[ 11037.316]    ABI class: X.Org Server Extension, version 4.0
[ 11037.316] (II) Loading extension XFree86-DRI
[ 11037.316] (II) LoadModule: "extmod"
[ 11037.316] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[ 11037.316] (II) Module extmod: vendor="X.Org Foundation"
[ 11037.316]    compiled for 1.9.5, module version = 1.0.0
[ 11037.316]    Module class: X.Org Server Extension
[ 11037.316]    ABI class: X.Org Server Extension, version 4.0
[ 11037.316] (II) Loading extension MIT-SCREEN-SAVER
[ 11037.316] (II) Loading extension XFree86-VidModeExtension
[ 11037.316] (II) Loading extension XFree86-DGA
[ 11037.316] (II) Loading extension DPMS
[ 11037.316] (II) Loading extension XVideo
[ 11037.316] (II) Loading extension XVideo-MotionCompensation
[ 11037.316] (II) Loading extension X-Resource
[ 11037.316] (II) LoadModule: "intel"
[ 11037.316] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 11037.316] (II) Module intel: vendor="X.Org Foundation"
[ 11037.316]    compiled for 1.9.5, module version = 2.14.0
[ 11037.317]    Module class: X.Org Video Driver
[ 11037.317]    ABI class: X.Org Video Driver, version 8.0
[ 11037.317] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
    i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
    E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
    965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
    4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
    Sandybridge, Sandybridge, Sandybridge, Sandybridge, Sandybridge,
    Sandybridge, Sandybridge
[ 11037.317] (--) using VT number 7
[ 11037.324] (EE) No devices detected.
[ 11037.324]
Fatal server error:
[ 11037.324] no screens found
[ 11037.324]
Please consult the The X.Org Foundation support
     at http://wiki.x.org
for help.
[ 11037.324] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 11037.324]
回复 支持 反对

使用道具 举报

发表于 2011-6-20 11:15:55 | 显示全部楼层
rc-update add udev default
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-6-20 16:17:56 | 显示全部楼层
udev 是default 运行....
startx还是不行.....
回复 支持 反对

使用道具 举报

发表于 2011-6-20 17:45:47 | 显示全部楼层
EE: no devices detected
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-6-21 13:49:16 | 显示全部楼层
多谢大家的帮助, 已经解决....
非常感谢以前帮助我的兄弟姐妹们tks
回复 支持 反对

使用道具 举报

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

本版积分规则

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