gentoo 安装 xorg后 无法启动xorg 【求助贴】

其他Linux/Unix/BSD/OSX等发行版讨论
回复
头像
joshuaPC
帖子: 8
注册时间: 2014-11-12 15:21
系统: Gentoo,win7

gentoo 安装 xorg后 无法启动xorg 【求助贴】

#1

帖子 joshuaPC » 2014-11-12 15:25

我根据gentoo里的wiki来装的,请帮我看看是不是有安装上有问题
安装kde桌面
1、清理不用的文件
# rm /*.tar.bz2
2、开启网络
# dhcpcd eth0
3、安装驱动
#nano /etc/portage/make.conf
添加如下信息:
INPUT_DEVICES="evdev synaptics"
VIDEO_CARDS="intel"
4、安装xorg
# echo "x11-base/xorg-server udev" >> /etc/portage/package.use
# emerge --ask xorg-server
# env-update
# source /etc/profile
5、生成xorg的配置文件
# Xorg -configure
# cp /root/xorg.conf.new /etc/X11/xorg.conf
6、测试xorg
# emerge twm xterm //安装twm、xterm
# startx //测试xorg




启动不了Xorg,后来我又安装
# emerge xf86-video-intel
# startx
还是启动不了Xorg
以下是log里的内容:




[ 16237.957]
X.Org X Server 1.15.0
Release Date: 2013-12-27


[ 16238.014] X Protocol Version 11, Revision 0


[ 16238.034] Build Operating System: Linux 3.16.5-gentoo x86_64 Gentoo


[ 16238.054] Current Operating System: Linux localhost 3.16.5-gentoo #1 SMP Wed Nov 12 15:04:58 CST 2014 x86_64


[ 16238.054] Kernel command line: BOOT_IMAGE=/kernel-genkernel-x86_64-3.16.5-gentoo root=UUID=03189834-1474-49b2-bd9e-c624a966f1d3 ro


[ 16238.096] Build Date: 12 November 2014 09:28:50PM


[ 16238.116]


[ 16238.137] Current version of pixman: 0.32.4


[ 16238.178] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.


[ 16238.178] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.


[ 16238.262] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Nov 12 22:40:06 2014


[ 16238.283] (==) Using config file: "/etc/X11/xorg.conf"


[ 16238.304] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 16238.305] (==) ServerLayout "X.org Configured"


[ 16238.305] (**) |-->Screen "Screen0" (0)


[ 16238.305] (**) | |-->Monitor "Monitor0"


[ 16238.305] (**) | |-->Device "Card0"


[ 16238.305] (**) |-->Input Device "Mouse0"
[ 16238.305] (**) |-->Input Device "Keyboard0"


[ 16238.305] (==) Automatically adding devices
[ 16238.305] (==) Automatically enabling devices


[ 16238.305] (==) Automatically adding GPU devices


[ 16238.305] (WW) The directory "/usr/share/fonts/TTF/" does not exist.


[ 16238.305] Entry deleted from font path.


[ 16238.305] (WW) The directory "/usr/share/fonts/OTF/" does not exist.


[ 16238.305] Entry deleted from font path.


[ 16238.305] (WW) The directory "/usr/share/fonts/Type1/" does not exist.


[ 16238.305] Entry deleted from font path.


[ 16238.305] (WW) `fonts.dir* not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 16238.305] Entry deleted from font path.


[ 16238.305] (Run *mkfontdir* on "/usr/share/fonts/100dpi/").


[ 16238.305] (WW) `fonts.dir* not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 16238.305] Entry deleted from font path.


[ 16238.305] (Run *mkfontdir* on "/usr/share/fonts/75dpi/").


[ 16238.305] (WW) The directory "/usr/share/fonts/TTF/" does not exist.


[ 16238.305] Entry deleted from font path.


[ 16238.305] (WW) The directory "/usr/share/fonts/OTF/" does not exist.


[ 16238.305] Entry deleted from font path.


[ 16238.305] (WW) The directory "/usr/share/fonts/Type1/" does not exist.


[ 16238.305] Entry deleted from font path.


[ 16238.305] (WW) `fonts.dir* not found (or not valid) in "/usr/share/fonts/100dpi/".


[ 16238.305] Entry deleted from font path.


[ 16238.305] (Run *mkfontdir* on "/usr/share/fonts/100dpi/").


[ 16238.305] (WW) `fonts.dir* not found (or not valid) in "/usr/share/fonts/75dpi/".


[ 16238.305] Entry deleted from font path.


[ 16238.305] (Run *mkfontdir* on "/usr/share/fonts/75dpi/").


[ 16238.305] (**) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/misc/
[ 16238.305] (**) ModulePath set to "/usr/lib64/xorg/modules"


[ 16238.305] (WW) Hotplugging is on, devices using drivers *kbd*, *mouse* or *vmmouse* will be disabled.


[ 16238.305] (WW) Disabling Mouse0


[ 16238.305] (WW) Disabling Keyboard0


[ 16238.305] (II) Loader magic: 0x7ecc60


[ 16238.305] (II) Module ABI versions:


[ 16238.305] X.Org ANSI C Emulation: 0.4


[ 16238.305] X.Org Video Driver: 15.0


[ 16238.305] X.Org XInput driver : 20.0


[ 16238.305] X.Org Server Extension : 8.0


[ 16238.306] (--) PCI:*(0:0:2:0) 8086:0166:17aa:5001 rev 9, Mem @ 0xcb000000/4194304, 0xb0000000/268435456, I/O @ 0x00007000/64


[ 16238.306] (--) PCI: (0:1:0:0) 10de:1058:17aa:5001 rev 161, Mem @ 0xca000000/16777216, 0xc0000000/134217728, 0xc8000000/33554432, I/O @ 0x00006000/128
[ 16238.327] Initializing built-in extension Generic Event Extension


[ 16238.348] Initializing built-in extension SHAPE


[ 16238.368] Initializing built-in extension MIT-SHM


[ 16238.388] Initializing built-in extension XInputExtension


[ 16238.408] Initializing built-in extension XTEST


[ 16238.427] Initializing built-in extension BIG-REQUESTS


[ 16238.446] Initializing built-in extension SYNC


[ 16238.465] Initializing built-in extension XKEYBOARD


[ 16238.483] Initializing built-in extension XC-MISC


[ 16238.501] Initializing built-in extension XINERAMA


[ 16238.518] Initializing built-in extension XFIXES


[ 16238.535] Initializing built-in extension RENDER


[ 16238.552] Initializing built-in extension RANDR


[ 16238.568] Initializing built-in extension COMPOSITE


[ 16238.584] Initializing built-in extension DAMAGE


[ 16238.600] Initializing built-in extension MIT-SCREEN-SAVER


[ 16238.616] Initializing built-in extension DOUBLE-BUFFER


[ 16238.631] Initializing built-in extension RECORD


[ 16238.646] Initializing built-in extension DPMS


[ 16238.661] Initializing built-in extension Present


[ 16238.675] Initializing built-in extension DRI3


[ 16238.689] Initializing built-in extension X-Resource


[ 16238.703] Initializing built-in extension XVideo


[ 16238.717] Initializing built-in extension XVideo-MotionCompensation


[ 16238.731] Initializing built-in extension XFree86-VidModeExtension


[ 16238.744] Initializing built-in extension XFree86-DGA


[ 16238.757] Initializing built-in extension XFree86-DRI


[ 16238.770] Initializing built-in extension DRI2
[ 16238.770] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.


[ 16238.770] (II) LoadModule: "glx"


[ 16238.770] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so


[ 16238.770] (II) Module glx: vendor="X.Org Foundation"


[ 16238.770] compiled for 1.15.0, module version = 1.0.0


[ 16238.770] ABI class: X.Org Server Extension, version 8.0


[ 16238.770] (==) AIGLX enabled
[ 16238.783] Loading extension GLX


[ 16238.783] (II) LoadModule: "intel"


[ 16238.783] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so


[ 16238.783] (II) Module intel: vendor="X.Org Foundation"


[ 16238.783] compiled for 1.15.0, module version = 2.21.15


[ 16238.783] Module class: X.Org Video Driver


[ 16238.783] ABI class: X.Org Video Driver, version 15.0


[ 16238.783] (II) intel: Driver for Intel(R) 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, HD Graphics,
HD Graphics 2000, HD Graphics 3000, HD Graphics 2500,
HD Graphics 4000, HD Graphics P4000, HD Graphics 4600,
HD Graphics 5000, HD Graphics P4600/P4700, Iris(TM) Graphics 5100,
HD Graphics 4400, HD Graphics 4200, Iris(TM) Pro Graphics 5200


[ 16238.783] (--) using VT number 7




[ 16238.854] (EE) No devices detected.


[ 16238.854] (EE)
Fatal server error:


[ 16238.854] (EE) no screens found(EE)


[ 16238.854] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.


[ 16238.854] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.


[ 16238.854] (EE)










请求解决方法 谢谢
veryplay
帖子: 3
注册时间: 2015-05-23 20:16
系统: gentoo+freebsd

Re: gentoo 安装 xorg后 无法启动xorg 【求助贴】

#2

帖子 veryplay » 2015-05-23 20:21

猜测还是驱动问题,直接将intel驱动编译进内核吧

Device Drivers --->
Graphics support --->
<Y> Intel 8xx/9xx/G3x/G4x/HD Graphics
头像
mudan
帖子: 58
注册时间: 2011-10-13 15:51

Re: gentoo 安装 xorg后 无法启动xorg 【求助贴】

#3

帖子 mudan » 2015-05-30 19:47

USE标记有添加图像界面支持吗,可否贴下看看
刚开的小站:http://mudan.github.io
回复