V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
yangzai
V2EX  ›  V2EX

archlinux 安装xorg 出问题了....弄了好久

  •  
  •   yangzai · 2011-08-19 16:42:47 +08:00 · 9306 次点击
    这是一个创建于 4845 天前的主题,其中的信息可能已经有所发展或是发生改变。
    xorg.0.log的内容如下:
    [ 1600.668]
    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.
    [ 1600.669]
    X.Org X Server 1.10.3.901 (1.10.4 RC 1)
    Release Date: 2011-07-29
    [ 1600.670] X Protocol Version 11, Revision 0
    [ 1600.670] Build Operating System: Linux 3.0.0-ARCH i686
    [ 1600.670] Current Operating System: Linux myhost 2.6.33-ARCH #1 SMP PREEMPT Thu May 13 12:06:25 CEST 2010 i686
    [ 1600.670] Kernel command line: root=/dev/sda11 ro
    [ 1600.670] Build Date: 08 August 2011 08:28:07AM
    [ 1600.670]
    [ 1600.670] Current version of pixman: 0.22.2
    [ 1600.670] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 1600.671] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 1600.672] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Aug 19 16:01:45 2011
    [ 1600.672] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 1600.672] (==) No Layout section. Using the first Screen section.
    [ 1600.672] (==) No screen section available. Using defaults.
    [ 1600.672] (**) |-->Screen "Default Screen Section" (0)
    [ 1600.672] (**) | |-->Monitor "<default monitor>"
    [ 1600.672] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 1600.672] (==) Automatically adding devices
    [ 1600.672] (==) Automatically enabling devices
    [ 1600.673] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
    [ 1600.673] Entry deleted from font path.
    [ 1600.673] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 1600.673] Entry deleted from font path.
    [ 1600.673] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
    [ 1600.673] Entry deleted from font path.
    [ 1600.673] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 1600.673] Entry deleted from font path.
    [ 1600.673] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [ 1600.673] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 1600.673] Entry deleted from font path.
    [ 1600.673] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [ 1600.673] (==) FontPath set to:
    /usr/share/fonts/misc/
    [ 1600.673] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 1600.673] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    [ 1600.673] (II) Loader magic: 0x822e4e0
    [ 1600.673] (II) Module ABI versions:
    [ 1600.673] X.Org ANSI C Emulation: 0.4
    [ 1600.673] X.Org Video Driver: 10.0
    [ 1600.673] X.Org XInput driver : 12.2
    [ 1600.673] X.Org Server Extension : 5.0
    [ 1600.674] (--) PCI:*(0:1:0:0) 10de:0641:0000:0000 rev 161, Mem @ 0xfd000000/16777216, 0xe0000000/268435456, 0xfa000000/33554432, I/O @ 0x0000dc00/128, BIOS @ 0x????????/524288
    [ 1600.674] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [ 1600.674] (II) LoadModule: "extmod"
    [ 1600.674] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
    [ 1600.674] (II) Module extmod: vendor="X.Org Foundation"
    [ 1600.674] compiled for 1.10.3.901, module version = 1.0.0
    [ 1600.674] Module class: X.Org Server Extension
    [ 1600.674] ABI class: X.Org Server Extension, version 5.0
    [ 1600.674] (II) Loading extension MIT-SCREEN-SAVER
    [ 1600.674] (II) Loading extension XFree86-VidModeExtension
    [ 1600.674] (II) Loading extension XFree86-DGA
    [ 1600.674] (II) Loading extension DPMS
    [ 1600.674] (II) Loading extension XVideo
    [ 1600.674] (II) Loading extension XVideo-MotionCompensation
    [ 1600.674] (II) Loading extension X-Resource
    [ 1600.674] (II) LoadModule: "dbe"
    [ 1600.674] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
    [ 1600.675] (II) Module dbe: vendor="X.Org Foundation"
    [ 1600.675] compiled for 1.10.3.901, module version = 1.0.0
    [ 1600.675] Module class: X.Org Server Extension
    [ 1600.675] ABI class: X.Org Server Extension, version 5.0
    [ 1600.675] (II) Loading extension DOUBLE-BUFFER
    [ 1600.675] (II) LoadModule: "glx"
    [ 1600.675] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 1600.675] (II) Module glx: vendor="X.Org Foundation"
    [ 1600.675] compiled for 1.10.3.901, module version = 1.0.0
    [ 1600.675] ABI class: X.Org Server Extension, version 5.0
    [ 1600.675] (==) AIGLX enabled
    [ 1600.675] (II) Loading extension GLX
    [ 1600.675] (II) LoadModule: "record"
    [ 1600.675] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
    [ 1600.675] (II) Module record: vendor="X.Org Foundation"
    [ 1600.675] compiled for 1.10.3.901, module version = 1.13.0
    [ 1600.675] Module class: X.Org Server Extension
    [ 1600.675] ABI class: X.Org Server Extension, version 5.0
    [ 1600.675] (II) Loading extension RECORD
    [ 1600.675] (II) LoadModule: "dri"
    [ 1600.675] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
    [ 1600.676] (II) Module dri: vendor="X.Org Foundation"
    [ 1600.676] compiled for 1.10.3.901, module version = 1.0.0
    [ 1600.676] ABI class: X.Org Server Extension, version 5.0
    [ 1600.676] (II) Loading extension XFree86-DRI
    [ 1600.676] (II) LoadModule: "dri2"
    [ 1600.676] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
    [ 1600.676] (II) Module dri2: vendor="X.Org Foundation"
    [ 1600.676] compiled for 1.10.3.901, module version = 1.2.0
    [ 1600.676] ABI class: X.Org Server Extension, version 5.0
    [ 1600.676] (II) Loading extension DRI2
    [ 1600.676] (==) Matched nouveau as autoconfigured driver 0
    [ 1600.676] (==) Matched nv as autoconfigured driver 1
    [ 1600.676] (==) Matched nvidia as autoconfigured driver 2
    [ 1600.676] (==) Matched vesa as autoconfigured driver 3
    [ 1600.676] (==) Matched fbdev as autoconfigured driver 4
    [ 1600.676] (==) Assigned the driver to the xf86ConfigLayout
    [ 1600.676] (II) LoadModule: "nouveau"
    [ 1600.676] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
    [ 1600.676] (II) Module nouveau: vendor="X.Org Foundation"
    [ 1600.676] compiled for 1.10.3, module version = 0.0.16
    [ 1600.676] Module class: X.Org Video Driver
    [ 1600.676] ABI class: X.Org Video Driver, version 10.0
    [ 1600.677] (II) LoadModule: "nv"
    [ 1600.677] (WW) Warning, couldn't open module nv
    [ 1600.677] (II) UnloadModule: "nv"
    [ 1600.677] (II) Unloading nv
    [ 1600.677] (EE) Failed to load module "nv" (module does not exist, 0)
    [ 1600.677] (II) LoadModule: "nvidia"
    [ 1600.677] (WW) Warning, couldn't open module nvidia
    [ 1600.677] (II) UnloadModule: "nvidia"
    [ 1600.677] (II) Unloading nvidia
    [ 1600.677] (EE) Failed to load module "nvidia" (module does not exist, 0)
    [ 1600.677] (II) LoadModule: "vesa"
    [ 1600.678] (WW) Warning, couldn't open module vesa
    [ 1600.678] (II) UnloadModule: "vesa"
    [ 1600.678] (II) Unloading vesa
    [ 1600.678] (EE) Failed to load module "vesa" (module does not exist, 0)
    [ 1600.678] (II) LoadModule: "fbdev"
    [ 1600.678] (WW) Warning, couldn't open module fbdev
    [ 1600.678] (II) UnloadModule: "fbdev"
    [ 1600.678] (II) Unloading fbdev
    [ 1600.678] (EE) Failed to load module "fbdev" (module does not exist, 0)
    [ 1600.678] (II) NOUVEAU driver
    [ 1600.678] (II) NOUVEAU driver for NVIDIA chipset families :
    [ 1600.678] RIVA TNT (NV04)
    [ 1600.678] RIVA TNT2 (NV05)
    [ 1600.678] GeForce 256 (NV10)
    [ 1600.678] GeForce 2 (NV11, NV15)
    [ 1600.678] GeForce 4MX (NV17, NV18)
    [ 1600.678] GeForce 3 (NV20)
    [ 1600.678] GeForce 4Ti (NV25, NV28)
    [ 1600.678] GeForce FX (NV3x)
    [ 1600.679] GeForce 6 (NV4x)
    [ 1600.679] GeForce 7 (G7x)
    [ 1600.679] GeForce 8 (G8x)
    [ 1600.679] GeForce GTX 200 (NVA0)
    [ 1600.679] GeForce GTX 400 (NVC0)
    [ 1600.679] (--) using VT number 7

    [ 1600.682] drmOpenDevice: node name is /dev/dri/card0
    [ 1600.687] [drm] failed to load kernel module "nouveau"
    [ 1600.687] (EE) [drm] failed to open device
    [ 1600.687] (EE) No devices detected.
    [ 1600.687]
    Fatal server error:
    [ 1600.687] no screens found
    [ 1600.687]
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    [ 1600.687] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    [ 1600.687]
    7 条回复    1970-01-01 08:00:00 +08:00
    liwei
        1
    liwei  
       2011-08-19 16:48:17 +08:00
    用 lspci 看显卡型号,装上合适的显卡驱动,然后修改 xorg.conf 使用正确的驱动
    18m
        2
    18m  
       2011-08-19 17:19:15 +08:00
    @liwei ArchLinux我没记错的话已经早就不用 xorg.conf了吧? 楼主是哪个版本?
    我记得hwd的自动识别就很好用
    huangz
        3
    huangz  
       2011-08-19 17:25:16 +08:00
    按照wiki里面说的,安装好显卡驱动,之后一般就可以自动适配的,不用配xorg.conf。

    关键是装好驱动。
    liwei
        4
    liwei  
       2011-08-19 17:38:18 +08:00
    @18m xorg.conf 是用的,hwd只是用来辅助生成 xorg.conf,跟 Xorg -configure 的作用类似
    27493586
        5
    27493586  
       2011-08-19 18:38:08 +08:00
    sudo pacman -S nvidia
    nvidia-xconfig
    bhuztez
        6
    bhuztez  
       2011-08-21 10:36:51 +08:00
    pacman -S xf86-video-nouveau
    coderoar
        7
    coderoar  
       2011-08-21 10:57:12 +08:00
    @liwei “udev 会自动检测硬件,evdev 可以热插入绝大部分设备的输入驱动。”xorg-server从1.8开始就支持udev了,现在的xorg.conf主要是用来定制一些选项。

    https://wiki.archlinux.org/index.php/Xorg_(简体中文)
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1121 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 18:40 · PVG 02:40 · LAX 10:40 · JFK 13:40
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.