From owner-freebsd-amd64@FreeBSD.ORG Wed Apr 13 04:26:11 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B33B16A4CE; Wed, 13 Apr 2005 04:26:11 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id E565743D1F; Wed, 13 Apr 2005 04:26:10 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (junior-wifi.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.1/8.13.1) with ESMTP id j3D4TGBb042055; Tue, 12 Apr 2005 22:29:16 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <425C9E9C.30501@samsco.org> Date: Tue, 12 Apr 2005 22:22:52 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050218 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mikhail Teterin References: <200504130350.j3D3ojql043997@corbulon.video-collage.com> In-Reply-To: <200504130350.j3D3ojql043997@corbulon.video-collage.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on pooker.samsco.org cc: emulation@freebsd.org cc: amd64@freebsd.org Subject: Re: forcing NVidia's driver for Linux/amd64 to work on FreeBSD/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2005 04:26:11 -0000 Mikhail Teterin wrote: > Hello! > > Based on the x11/nvidia-driver port I compile the open-source bits of the FreeBSD-driver. > > I then link them with the binary-only piece from NVidia, which produces an nvidia.ko, that > can be kldloaded to say: > > kernel: nvidia0: mem 0xe0000000-0xe7ffffff,0xfd000000-0xfdffffff irq 16 at device 0.0 on pci1 > > I then put the Linux version of nvidia_drv.o into X11BASE/lib/modules/drivers/ and try to start X > using the same config file I used with this same card on my older Xeon system. > > > The machine hangs solid -- the last things I see from the X-server are: > > [...] > (II) Setting vga for screen 0. > (**) NVIDIA(0): Depth 16, (--) framebuffer bpp 16 > (==) NVIDIA(0): RGB weight 565 > (==) NVIDIA(0): Default visual is TrueColor > (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0) > (**) NVIDIA(0): Option "TwinView" > (**) NVIDIA(0): Option "TwinViewOrientation" "LeftOf" > (**) NVIDIA(0): Option "MetaModes" "1600x1200,1600x1200" > (==) NVIDIA(0): Using HW cursor > (==) NVIDIA(0): Video key set to default value of 0x83e > (**) NVIDIA(0): TwinView enabled > (--) NVIDIA(0): Linear framebuffer at 0xE0000000 > (--) NVIDIA(0): MMIO registers at 0xFD000000 > > Is mine a totally wrong method, or is there hope? Any suggestions? > > I just want my two screens to work again :-) > > Thanks! > > -mi The Linux driver is likely assuming that it can use the PAT extension of the CPU, but we don't support it (yet). Scott