From owner-freebsd-current Tue Aug 6 2:58: 2 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D21F637B400 for ; Tue, 6 Aug 2002 02:58:00 -0700 (PDT) Received: from smtp2.enst.fr (matrix2.enst.fr [137.194.2.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id B4FD343E77 for ; Tue, 6 Aug 2002 02:57:59 -0700 (PDT) (envelope-from beyssac@bofh.enst.fr) Received: from bofh.enst.fr (bofh.enst.fr [137.194.32.191]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (Client CN "bofh.enst.fr", Issuer CN "ENST CA" (verified OK)) by smtp2.enst.fr (Postfix) with ESMTP id 9B1C31EF28; Tue, 6 Aug 2002 11:57:57 +0200 (MEST) Received: from bofh.enst.fr (localhost [127.0.0.1]) by bofh.enst.fr (8.12.5/8.12.3) with ESMTP id g769vvt4086534 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 6 Aug 2002 11:57:57 +0200 (CEST) (envelope-from beyssac@bofh.enst.fr) Received: (from beyssac@localhost) by bofh.enst.fr (8.12.5/8.12.3/Submit) id g769vr3R086533; Tue, 6 Aug 2002 11:57:53 +0200 (CEST) Date: Tue, 6 Aug 2002 11:57:53 +0200 From: Pierre Beyssac To: Bill Huey Cc: Frank Mayhar , Alp ATICI , Ed Yu , freebsd-current@FreeBSD.ORG Subject: Re: About 5.0 and Nvidia drivers Message-ID: <20020806115753.A85868@bofh.enst.fr> References: <200208051636.g75GaamW000669@realtime.exit.com> <20020806040903.GA4316@gnuppy.monkey.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020806040903.GA4316@gnuppy.monkey.org>; from billh@gnuppy.monkey.org on Mon, Aug 05, 2002 at 09:09:03PM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Aug 05, 2002 at 09:09:03PM -0700, Bill Huey wrote: > First of all, the NVidia driver I've been using under Linux has given me > zero problems over the years. It's a great card with good performance and > a pretty solid driver. > > As far as the sources go, they open sourced the parts of it that are OS > specific so that it can be ported using its native PCI supporting functions, > having the rest is kind of silly. Their supporting engineers are pretty As you describe it, it would be almost acceptable. But that's not as simple as that as I recall it. The supposedly "portable" part is still a Linux i386 object file -- maybe Nvidia's definition of portable, but not mine. It does a heavy use of Linux ioctls to call Linux DRM and Linux AGP and getting that to run under FreeBSD DRM and FreeBSD AGP ioctls is far from easy because the ioctl calling convention is quite different. So it's far from what I would call OS- or architecture-independent stuff. This is for the XFree-server part IIRC; the DRI client part is probably much uglier to deal with. So essentially the easiest (albeit kludgy) approach is to get that to run in a Linux XFree server under the Linux emulator, and even then it's much easier said than done. It's been months since I've looked into this, so my memory may not be totaly accurate, but I think that's the general idea. -- Pierre Beyssac pb@enst.fr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message