柏崎@北海道です。

# 失敗です。

At Wed, 17 Mar 2004 00:23:50 +0900,
Hiroki Kashiwazaki wrote:

> 自宅からリモートログインして Xを起動させてログを観察しているだけ
> なのですが、KDE の起動まで行ってる模様です。朝が待ち遠しい。
> とり急ぎ投稿しておきました。

とか思っていたところ、Driver "nvidia" ではなく "nv" で動いていま
した。で、"nvidia" に設定しなおしたところ、今度は一歩進んでまた
問題発生です。勘弁してよ…。

/var/log/XFree86.0.log を見たところ、全く(EE)や(WW)が存在せずに
起動しているように見えるのですが、実際の画面は、コンソールの画面
のまま、画面いっぱいにお豆腐と狂った文字列が散在しています[1]。

[1] http://genki01.cc.hokudai.ac.jp/reo/doc/images/jpg/DSCN0402.jpg

先日以降行なった事は、

1. /boot/loader.conf に以下の項目を追加
agp_load="YES"
linux_load="YES"
nvidia_load="YES"

2. /etc/X11/XF86Config の Card0 Section に
Option "NvAGP" "0" あるいは "2" 
を追加。これを指定せずとも[1]のような状態になっていました。

3. /usr/ports/x11/nvidia-driver 以下で、make の際に 
   WITH_FREEBSD_AGPを有効にしてインストールする。

# cd /usr/ports/x11/nvidia-driver
# make deinstall
# make WITH_FREEBSD_AGP=yes claen install clean

といったところです。

/var/log/XFree86.0.log は結構簡潔にまとまってくれていて、以下の
通り。

XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: FreeBSD 4.9 i386 [ELF]
Build Date: 12 March 2004
        Before reporting problems, check http://www.XFree86.Org/
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Wed Mar 17 12:06:57 2004
(==) Using config file: "/etc/X11/XF86Config"
(==) ServerLayout "XFree86 Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) Option "XkbModel" "jp106"
(**) XKB: model: "jp106"
(**) Option "XkbLayout" "jp"
(**) XKB: layout: "jp"
(==) Keyboard: CustomKeycode disabled
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(**) ModulePath set to "/usr/X11R6/lib/modules"
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9
 
(II) Module ABI versions:
        XFree86 ANSI C Emulation: 0.2
        XFree86 Video Driver: 0.6
        XFree86 XInput driver : 0.4
        XFree86 Server Extension : 0.2
        XFree86 Font Renderer : 0.4
(II) Loader running on freebsd
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
        compiled for 4.3.0, module version = 1.0.0
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
...skipping...
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
        [0] 0   0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B]
        [1] 0   0       0xf9000000 - 0xf9ffffff (0x1000000) MX[B]
        [2] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [3] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [4] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [5] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [6] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [7] -1  0       0xf8410000 - 0xf8413fff (0x4000) MX[B]E
        [8] -1  0       0xf8414000 - 0xf8417fff (0x4000) MX[B]E
        [9] -1  0       0xf8500600 - 0xf85007ff (0x200) MX[B]E
        [10] -1 0       0xf8500400 - 0xf85005ff (0x200) MX[B]E
        [11] -1 0       0xf8500000 - 0xf85003ff (0x400) MX[B]E
        [12] -1 0       0xe8000000 - 0xe7ffffff (0x0) MX[B]EO
        [13] -1 0       0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
        [14] -1 0       0xf9000000 - 0xf9ffffff (0x1000000) MX[B](B)
        [15] 0  0       0x000a0000 - 0x000affff (0x10000) MS[B](OprD)
        [16] 0  0       0x000b0000 - 0x000b7fff (0x8000) MS[B](OprD)
        [17] 0  0       0x000b8000 - 0x000bffff (0x8000) MS[B](OprD)
        [18] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [19] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
        [20] -1 0       0x00001400 - 0x0000143f (0x40) IX[B]E
        [21] -1 0       0x00001000 - 0x000010ff (0x100) IX[B]E
        [22] -1 0       0x000014d0 - 0x000014df (0x10) IX[B]E
        [23] -1 0       0x0000180c - 0x0000180f (0x4) IX[B]E
        [24] -1 0       0x000014f8 - 0x000014ff (0x8) IX[B]E
        [25] -1 0       0x00001808 - 0x0000180b (0x4) IX[B]E
        [26] -1 0       0x000014f0 - 0x000014f7 (0x8) IX[B]E
        [27] -1 0       0x000014c0 - 0x000014cf (0x10) IX[B]E
        [28] -1 0       0x00001804 - 0x00001807 (0x4) IX[B]E
        [29] -1 0       0x000014e8 - 0x000014ef (0x8) IX[B]E
        [30] -1 0       0x00001800 - 0x00001803 (0x4) IX[B]E
        [31] -1 0       0x000014e0 - 0x000014e7 (0x8) IX[B]E
        [32] -1 0       0x00001480 - 0x000014bf (0x40) IX[B]E
        [33] -1 0       0x00001460 - 0x0000147f (0x20) IX[B]E
        [34] -1 0       0x00001440 - 0x0000145f (0x20) IX[B]E
        [35] 0  0       0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
        [36] 0  0       0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(==) NVIDIA(0): Write-combining range (0xa0000,0x10000) was already clear
(==) NVIDIA(0): Write-combining range (0xf9680000,0x1000) was already clear
(==) NVIDIA(0): Write-combining range (0xf9601000,0x1000) was already clear
(==) NVIDIA(0): Write-combining range (0xf9681000,0x1000) was already clear
(==) NVIDIA(0): Write-combining range (0xf90c0000,0x1000) was already clear
(==) NVIDIA(0): Write-combining range (0xf9001000,0x1000) was already clear
(==) NVIDIA(0): Write-combining range (0xf9682000,0x1000) was already clear
(==) NVIDIA(0): Write-combining range (0xf9603000,0x1000) was already clear
(==) NVIDIA(0): Write-combining range (0xf9683000,0x1000) was already clear
(II) NVIDIA(0): Setting mode "1280x1024"


-- 
柏崎 礼生 (Hiroki Kashiwazaki)@HUIIC
Ph.D candidate in the Division of Electronics & Information
Engineering, Hokkaido University
mailto:reo@cc.hokudai.ac.jp
Tel:+81-11-706-2998