From owner-freebsd-emulation@FreeBSD.ORG Wed Apr 13 03:50:55 2005 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 039A616A4CE; Wed, 13 Apr 2005 03:50:55 +0000 (GMT) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AD5843D48; Wed, 13 Apr 2005 03:50:54 +0000 (GMT) (envelope-from mi@corbulon.video-collage.com) Received: from corbulon.video-collage.com (static-151-204-231-237.bos.east.verizon.net [151.204.231.237]) by aldan.algebra.com (8.13.1/8.13.1) with ESMTP id j3D3opOK014634 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 12 Apr 2005 23:50:53 -0400 (EDT) (envelope-from mi@corbulon.video-collage.com) Received: from corbulon.video-collage.com (mi@localhost.video-collage.com [127.0.0.1])j3D3ojn5043998 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Apr 2005 23:50:46 -0400 (EDT) (envelope-from mi@corbulon.video-collage.com) Received: (from mi@localhost)j3D3ojql043997; Tue, 12 Apr 2005 23:50:45 -0400 (EDT) (envelope-from mi) From: Mikhail Teterin Message-Id: <200504130350.j3D3ojql043997@corbulon.video-collage.com> To: emulation@FreeBSD.org Date: Tue, 12 Apr 2005 23:50:45 -0400 (EDT) X-Mailer: ELM [version 2.5 PL7] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamd / ClamAV version devel-20040615, clamav-milter version 0.73a on corbulon.video-collage.com X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.43 cc: amd64@FreeBSD.org Subject: forcing NVidia's driver for Linux/amd64 to work on FreeBSD/amd64 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2005 03:50:55 -0000 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