From owner-freebsd-current Tue Aug 6 3:31: 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 4527C37B400 for ; Tue, 6 Aug 2002 03:30:59 -0700 (PDT) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id D304C43E70 for ; Tue, 6 Aug 2002 03:30:58 -0700 (PDT) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.35 #1 (Debian)) id 17c1bz-0005Al-00; Tue, 06 Aug 2002 03:30:47 -0700 Date: Tue, 6 Aug 2002 03:30:47 -0700 To: Pierre Beyssac Cc: Frank Mayhar , Alp ATICI , Ed Yu , freebsd-current@FreeBSD.ORG Subject: Re: About 5.0 and Nvidia drivers Message-ID: <20020806103047.GA19825@gnuppy.monkey.org> References: <200208051636.g75GaamW000669@realtime.exit.com> <20020806040903.GA4316@gnuppy.monkey.org> <20020806115753.A85868@bofh.enst.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020806115753.A85868@bofh.enst.fr> User-Agent: Mutt/1.4i From: Bill Huey (Hui) 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 Tue, Aug 06, 2002 at 11:57:53AM +0200, Pierre Beyssac wrote: > 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 Except that there isn't an ioctl() symbol referenced in that binary module (via 'nm'). It doesn't use external DRM as far as I know (from asking a person about it), nor AGP. The only AGP function that I see referenced in that module is the OS independent function to get the address of the card itself. The intuition here and from the supporting evidence from the 'nm' output is that you pass it the address of the card and the binary module does all of that stuff automatically. The driver was written when DRM and DRI, was kind of screwy in the open source community so they included a lot proprietary code containing their own DRM and DRI that can't be publically released. (info also from the same person) I understand somebody has got the 2d side of this working in FreeBSD, but the 3d stuff crashes still. > 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. Last time I heard, XFree had their own linker system. It could mean they're a bit immune to ELF differences in FreeBSD and Linux. This is just speculation. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message