startx进不了桌面

秀秀桌面并和大家分享一下自己的经验。

版主: lionux天地乾坤

回复
yuyshfj
钛 Ti
帖子: 30
注册时间: 2012-09-01 16:46

startx进不了桌面

帖子 yuyshfj » 2013-05-07 23:07

startx进不了桌面, 我的笔记本是神舟K580N-i7 D1 CPU是i7 3610QM,
两个显卡:一个是Intel HD 4000 一个是NVIDIA GeForce GT 640M
Xorg.0.log 如下:
[ 71.585] (--) checkDevMem: using aperture driver /dev/xf86
[ 71.595] (--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode (version 3.32)
[ 71.605]
X.Org X Server 1.12.3
Release Date: 2012-07-09
[ 71.605] X Protocol Version 11, Revision 0
[ 71.605] Build Operating System: OpenBSD 5.3 amd64
[ 71.605] Current Operating System: OpenBSD foo.my.domain 5.3 GENERIC.MP#62 amd64
[ 71.605] Build Date: 27 February 2013 04:27:07PM
[ 71.605]
[ 71.605] Current version of pixman: 0.28.0
[ 71.605] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 71.605] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 71.605] (==) Log file: "/var/log/Xorg.0.log", Time: Wed May 8 06:18:50 2013
[ 71.607] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d"
[ 71.608] (==) No Layout section. Using the first Screen section.
[ 71.608] (==) No screen section available. Using defaults.
[ 71.608] (**) |-->Screen "Default Screen Section" (0)
[ 71.608] (**) | |-->Monitor "<default monitor>"
[ 71.609] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 71.609] (==) Disabling SIGIO handlers for input devices
[ 71.609] (==) Automatically adding devices
[ 71.609] (==) Automatically enabling devices
[ 71.615] (==) FontPath set to:
/usr/X11R6/lib/X11/fonts/misc/,
/usr/X11R6/lib/X11/fonts/TTF/,
/usr/X11R6/lib/X11/fonts/OTF/,
/usr/X11R6/lib/X11/fonts/Type1/,
/usr/X11R6/lib/X11/fonts/100dpi/,
/usr/X11R6/lib/X11/fonts/75dpi/
[ 71.615] (==) ModulePath set to "/usr/X11R6/lib/modules"
[ 71.615] (II) The server relies on wscons to provide the list of input devices.
If no devices become available, reconfigure wscons or disable AutoAddDevices.
[ 71.615] (II) Loader magic: 0x3f31c8b53e0
[ 71.615] (II) Module ABI versions:
[ 71.615] X.Org ANSI C Emulation: 0.4
[ 71.615] X.Org Video Driver: 12.0
[ 71.615] X.Org XInput driver : 16.0
[ 71.615] X.Org Server Extension : 6.0
[ 71.615] (!!) More than one possible primary device found
[ 71.616] (--) PCI: (0:0:2:0) 8086:0166:152d:0933 rev 9, Mem @ 0xd3000000/4194304, 0xc0000000/268435456, I/O @ 0x00005000/64
[ 71.616] (--) PCI: (0:1:0:0) 10de:0fd2:152d:0933 rev 161, Mem @ 0xd2000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[ 71.616] (II) LoadModule: "extmod"
[ 71.618] (II) Loading /usr/X11R6/lib/modules/extensions/libextmod.so
[ 71.619] (II) Module extmod: vendor="X.Org Foundation"
[ 71.619] compiled for 1.12.3, module version = 1.0.0
[ 71.619] Module class: X.Org Server Extension
[ 71.619] ABI class: X.Org Server Extension, version 6.0
[ 71.619] (II) Loading extension MIT-SCREEN-SAVER
[ 71.619] (II) Loading extension XFree86-VidModeExtension
[ 71.619] (II) Loading extension XFree86-DGA
[ 71.619] (II) Loading extension DPMS
[ 71.619] (II) Loading extension XVideo
[ 71.619] (II) Loading extension XVideo-MotionCompensation
[ 71.619] (II) Loading extension X-Resource
[ 71.619] (II) LoadModule: "dbe"
[ 71.619] (II) Loading /usr/X11R6/lib/modules/extensions/libdbe.so
[ 71.620] (II) Module dbe: vendor="X.Org Foundation"
[ 71.620] compiled for 1.12.3, module version = 1.0.0
[ 71.620] Module class: X.Org Server Extension
[ 71.620] ABI class: X.Org Server Extension, version 6.0
[ 71.620] (II) Loading extension DOUBLE-BUFFER
[ 71.620] (II) LoadModule: "glx"
[ 71.620] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[ 71.623] (II) Module glx: vendor="X.Org Foundation"
[ 71.623] compiled for 1.12.3, module version = 1.0.0
[ 71.623] ABI class: X.Org Server Extension, version 6.0
[ 71.623] (==) AIGLX enabled
[ 71.623] (II) Loading extension GLX
[ 71.623] (II) LoadModule: "record"
[ 71.624] (II) Loading /usr/X11R6/lib/modules/extensions/librecord.so
[ 71.624] (II) Module record: vendor="X.Org Foundation"
[ 71.624] compiled for 1.12.3, module version = 1.13.0
[ 71.624] Module class: X.Org Server Extension
[ 71.624] ABI class: X.Org Server Extension, version 6.0
[ 71.624] (II) Loading extension RECORD
[ 71.624] (II) LoadModule: "dri"
[ 71.625] (II) Loading /usr/X11R6/lib/modules/extensions/libdri.so
[ 71.626] (II) Module dri: vendor="X.Org Foundation"
[ 71.626] compiled for 1.12.3, module version = 1.0.0
[ 71.626] ABI class: X.Org Server Extension, version 6.0
[ 71.626] (II) Loading extension XFree86-DRI
[ 71.626] (II) LoadModule: "dri2"
[ 71.627] (II) Loading /usr/X11R6/lib/modules/extensions/libdri2.so
[ 71.627] (II) Module dri2: vendor="X.Org Foundation"
[ 71.627] compiled for 1.12.3, module version = 1.2.0
[ 71.627] ABI class: X.Org Server Extension, version 6.0
[ 71.627] (II) Loading extension DRI2
[ 71.627] (==) Matched vesa as autoconfigured driver 0
[ 71.627] (==) Assigned the driver to the xf86ConfigLayout
[ 71.628] (II) LoadModule: "vesa"
[ 71.628] (II) Loading /usr/X11R6/lib/modules/drivers/vesa_drv.so
[ 71.628] (II) Module vesa: vendor="X.Org Foundation"
[ 71.628] compiled for 1.12.3, module version = 2.3.2
[ 71.629] Module class: X.Org Video Driver
[ 71.629] ABI class: X.Org Video Driver, version 12.0
[ 71.629] (II) VESA: driver for VESA chipsets: vesa
[ 71.629] (WW) Falling back to old probe method for vesa
[ 71.629] (EE) No devices detected.
[ 71.629]
Fatal server error:
[ 71.629] no screens found
[ 71.629]
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 71.629] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 71.629]
[ 71.630] Server terminated with error (1). Closing log file.

---------------------------------------------------------------------------------------------------------------
但是在virtualbox的虚拟机中 startx后却可以进入桌面

请各位高手如果有空麻烦帮忙看一下。

f5b
锆 Zr
帖子: 643
注册时间: 2011-10-22 20:43

Re: startx进不了桌面

帖子 f5b » 2013-05-08 17:30

根据经验,默认安装后startx无法进入X,一般是OpenBSD不支持这款显卡。
两个显卡能切换的么?切换后重新启动再进入X看看

请搜索OpenBSD mailist的misc列表,很多人提出类似问题的,如果想解决,把这些错误信息在上面详细报告,可能有开发者感兴趣马上就把驱动写好。

当前,提交驱动问题之前,请先下载最新的snapshot版本安装测试X,你现在测试的是5.3 release吧,或许snapshot已经支持你的显卡了。

头像
acheng
锌 Zn
帖子: 581
注册时间: 2011-07-07 21:52

Re: startx进不了桌面

帖子 acheng » 2013-05-08 22:44

1. Intel HD 4000 好像是有问题(参考这里),能切换到Nvida的那张显卡吗?

2. (最好在Nvida的卡下)在命令行下运行 X -configure (默认生成一个新的配置文件/root/xorg.conf.new),然后试试'X -config /root/xorg.conf.new', (Ctrl + Alt + Backspace结束X的测试;关于X,参看FAQ11)。

yuyshfj
钛 Ti
帖子: 30
注册时间: 2012-09-01 16:46

Re: startx进不了桌面

帖子 yuyshfj » 2013-05-10 12:07

已下载最新的snapshot版本安装测试X,问题照旧

yuyshfj
钛 Ti
帖子: 30
注册时间: 2012-09-01 16:46

Re: startx进不了桌面

帖子 yuyshfj » 2013-05-10 12:10

好像netbsd6.1rc1也是startx后进不了桌面

yuyshfj
钛 Ti
帖子: 30
注册时间: 2012-09-01 16:46

Re: startx进不了桌面

帖子 yuyshfj » 2013-05-10 13:22

openbsd切换显卡怎么弄!
以前没玩过。

hyaska
铜 Cu
帖子: 311
注册时间: 2010-12-10 16:11

Re: startx进不了桌面

帖子 hyaska » 2013-05-10 14:04

openbsb没有办法切换显卡。核显切换独显这个概念是WIN平台上的,一些笔记本的BIOS是功能限制的,如果没有禁用核显的功能,那就只能等了。

头像
acheng
锌 Zn
帖子: 581
注册时间: 2011-07-07 21:52

Re: startx进不了桌面

帖子 acheng » 2013-05-10 15:16

yuyshfj 写了:openbsd切换显卡怎么弄!
以前没玩过。
OpenBSD中应该是不可以的,就看你电脑的BIOS中有没有法设置。
不行的话就在笔记本上装Windows/Linux,然后在虚拟机中用OpenBSD。反正OpenBSD装在物理机上也不能发挥显卡的全部3D加速性能。

yuyshfj
钛 Ti
帖子: 30
注册时间: 2012-09-01 16:46

Re: startx进不了桌面

帖子 yuyshfj » 2013-05-11 9:10

看来openbsd还挑机子。

yuyshfj
钛 Ti
帖子: 30
注册时间: 2012-09-01 16:46

Re: startx进不了桌面

帖子 yuyshfj » 2013-05-11 9:13

谢谢各位高手

头像
acheng
锌 Zn
帖子: 581
注册时间: 2011-07-07 21:52

Re: startx进不了桌面

帖子 acheng » 2013-05-11 15:17

yuyshfj 写了:看来openbsd还挑机子。
OpenBSD的硬件驱动是它的弱点之一。

yuyshfj
钛 Ti
帖子: 30
注册时间: 2012-09-01 16:46

Re: startx进不了桌面

帖子 yuyshfj » 2013-05-13 16:10

ubuntu xfce 的13.04也不行,但是13.10日建版就可以了,我觉得BSD能不能借用linux的驱动呢

hyaska
铜 Cu
帖子: 311
注册时间: 2010-12-10 16:11

Re: startx进不了桌面

帖子 hyaska » 2013-05-13 21:12

要知道开发的事很难说,并不是说别人的可以了,自己拿来改一下就行的,特别是在开源方面。
你不能强求开发者怎么怎么样,每个开发者都有自己的想法或解决办法。
要不然就不会有开发者另起炉灶了,像BSD有openbsd dragonfly,linux就更多了。如果你有能力的话就搞定它,但大多数人是没有开发能力的,所以选硬件的时候就要想好,要有明确的方向,不然到时后悔。
再说硬件厂商的技术壁垒也是很多的,你只能适应,强求不来的。

yuyshfj
钛 Ti
帖子: 30
注册时间: 2012-09-01 16:46

Re: startx进不了桌面

帖子 yuyshfj » 2013-05-16 20:17

等openbsd啥时能在我的实体机上进入X以后再玩openbsd吧,或许不是openbsd,或许是X.org的问题

头像
unreal
银 Ag
帖子: 1083
注册时间: 2010-06-07 18:52

帖子 unreal » 2013-05-16 20:50

yuyshfj 写了:等openbsd啥时能在我的实体机上进入X以后再玩openbsd吧,或许不是openbsd,或许是X.org的问题
OpenBSD 上面跑的 Xorg 只是个大型的package,不属于OS。一般都是用老机器来玩*BSD的,但有些硬件仍然要注意,如无线网卡。你手头难道没有闲置的机器可用?

yuyshfj
钛 Ti
帖子: 30
注册时间: 2012-09-01 16:46

Re: startx进不了桌面

帖子 yuyshfj » 2013-05-17 20:36

我想将windows、linux及unix都装在一台电脑里。因为常见的PC操作系统就这三类。
windows我选win7; linux选xubuntu(openbsd支持xfce); unix我想选openbsd
如果条件允许我想以后不用windows,所以linux与unix都想学一下。

回复

在线用户

正浏览此版面之用户: Ahrefs [Bot] 和 1 访客