+ -
当前位置:首页 → 问答吧 → 全新安装,装完base包后就装xorg,xorg黑屏

全新安装,装完base包后就装xorg,xorg黑屏

时间:2009-12-15

来源:互联网

从2009.08盘安装的,装完后pacman -Syu,然后pacman -S xorg
装完后发现xorgconfig没有,网上一查说现在可以不用了,有hal就行,于是加载hal,把用户名加入hal和dbus组。
用X启动,说找不到监视器,就从WIKI上拷了一上xorg.conf,启动,黑屏。
键盘灯亮,应该Hal应该已经有效了,而且查Xorg.0.log里也没有EE,奇怪!
装nvidia驱动(我用的是GF6600),用nvidix-xconfig配置,还是黑屏。
记得以前用2008.03盘也是这样装的,装完用xorgconfig配置一下就可以启动起来了,现在...郁闷~~大家帮忙~~
是不是除xorg外,还要装什么东西啊?

作者: waiting4you   发布时间: 2009-12-15

lz用的啥驱动?不会是xorg默认的xf86-video-vesa吧?
nvidia不行的话,就换17x系列试试,我那次在一个GF Go 5700上装NV的驱动,很和谐的,顺便贴出你的Xorg.0.log看看?

还有就是:是不是你的显示器不支持自动获取分辨率啊?我接液晶电视就是这样,不用xorg.conf直接黑屏,后来发现是要指定下分辨率才成。

作者: yafeng   发布时间: 2009-12-15

谢谢楼上,开始用的就是vesa,后来装的是nvidia驱动,版本号是190什么的。
显示器的分辨率已经在xorg.conf里设置了,还是不行。等会儿我去把xorg.conf和xorg.o.log弄过来。(偶现在只能在windows下发贴了)

作者: waiting4you   发布时间: 2009-12-15

引用:
作者: waiting4you
谢谢楼上,开始用的就是vesa,后来装的是nvidia驱动,版本号是190什么的。
显示器的分辨率已经在xorg.conf里设置了,还是不行。等会儿我去把xorg.conf和xorg.o.log弄过来。(偶现在只能在windows下发贴了)
有第二台机器的话,可以ssh到黑屏的机器上,用xrander等看看当前分辨率,或者直接用xrander改一下分辨率就好了

作者: yafeng   发布时间: 2009-12-15

再次感谢,应该不是分辨率或刷新率的问题,我又直接装了xfce4,用startxfce4启动,会出现一个错误对话框:
标题:Unable to conact settings server
内容:/usr/bin/dbus-launch terminated abnormally, without any error message
点关闭又跳过另一对话框,大意应该是启动不了xfce4,要退出之类,关闭后退回字符界面。

下面是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.7.3.901 (1.7.4 RC 1)
Release Date: 2009-12-11
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-ARCH i686
Current Operating System: Linux myhost 2.6.31-ARCH #1 SMP PREEMPT Tue Nov 10 19:48:17 CET 2009 i686
Kernel command line: root=/dev/sda6 ro quiet vga=792
Build Date: 12 December 2009 12:59:40PM

Current version of pixman: 0.16.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: Tue Dec 15 22:00:55 2009
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Layout0"
(**) |-->Screen "Screen0" (0)
(**) | |-->Monitor "<default monitor>"
(**) | |-->Device "Device0"
(==) No monitor specified for screen "Screen0".
Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/local/" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/share/fonts/TTF" does not exist.
Entry deleted from font path.
(**) FontPath set to:
/usr/share/fonts/misc,
/usr/share/fonts/100dpi:unscaled,
/usr/share/fonts/75dpi:unscaled,
/usr/share/fonts/Type1
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
If no devices become available, reconfigure HAL or disable AutoAddDevices.
(II) Loader magic: 0x81e4c60
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(--) using VT number 7

(--) PCI:*(0:1:0:0) 10de:00f2:1458:3153 nVidia Corporation NV43 [GeForce 6600] rev 162, Mem @ 0xe8000000/16777216, 0xd0000000/268435456, 0xe9000000/16777216, BIOS @ 0x????????/131072
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
compiled for 1.7.3.901, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(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.7.3.901, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Server Extension
(II) NVIDIA GLX Module 190.42 Tue Oct 20 20:55:08 PDT 2009
(II) Loading extension GLX
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
compiled for 1.7.3.901, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.7.3.901, module version = 1.1.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver 190.42 Tue Oct 20 20:26:00 PDT 2009
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 01@00:00:0
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
compiled for 1.7.3.901, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/lib/xorg/modules/libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
compiled for 1.7.3.901, module version = 1.0.0
ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
(II) NVIDIA(0): Creating default Display subsection in Screen section
"Screen0" for depth/fbbpp 24/32
(==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) Dec 15 22:00:55 NVIDIA(0): Enabling RENDER acceleration
(II) Dec 15 22:00:55 NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) Dec 15 22:00:55 NVIDIA(0): enabled.
(II) Dec 15 22:00:56 NVIDIA(0): NVIDIA GPU GeForce 6600 (NV43) at PCI:1:0:0 (GPU-0)
(--) Dec 15 22:00:56 NVIDIA(0): Memory: 131072 kBytes
(--) Dec 15 22:00:56 NVIDIA(0): VideoBIOS: 05.43.02.57.00
(II) Dec 15 22:00:56 NVIDIA(0): Detected AGP rate: 8X
(--) Dec 15 22:00:56 NVIDIA(0): Interlaced video modes are supported on this GPU
(--) Dec 15 22:00:56 NVIDIA(0): Connected display device(s) on GeForce 6600 at PCI:1:0:0:
(--) Dec 15 22:00:56 NVIDIA(0): KTC K-5002L (CRT-1)
(--) Dec 15 22:00:56 NVIDIA(0): KTC K-5002L (CRT-1): 400.0 MHz maximum pixel clock
(II) Dec 15 22:00:56 NVIDIA(0): Assigned Display Device: CRT-1
(==) Dec 15 22:00:56 NVIDIA(0):
(==) Dec 15 22:00:56 NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
(==) Dec 15 22:00:56 NVIDIA(0): will be used as the requested mode.
(==) Dec 15 22:00:56 NVIDIA(0):
(II) Dec 15 22:00:56 NVIDIA(0): Validated modes:
(II) Dec 15 22:00:56 NVIDIA(0): "nvidia-auto-select"
(II) Dec 15 22:00:56 NVIDIA(0): Virtual screen size determined to be 1024 x 768
(--) Dec 15 22:00:56 NVIDIA(0): DPI set to (86, 88); computed from "UseEdidDpi" X config
(--) Dec 15 22:00:56 NVIDIA(0): option
(==) Dec 15 22:00:56 NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
(II) Dec 15 22:00:56 NVIDIA(0): Initialized AGP GART.
(II) Dec 15 22:00:56 NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
(II) Dec 15 22:00:56 NVIDIA(0): may not be running or the "AcpidSocketPath" X
(II) Dec 15 22:00:56 NVIDIA(0): configuration option may not be set correctly. When the
(II) Dec 15 22:00:56 NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
(II) Dec 15 22:00:56 NVIDIA(0): try to use it to receive ACPI event notifications. For
(II) Dec 15 22:00:56 NVIDIA(0): details, please see the "ConnectToAcpid" and
(II) Dec 15 22:00:56 NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
(II) Dec 15 22:00:56 NVIDIA(0): Config Options in the README.
(II) Dec 15 22:00:56 NVIDIA(0): Setting mode "nvidia-auto-select"
(II) Loading extension NV-GLX
(II) Dec 15 22:00:56 NVIDIA(0): Initialized OpenGL Acceleration
(==) NVIDIA(0): Disabling shared memory pixmaps
(II) Dec 15 22:00:56 NVIDIA(0): Initialized X Rendering Acceleration
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(==) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(II) Loading extension XINERAMA
(==) RandR enabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing extension GLX
(II) config/hal: Adding input device Macintosh mouse button emulation
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
compiled for 1.7.1.902, module version = 2.3.1
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 7.0
(**) Macintosh mouse button emulation: always reports core events
(**) Macintosh mouse button emulation: Device: "/dev/input/event0"
(II) Macintosh mouse button emulation: Found 3 mouse buttons
(II) Macintosh mouse button emulation: Found relative axes
(II) Macintosh mouse button emulation: Found x and y relative axes
(II) Macintosh mouse button emulation: Configuring as mouse
(**) Macintosh mouse button emulation: YAxisMapping: buttons 4 and 5
(**) Macintosh mouse button emulation: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Macintosh mouse button emulation" (type: MOUSE)
(**) Macintosh mouse button emulation: (accel) keeping acceleration scheme 1
(**) Macintosh mouse button emulation: (accel) acceleration profile 0
(II) Macintosh mouse button emulation: initialized for relative axes.
(II) config/hal: Adding input device HEWLETT PACKARD USB Keyboard
(**) HEWLETT PACKARD USB Keyboard: always reports core events
(**) HEWLETT PACKARD USB Keyboard: Device: "/dev/input/event6"
(II) HEWLETT PACKARD USB Keyboard: Found 1 mouse buttons
(II) HEWLETT PACKARD USB Keyboard: Found scroll wheel(s)
(II) HEWLETT PACKARD USB Keyboard: Found relative axes
(II) HEWLETT PACKARD USB Keyboard: Found absolute axes
(II) HEWLETT PACKARD USB Keyboard: Found keys
(II) HEWLETT PACKARD USB Keyboard: Configuring as mouse
(II) HEWLETT PACKARD USB Keyboard: Configuring as keyboard
(**) HEWLETT PACKARD USB Keyboard: YAxisMapping: buttons 4 and 5
(**) HEWLETT PACKARD USB Keyboard: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "HEWLETT PACKARD USB Keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(EE) HEWLETT PACKARD USB Keyboard: failed to initialize for relative axes.
(**) HEWLETT PACKARD USB Keyboard: (accel) keeping acceleration scheme 1
(**) HEWLETT PACKARD USB Keyboard: (accel) acceleration profile 0
(II) HEWLETT PACKARD USB Keyboard: initialized for absolute axes.
(II) config/hal: Adding input device HEWLETT PACKARD USB Keyboard
(**) HEWLETT PACKARD USB Keyboard: always reports core events
(**) HEWLETT PACKARD USB Keyboard: Device: "/dev/input/event5"
(II) HEWLETT PACKARD USB Keyboard: Found keys
(II) HEWLETT PACKARD USB Keyboard: Configuring as keyboard
(II) XINPUT: Adding extended input device "HEWLETT PACKARD USB Keyboard" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) config/hal: Adding input device USB Optical Mouse
(**) USB Optical Mouse: always reports core events
(**) USB Optical Mouse: Device: "/dev/input/event4"
(II) USB Optical Mouse: Found 3 mouse buttons
(II) USB Optical Mouse: Found scroll wheel(s)
(II) USB Optical Mouse: Found relative axes
(II) USB Optical Mouse: Found x and y relative axes
(II) USB Optical Mouse: Configuring as mouse
(**) USB Optical Mouse: YAxisMapping: buttons 4 and 5
(**) USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "USB Optical Mouse" (type: MOUSE)
(**) USB Optical Mouse: (accel) keeping acceleration scheme 1
(**) USB Optical Mouse: (accel) acceleration profile 0
(II) USB Optical Mouse: initialized for relative axes.
(II) config/hal: Adding input device Power Button
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event2"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) config/hal: Adding input device Power Button
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event1"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "evdev"
(**) Option "xkb_layout" "us"
(II) Macintosh mouse button emulation: Close
(II) UnloadModule: "evdev"
(II) HEWLETT PACKARD USB Keyboard: Close
(II) UnloadModule: "evdev"
(II) HEWLETT PACKARD USB Keyboard: Close
(II) UnloadModule: "evdev"
(II) USB Optical Mouse: Close
(II) UnloadModule: "evdev"
(II) Power Button: Close
(II) UnloadModule: "evdev"
(II) Power Button: Close
(II) UnloadModule: "evdev"

作者: waiting4you   发布时间: 2009-12-16

这是我尝试的两个版本的xorg.conf,都不成功:
版本一:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
EndSection

Section "Files"
FontPath "/usr/share/fonts/local/"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 6600"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
EndSection

版本二:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder63) Tue Oct 20 21:00:15 PDT 2009

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

#Section "Files"
# ModulePath "/usr/lib/xorg/modules"
# FontPath "/usr/share/fonts/misc"
# FontPath "/usr/share/fonts/100dpi:unscaled"
# FontPath "/usr/share/fonts/75dpi:unscaled"
# FontPath "/usr/share/fonts/TTF"
# FontPath "/usr/share/fonts/Type1"
#EndSection

#Section "Module"
# Load "dbe"
# Load "dri2"
# Load "extmod"
# Load "glx"
#EndSection

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

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

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 30.0 - 60.0
VertRefresh 60.0 - 75.0
Option "DPMS"
EndSection

Section "Device"

### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
#Option "ShadowFB" # [<bool>]
#Option "DefaultRefresh" # [<bool>]
#Option "ModeSetClearScreen" # [<bool>]
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV43 [GeForce 6600]"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
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

再次感谢大家花精力帮我查找问题^_^

作者: waiting4you   发布时间: 2009-12-16

对了,版本二里的#注释也是我后来加的,试验了N次的后果~~

作者: waiting4you   发布时间: 2009-12-16

哈哈,搞定了,要装一个dbus。
新版的Arch装base的时候已经有一个dbus-core了,所有启动的时候我看到已经有dbus信息了,所以一直没往这方向想。在archlinux的官方论坛上看到有人和我一样,再装一个dbus解决。
谢谢楼上的帮助。

作者: waiting4you   发布时间: 2009-12-16

hal不是依赖dbus么?估计是你的dbus包有问题了,我碰见过一次,某次升级后dbus,hal启动总是失败,然后重装dbus,hal,问题解决

作者: yafeng   发布时间: 2009-12-16

引用:
作者: yafeng
hal不是依赖dbus么?估计是你的dbus包有问题了,我碰见过一次,某次升级后dbus,hal启动总是失败,然后重装dbus,hal,问题解决
我觉得像是Arch的包依赖设置出了点问题,现在Arch把包分得很细,dbus居然分core/dbus-core和extras/dbus两份,晕~~偶就在这里载了两天。

作者: waiting4you   发布时间: 2009-12-17