muwanqing_cu
发表于 2013-01-04 16:58
多谢 我去试试
muwanqing_cu
发表于 2013-01-04 17:53
回复 10# zeissoctopus
第三步make config后 提示如下:root@freebsd:/usr/ports/graphics/libdrm # make config
===> No options to configure
zeissoctopus
发表于 2013-01-04 23:03
本帖最后由 zeissoctopus 于 2013-01-04 23:05 编辑
muwanqing_cu 发表于 2013-01-04 17:53 static/image/common/back.gif
回复 10# zeissoctopus
第2步我寫錯一字,第二步正確如下
在/etc/make.conf 加下兩行
WITH_KMS=YES
WITH_NEW_XORG=YES
然後第3步 make config 就出現 KMS 選項
muwanqing_cu
发表于 2013-01-05 11:08
本帖最后由 muwanqing_cu 于 2013-01-05 11:11 编辑
第四步#WITH_NEW_XORG=YES 注释掉make config后INTEL就出现了不然 就没有INTEL的选项
是不是默认就直接选上了?
正在编译中.........
muwanqing_cu
发表于 2013-01-05 17:33
本帖最后由 muwanqing_cu 于 2013-01-05 17:51 编辑
startx 也起不来了 Xorg -configure后也没生成xorg.conf.new
zeissoctopus
发表于 2013-01-05 17:59
本帖最后由 zeissoctopus 于 2013-01-05 18:13 编辑
muwanqing_cu 发表于 2013-01-05 17:33 static/image/common/back.gif
startx 也起不来了 Xorg -configure后也没生成xorg.conf.new
樓主編譯完新的 Xorg 是如何安裝?
樓主請自習如何設定 Xorg
1) 版主寫的 http://bbs.chinaunix.net/thread-3751834-1-1.html 其中第 11 步
2) 官方手冊 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html
以上都是基本功,用 FreeBSD 一定要自己學懂。
P.S. 如果搞不到,還是安裝 PC-BSD 吧
muwanqing_cu
发表于 2013-01-05 18:33
多谢 LS了 我再试试不行的话 再试试PC-BSD
zeissoctopus
发表于 2013-01-05 18:42
編譯完帶有 GEM/KMS 的新 xorg:
cd /usr/ports/X11/xorg
su root
make
編譯完帶有 GEM/KMS 後,重新安裝新的 Xorg 蓋過舊的
cd /usr/ports/X11/xorg
su root
make deinstall
make install
安裝完後,用 root 重新登入一次,然後輸入 Xorg -configure,新的 xorg.conf.new 便會在 root 的家目錄中 /root/xorg.conf.new
muwanqing_cu
发表于 2013-01-15 20:19
今天有空了 继续折腾重来一遍 看看结果:kiss:
muwanqing_cu
发表于 2013-01-16 16:55
回复 18# zeissoctopus
分辨率还是不对
[ 21.763]
X.Org X Server 1.10.6
Release Date: 2012-02-10
[ 21.763] X Protocol Version 11, Revision 0
[ 21.763] Build Operating System: FreeBSD 9.1-RELEASE amd64
[ 21.763] Current Operating System: FreeBSD linux.com 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec4 09:23:10 UTC 2012 root@farrell.cse.buffalo
[ 21.764] Build Date: 15 January 201306:22:12PM
[ 21.764]
[ 21.764] Current version of pixman: 0.24.2
[ 21.764] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 21.764] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 21.764] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jan 16 16:48:10 2013
[ 21.815] (==) Using config file: "/etc/X11/xorg.conf"
[ 21.839] (==) ServerLayout "X.org Configured"
[ 21.839] (**) |-->Screen "Screen0" (0)
[ 21.839] (**) | |-->Monitor "Monitor0"
[ 21.840] (**) | |-->Device "Card0"
[ 21.840] (**) |-->Input Device "Mouse0"
[ 21.840] (**) |-->Input Device "Keyboard0"
[ 21.840] (==) Automatically adding devices
[ 21.840] (==) Automatically enabling devices
[ 21.840] (**) FontPath set to:
${prefix}/share/fonts/X11/misc/,
${prefix}/share/fonts/X11/TTF/,
${prefix}/share/fonts/X11/OTF/,
${prefix}/share/fonts/X11/Type1/,
${prefix}/share/fonts/X11/100dpi/,
${prefix}/share/fonts/X11/75dpi/,
${prefix}/share/fonts/X11/misc/,
${prefix}/share/fonts/X11/TTF/,
${prefix}/share/fonts/X11/OTF/,
${prefix}/share/fonts/X11/Type1/,
${prefix}/share/fonts/X11/100dpi/,
${prefix}/share/fonts/X11/75dpi/
[ 21.840] (**) ModulePath set to "/usr/local/lib/xorg/modules"
[ 21.840] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 21.840] (WW) Disabling Mouse0
[ 21.840] (WW) Disabling Keyboard0
[ 21.840] (II) Loader magic: 0x7c8240
[ 21.840] (II) Module ABI versions:
[ 21.840] X.Org ANSI C Emulation: 0.4
[ 21.840] X.Org Video Driver: 10.0
[ 21.841] X.Org XInput driver : 12.2
[ 21.841] X.Org Server Extension : 5.0
[ 21.841] (--) PCI:*(0:0:2:0) 8086:0be2:8086:2014 rev 9, Mem @ 0xc0100000/1048576, I/O @ 0x000020d0/8, BIOS @ 0x????????/65536
[ 21.841] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
[ 21.841] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
[ 21.841] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 21.841] (II) "record" will be loaded. This was enabled by default and also specified in the config file.
[ 21.841] (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
[ 21.841] (II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
[ 21.841] (II) LoadModule: "extmod"
[ 21.842] (II) Loading /usr/local/lib/xorg/modules/extensions/libextmod.so
[ 21.869] (II) Module extmod: vendor="X.Org Foundation"
[ 21.869] compiled for 1.10.6, module version = 1.0.0
[ 21.869] Module class: X.Org Server Extension
[ 21.869] ABI class: X.Org Server Extension, version 5.0
[ 21.869] (II) Loading extension MIT-SCREEN-SAVER
[ 21.869] (II) Loading extension XFree86-VidModeExtension
[ 21.869] (II) Loading extension XFree86-DGA
[ 21.869] (II) Loading extension DPMS
[ 21.869] (II) Loading extension XVideo
[ 21.870] (II) Loading extension XVideo-MotionCompensation
[ 21.870] (II) Loading extension X-Resource
[ 21.870] (II) LoadModule: "record"
[ 21.870] (II) Loading /usr/local/lib/xorg/modules/extensions/librecord.so
[ 21.871] (II) Module record: vendor="X.Org Foundation"
[ 21.871] compiled for 1.10.6, module version = 1.13.0
[ 21.872] Module class: X.Org Server Extension
[ 21.872] ABI class: X.Org Server Extension, version 5.0
[ 21.872] (II) Loading extension RECORD