|
发表于 2011-7-27 09:47:58
|
显示全部楼层
Post by SmallV;2145486
startx后黑屏且无法退出,按Ctrl+Alt+Backspace没有反映,只能强制断电来退出了,
内核用的是genkernel。
下面是Xorg.0.log.old的内容:
- [ 599.639]
- X.Org X Server 1.10.2
- Release Date: 2011-05-28
- [ 599.639] X Protocol Version 11, Revision 0
- [ 599.640] Build Operating System: Linux 2.6.35-22-generic i686 Gentoo
- [ 599.640] Current Operating System: Linux localhost 2.6.38-gentoo-r6 #1 SMP Tue Jul 26 08:33:12 CST 2011 i686
- [ 599.640] Kernel command line: root=/dev/ram0 real_root=/dev/sda8
- [ 599.640] Build Date: 26 July 2011 11:29:57AM
- [ 599.640]
- [ 599.640] Current version of pixman: 0.22.0
- [ 599.641] Before reporting problems, check http://wiki.x.org
- to make sure that you have the latest version.
- [ 599.641] Markers: (--) probed, (**) from config file, (==) default setting,
- (++) from command line, (!!) notice, (II) informational,
- (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
- [ 599.642] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jul 26 23:20:12 2011
- [ 599.689] (==) Using config file: "/etc/X11/xorg.conf"
- [ 599.689] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
- [ 599.724] (==) ServerLayout "X.org Configured"
- [ 599.724] (**) |-->Screen "Screen0" (0)
- [ 599.724] (**) | |-->Monitor "Monitor0"
- [ 599.724] (**) | |-->Device "Card0"
- [ 599.724] (**) |-->Input Device "Mouse0"
- [ 599.724] (**) |-->Input Device "Keyboard0"
- [ 599.724] (==) Automatically adding devices
- [ 599.724] (==) Automatically enabling devices
- [ 599.777] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
- [ 599.777] Entry deleted from font path.
- [ 599.777] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
- [ 599.777] Entry deleted from font path.
- [ 599.778] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
- [ 599.778] Entry deleted from font path.
- [ 599.813] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
- [ 599.813] Entry deleted from font path.
- [ 599.813] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
- [ 599.836] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
- [ 599.836] Entry deleted from font path.
- [ 599.836] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
- [ 599.836] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
- [ 599.836] Entry deleted from font path.
- [ 599.836] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
- [ 599.836] Entry deleted from font path.
- [ 599.836] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
- [ 599.836] Entry deleted from font path.
- [ 599.836] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
- [ 599.836] Entry deleted from font path.
- [ 599.836] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
- [ 599.836] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
- [ 599.836] Entry deleted from font path.
- [ 599.836] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
- [ 599.836] (**) FontPath set to:
- /usr/share/fonts/misc/,
- /usr/share/fonts/misc/
- [ 599.836] (**) ModulePath set to "/usr/lib/xorg/modules"
- [ 599.836] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
- [ 599.836] (WW) Disabling Mouse0
- [ 599.836] (WW) Disabling Keyboard0
- [ 599.836] (II) Loader magic: 0x81f5d80
- [ 599.836] (II) Module ABI versions:
- [ 599.836] X.Org ANSI C Emulation: 0.4
- [ 599.836] X.Org Video Driver: 10.0
- [ 599.836] X.Org XInput driver : 12.2
- [ 599.836] X.Org Server Extension : 5.0
- [ 599.838] (--) PCI:*(0:0:2:0) 8086:0046:17aa:396c rev 24, Mem @ 0xf9400000/4194304, 0xd0000000/268435456, I/O @ 0x00001800/8
- [ 599.838] (--) PCI: (0:1:0:0) 10de:0df0:17aa:396c rev 161, Mem @ 0xf8000000/16777216, 0xc0000000/268435456, 0xbe000000/33554432, I/O @ 0x00002000/128, BIOS @ 0x????????/524288
- [ 599.838] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
- [ 599.838] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
- [ 599.838] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
- [ 599.838] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
- [ 599.838] (II) "record" will be loaded. This was enabled by default and also specified in the config file.
- [ 599.838] (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
- [ 599.838] (II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
- [ 599.838] (II) LoadModule: "record"
- [ 599.854] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
- [ 599.874] (II) Module record: vendor="X.Org Foundation"
- [ 599.874] compiled for 1.10.2, module version = 1.13.0
- [ 599.874] Module class: X.Org Server Extension
- [ 599.874] ABI class: X.Org Server Extension, version 5.0
- [ 599.874] (II) Loading extension RECORD
- [ 599.874] (II) LoadModule: "dbe"
- [ 599.874] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
- [ 599.884] (II) Module dbe: vendor="X.Org Foundation"
- [ 599.884] compiled for 1.10.2, module version = 1.0.0
- [ 599.884] Module class: X.Org Server Extension
- [ 599.884] ABI class: X.Org Server Extension, version 5.0
- [ 599.884] (II) Loading extension DOUBLE-BUFFER
- [ 599.884] (II) LoadModule: "extmod"
- [ 599.884] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
- [ 599.895] (II) Module extmod: vendor="X.Org Foundation"
- [ 599.895] compiled for 1.10.2, module version = 1.0.0
- [ 599.895] Module class: X.Org Server Extension
- [ 599.895] ABI class: X.Org Server Extension, version 5.0
- [ 599.895] (II) Loading extension MIT-SCREEN-SAVER
- [ 599.895] (II) Loading extension XFree86-VidModeExtension
- [ 599.895] (II) Loading extension XFree86-DGA
- [ 599.895] (II) Loading extension DPMS
- [ 599.895] (II) Loading extension XVideo
- [ 599.895] (II) Loading extension XVideo-MotionCompensation
- [ 599.895] (II) Loading extension X-Resource
- [ 599.895] (II) LoadModule: "dri"
- [ 599.933] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
- [ 599.981] (II) Module dri: vendor="X.Org Foundation"
- [ 599.981] compiled for 1.10.2, module version = 1.0.0
- [ 599.981] ABI class: X.Org Server Extension, version 5.0
- [ 599.981] (II) Loading extension XFree86-DRI
- [ 599.981] (II) LoadModule: "dri2"
- [ 599.981] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
- [ 599.993] (II) Module dri2: vendor="X.Org Foundation"
- [ 599.993] compiled for 1.10.2, module version = 1.2.0
- [ 599.993] ABI class: X.Org Server Extension, version 5.0
- [ 599.993] (II) Loading extension DRI2
- [ 599.993] (II) LoadModule: "glx"
- [ 599.993] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
- [ 600.009] (II) Module glx: vendor="X.Org Foundation"
- [ 600.009] compiled for 1.10.2, module version = 1.0.0
- [ 600.009] ABI class: X.Org Server Extension, version 5.0
- [ 600.010] (==) AIGLX enabled
- [ 600.010] (II) Loading extension GLX
- [ 600.010] (II) LoadModule: "nvidia"
- [ 600.010] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
- [ 600.092] (II) Module nvidia: vendor="NVIDIA Corporation"
- [ 600.092] compiled for 4.0.2, module version = 1.0.0
- [ 600.092] Module class: X.Org Video Driver
- [ 600.118] (II) NVIDIA dlloader X Driver 270.41.06 Mon Apr 18 14:55:51 PDT 2011
- [ 600.126] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
- [ 600.126] (--) using VT number 7
- [ 600.138] (II) Loading sub module "fb"
- [ 600.138] (II) LoadModule: "fb"
- [ 600.138] (II) Loading /usr/lib/xorg/modules/libfb.so
- [ 600.152] (II) Module fb: vendor="X.Org Foundation"
- [ 600.152] compiled for 1.10.2, module version = 1.0.0
- [ 600.152] ABI class: X.Org ANSI C Emulation, version 0.4
- [ 600.152] (II) Loading sub module "wfb"
- [ 600.152] (II) LoadModule: "wfb"
- [ 600.231] (II) Loading /usr/lib/xorg/modules/libwfb.so
- [ 600.242] (II) Module wfb: vendor="X.Org Foundation"
- [ 600.242] compiled for 1.10.2, module version = 1.0.0
- [ 600.242] ABI class: X.Org ANSI C Emulation, version 0.4
- [ 600.242] (II) Loading sub module "ramdac"
- [ 600.242] (II) LoadModule: "ramdac"
- [ 600.242] (II) Module "ramdac" already built-in
- [ 600.244] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
- [ 600.244] (II) Loading /usr/lib/xorg/modules/libwfb.so
- [ 600.244] (II) Loading /usr/lib/xorg/modules/libfb.so
- [ 600.261] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
- [ 600.261] (==) NVIDIA(0): RGB weight 888
- [ 600.261] (==) NVIDIA(0): Default visual is TrueColor
- [ 600.261] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
- [ 600.261] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
- [ 600.261] (EE) NVIDIA(0): log file that the GLX module has been loaded in your X
- [ 600.261] (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If
- [ 600.261] (EE) NVIDIA(0): you continue to encounter problems, Please try
- [ 600.261] (EE) NVIDIA(0): reinstalling the NVIDIA driver.
复制代码
lspci如下:
- 00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 18)
- 00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 18)
- 00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)
- 00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
- 00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
- 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
- 00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
- 00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06)
- 00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 06)
- 00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06)
- 00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
- 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
- 00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06)
- 00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 06)
- 00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
- 00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 06)
- 01:00.0 VGA compatible controller: nVidia Corporation Device 0df0 (rev a1)
- 01:00.1 Audio device: nVidia Corporation Device 0bea (rev a1)
- 03:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 20)
- 03:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 20)
- 03:00.3 System peripheral: JMicron Technology Corp. MS Host Controller (rev 20)
- 03:00.4 System peripheral: JMicron Technology Corp. xD Host Controller (rev 20)
- 05:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
- 09:00.0 Ethernet controller: Broadcom Corporation NetLink BCM57780 Gigabit Ethernet PCIe (rev 01)
- ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 05)
- ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 05)
- ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 05)
- ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 05)
- ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 05)
- ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 05)
复制代码
/etc/make.conf如下:
- # These settings were set by the catalyst build script that automatically
- # built this stage.
- # Please consult /usr/share/portage/config/make.conf.example for a more
- # detailed example.
- CFLAGS="-O2 -march=i686 -pipe"
- CXXFLAGS="${CFLAGS}"
- # WARNING: Changing your CHOST is not something that should be done lightly.
- # Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
- CHOST="i686-pc-linux-gnu"
- MAKEOPTS="-j2"
- GENTOO_MIRRORS="http://mirrors.163.com/gentoo/"
- SYNC="rsync://rsync2.cn.gentoo.org/gentoo-portage"
- USE="-gtk -gnome qt3 qt4 kde dvd alsa cdr"
- INPUT_DEVICES="keyboard mouse"
- VIDEO_CARDS="nvidia"
复制代码
你的VGA怎么会有两个呢?
一个是intel,一个是nvidia,
不懂。 |
|