|

楼主 |
发表于 2010-8-3 18:29:47
|
显示全部楼层
谢谢楼上各位的回复,这两天没时间上网。不好意思。
我现在正在按照jsun的方法重新安装xorg-server
先贴上/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="-O2 -march=i686 -pipe"
- # 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"
- ##################################
- # Mirrors
- ########################################
- GENTOO_MIRRORS="http://mirrors.xmu.edu.cn/gentoo \
- ftp://mirrors.163.com/gentoo \
- http://linux.ntcu.net/ftp/dists/gentoo"
- SYNC="rsync://mirrors.xmu.edu.cn/gentoo-portage"
- #SYNC="rsync://linux.ntcu.net/gentoo-portage"
- #################################################
- ##USE
- ########################################################
- USE="alsa automount bash-completion bzip2 chm chroot cjk \
- colordiff command-args compress cscope curl fat ffmpeg fontconfig \
- glib gtkmm gzip gtk gnome jpeg2k jpgraph mp4 mplayer mplayer-bin \
- network ntfs openssh openssl opensslcrypt p2p \
- rar samba scim unzip xface -ipv6 -kde -truetype-fonts -type1-fonts \
- dvd emacs ssl iconv"
- VIDEO_CARDS="intel vesa"
- INPUT_DEVICE="evdev"
复制代码
再贴上emerge -pv xorg-server的内容
- These are the packages that would be merged, in order:
- Calculating dependencies... done!
- [ebuild N ] x11-libs/libxkbfile-1.0.6 USE="-debug" 0 kB
- [ebuild N ] x11-proto/xineramaproto-1.2 0 kB
- [ebuild N ] x11-libs/libpciaccess-0.11.0 USE="zlib -debug -minimal" 0 kB
- [ebuild N ] x11-proto/trapproto-3.4.3 0 kB
- [ebuild N ] x11-proto/bigreqsproto-1.1.0 0 kB
- [ebuild N ] x11-proto/xf86dgaproto-2.1 0 kB
- [ebuild N ] x11-apps/rgb-1.0.3 USE="-debug" 0 kB
- [ebuild N ] x11-apps/iceauth-1.0.3 USE="-debug" 0 kB
- [ebuild N ] x11-proto/xf86rushproto-1.1.2 0 kB
- [ebuild N ] x11-proto/recordproto-1.14 0 kB
- [ebuild N ] x11-proto/xcmiscproto-1.2.0 0 kB
- [ebuild N ] x11-apps/xinit-1.2.0-r3 USE="minimal pam -debug" 0 kB
- [ebuild N ] app-admin/eselect-xvmc-0.1 0 kB
- [ebuild N ] x11-apps/xkbcomp-1.1.1 USE="-debug" 0 kB
- [ebuild N ] x11-libs/libxkbui-1.0.2 USE="-debug" 0 kB
- [ebuild N ] x11-libs/libXvMC-1.0.5 USE="-debug" 0 kB
- [ebuild N ] x11-misc/xkeyboard-config-1.9 0 kB
- [ebuild N ] x11-base/xorg-server-1.7.6 USE="hal nptl sdl xorg -debug -dmx -
- ipv6 -kdrive -minimal -tslib" 0 kB
- [ebuild N ] x11-drivers/xf86-input-keyboard-1.4.0 USE="-debug" 0 kB
- [ebuild N ] x11-drivers/xf86-video-vesa-2.3.0 USE="-debug" 259 kB
- [ebuild N ] x11-drivers/xf86-video-intel-2.9.1 USE="dri -debug" 0 kB
- [ebuild N ] x11-drivers/xf86-input-mouse-1.5.0 USE="-debug" 0 kB
- [ebuild N ] x11-drivers/xf86-input-evdev-2.4.0 USE="-debug" 0 kB
- [ebuild N ] x11-base/xorg-drivers-1.7 INPUT_DEVICES="evdev keyboard mouse -
- acecad -aiptek -fpit -joystick -penmount -synaptics -tslib -virtualbox -vmmouse
- -void -wacom" VIDEO_CARDS="intel vesa -apm -ark -ast -chips -cirrus -dummy -epso
- n -fbdev -fglrx -geode -glint -i128 -i740 (-impact) -mach64 -mga -neomagic (-new
- port) -nouveau -nv -nvidia -r128 -radeon -radeonhd -rendition -s3 -s3virge -sava
- ge -siliconmotion -sis -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb
- ) (-sunleo) (-suntcx) -tdfx -tga -trident -tseng -v4l -via -virtualbox -vmware (
- -voodoo) -xgi" 0 kB
- Total: 24 packages (24 new), Size of downloads: 259 kB
复制代码
稍后再贴上xorg.conf.new的内容。
关于Xorg.0.log 我也很奇怪,上一次装xorg-server后运行Xorg -config ~/xorg.conf.new
/var/log/目录下根本就没有Xorg.0.log 这个文件。
等这次装完我再运行试试。
安装完成,检查/etc/X11/ 目录下没有xorg.conf文件,
没有运行Xorg -configure 命令,直接运行Xorg命令,系统没有死机,但是黑屏,/var/log/Xorg.0.log文件如下:- compiled for 1.7.6, 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.6, 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="X.Org Foundation"
- compiled for 1.7.6, module version = 1.0.0
- ABI class: X.Org Server Extension, version 2.0
- (==) AIGLX enabled
- (II) Loading extension GLX
- (II) LoadModule: "record"
- (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
- (II) Module record: vendor="X.Org Foundation"
- compiled for 1.7.6, module version = 1.13.0
- Module class: X.Org Server Extension
- ABI class: X.Org Server Extension, version 2.0
- (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.7.6, 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.6, module version = 1.1.0
- ABI class: X.Org Server Extension, version 2.0
- (II) Loading extension DRI2
- (II) LoadModule: "intel"
- (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
- (II) Module intel: vendor="X.Org Foundation"
- compiled for 1.7.6, module version = 2.9.1
- Module class: X.Org Video Driver
- ABI class: X.Org Video Driver, version 6.0
- (II) LoadModule: "vesa"
- (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
- (II) Module vesa: vendor="X.Org Foundation"
- compiled for 1.7.6, module version = 2.3.0
- Module class: X.Org Video Driver
- ABI class: X.Org Video Driver, version 6.0
- (II) LoadModule: "fbdev"
- (WW) Warning, couldn't open module fbdev
- (II) UnloadModule: "fbdev"
- (EE) Failed to load module "fbdev" (module does not exist, 0)
- (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
- i810-dc100, i810e, i815, i830M, 845G, 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, Clarkdale, Arrandale
- (II) VESA: driver for VESA chipsets: vesa
- (II) Primary Device is: PCI 00@00:02:0
- (WW) Falling back to old probe method for vesa
- drmOpenDevice: node name is /dev/dri/card0
- drmOpenDevice: open result is 9, (OK)
- drmOpenByBusid: Searching for BusID pci:0000:00:02.0
- drmOpenDevice: node name is /dev/dri/card0
- drmOpenDevice: open result is 9, (OK)
- drmOpenByBusid: drmOpenMinor returns 9
- drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
- (II) intel(0): Creating default Display subsection in Screen section
- "Builtin Default intel Screen 0" for depth/fbbpp 24/32
- (==) intel(0): Depth 24, (--) framebuffer bpp 32
- (==) intel(0): RGB weight 888
- (==) intel(0): Default visual is TrueColor
- (II) intel(0): Integrated Graphics Chipset: Intel(R) 852GM
- (--) intel(0): Chipset: "852GM/855GM"
- (II) intel(0): Output VGA1 has no monitor section
- (II) intel(0): Output LVDS1 has no monitor section
- (II) intel(0): Output VGA1 disconnected
- (II) intel(0): Output LVDS1 connected
- (II) intel(0): Using exact sizes for initial modes
- (II) intel(0): Output LVDS1 using initial mode 1024x768
- (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
- (==) intel(0): video overlay key set to 0x101fe
- (==) intel(0): DPI set to (96, 96)
- (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.6, module version = 1.0.0
- ABI class: X.Org ANSI C Emulation, version 0.4
- (II) UnloadModule: "vesa"
- (II) Unloading /usr/lib/xorg/modules/drivers/vesa_drv.so
- (==) Depth 24 pixmap format is 32 bpp
- (II) intel(0): [DRI2] Setup complete
- (**) intel(0): Kernel mode setting active, disabling FBC.
- (**) intel(0): Framebuffer compression disabled
- (**) intel(0): Tiling enabled
- (**) intel(0): SwapBuffers wait enabled
- (==) intel(0): VideoRam: 131072 KB
- (II) intel(0): Attempting memory allocation with tiled buffers.
- (II) intel(0): Tiled allocation successful.
- (II) UXA(0): Driver registered support for the following operations:
- (II) solid
- (II) copy
- (II) composite (RENDER acceleration)
- (==) intel(0): Backing store disabled
- (==) intel(0): Silken mouse enabled
- (II) intel(0): Initializing HW Cursor
- (II) intel(0): No memory allocations
- (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
- (==) intel(0): DPMS enabled
- (==) intel(0): Intel XvMC decoder disabled
- (WW) intel(0): Disabling Xv because no adaptors could be initialized.
- (II) intel(0): direct rendering: DRI2 Enabled
- (--) RandR disabled
- (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 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) AIGLX: enabled GLX_MESA_copy_sub_buffer
- (II) AIGLX: enabled GLX_SGI_make_current_read
- (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
- (II) AIGLX: Loaded and initialized /usr/lib/dri/i915_dri.so
- (II) GLX: Initialized DRI2 GL provider for screen 0
- (II) intel(0): Setting screen physical size to 270 x 203
- (II) config/hal: Adding input device SynPS/2 Synaptics TouchPad
- (II) LoadModule: "evdev"
- (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
- (II) Module evdev: vendor="X.Org Foundation"
- compiled for 1.7.6, module version = 2.4.0
- Module class: X.Org XInput Driver
- ABI class: X.Org XInput driver, version 7.0
- (**) SynPS/2 Synaptics TouchPad: always reports core events
- (**) SynPS/2 Synaptics TouchPad: Device: "/dev/input/event6"
- (II) SynPS/2 Synaptics TouchPad: Found 11 mouse buttons
- (II) SynPS/2 Synaptics TouchPad: Found absolute axes
- (II) SynPS/2 Synaptics TouchPad: Found x and y absolute axes
- (II) SynPS/2 Synaptics TouchPad: Found absolute touchpad.
- (II) SynPS/2 Synaptics TouchPad: Configuring as touchpad
- (**) SynPS/2 Synaptics TouchPad: YAxisMapping: buttons 4 and 5
- (**) SynPS/2 Synaptics TouchPad: EmulateWheelButton: 4, EmulateWheelInertia: 10,
- EmulateWheelTimeout: 200
- (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TO
- UCHPAD)
- (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
- (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 0
- (II) SynPS/2 Synaptics TouchPad: initialized for absolute axes.
- (II) config/hal: Adding input device AT Translated Set 2 keyboard
- (**) AT Translated Set 2 keyboard: always reports core events
- (**) AT Translated Set 2 keyboard: Device: "/dev/input/event5"
- (II) AT Translated Set 2 keyboard: Found keys
- (II) AT Translated Set 2 keyboard: Configuring as keyboard
- (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type:
- KEYBOARD)
- (**) Option "xkb_rules" "evdev"
- (**) Option "xkb_model" "evdev"
- (**) Option "xkb_layout" "us"
- (II) config/hal: Adding input device Sleep Button
- (**) Sleep Button: always reports core events
- (**) Sleep Button: Device: "/dev/input/event1"
- (II) Sleep Button: Found keys
- (II) Sleep Button: Configuring as keyboard
- (II) XINPUT: Adding extended input device "Sleep 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/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 Video Bus
- (**) Video Bus: always reports core events
- (**) Video Bus: Device: "/dev/input/event4"
- (II) Video Bus: Found keys
- (II) Video Bus: Configuring as keyboard
- (II) XINPUT: Adding extended input device "Video Bus" (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/event3"
- (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) AIGLX: Suspending AIGLX clients for VT switch
- (II) Power Button: Close
- (II) UnloadModule: "evdev"
- (II) Video Bus: Close
- (II) UnloadModule: "evdev"
- (II) Power Button: Close
- (II) UnloadModule: "evdev"
- (II) Sleep Button: Close
- (II) UnloadModule: "evdev"
- (II) AT Translated Set 2 keyboard: Close
- (II) UnloadModule: "evdev"
- (II) SynPS/2 Synaptics TouchPad: Close
- (II) UnloadModule: "evdev"
复制代码
运行rc-status default 结果如下:- Runlevel: default
- alsasound
- [ started ]
- dbus
- [ started ]
- hald
- [ started ]
- local
- [ started ]
- net.eth0
- [ started ]
- netmount
- [ started ]
- sshd
- [ started ]
- syslog-ng
- [ started ]
- udev-postmount
- [ started ]
复制代码
运行rc-status boot结果如下:- Runlevel: boot
- bootmisc
- [ started ]
- checkfs
- [ started ]
- checkroot
- [ started ]
- clock
- [ started ]
- consolefont
- [ started ]
- hostname
- [ started ]
- keymaps
- [ started ]
- localmount
- [ started ]
- modules
- [ started ]
- net.lo
- [ started ]
- rmnologin
- [ started ]
- urandom
- [ started ]
复制代码
另外:今天我下载了一个ArchLinux LiveCD 也不能启动到X环境,这个LiveCD中的Xorg-server用的是1.8
现在我只能在frambuffer with KMS折腾了。 |
|