From owner-freebsd-current Mon Aug 5 1:16: 4 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 74FB037B400 for ; Mon, 5 Aug 2002 01:16:01 -0700 (PDT) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB73243E3B for ; Mon, 5 Aug 2002 01:16:00 -0700 (PDT) (envelope-from eta@lclark.edu) Received: from anholt ([12.224.154.76]) by sccrmhc01.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020805081600.XVCF23732.sccrmhc01.attbi.com@anholt>; Mon, 5 Aug 2002 08:16:00 +0000 Subject: Re: About 5.0 and Nvidia drivers From: Eric Anholt To: Ed Yu Cc: Alp ATICI , freebsd-current@FreeBSD.ORG In-Reply-To: <20020805055547.69959.qmail@web20708.mail.yahoo.com> References: <20020805055547.69959.qmail@web20708.mail.yahoo.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 05 Aug 2002 01:16:01 -0700 Message-Id: <1028535362.483.311.camel@anholt.dyndns.org> Mime-Version: 1.0 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 Sun, 2002-08-04 at 22:55, Ed Yu wrote: > > Do they indeed release the whole information? Then > > why don't we > > have full support? > > Here is what I got from ATI website: > ATI does not currently develop or distribute LINUX or > XFree86 drivers. > > However, our Developer Relations team actively > supports 3rd party LINUX/XFree86 developers by > supplying technical information and software > development kits. > > I believe the ATI driver is open-sourced so it is > relatively easy to port to FreeBSD which someone has > already done. > > Well, full support will take time since they are > developed by someone. I subscribe to DRI mailing list > and there seems to be alot of work going on for Radeon > cards. I'm not sure which ATI driver is in question here. The radeon 1 DRI (3d) driver has been supported for quite a while now, and works quite well if you exclude the lack of TCL (Transform & Lighting). TCL is supported in DRI CVS's HEAD (dri.sf.net). There is a branch in DRI CVS for development of R200 (Radeon 8500) support, which apparently works pretty well for a lot of people, though r200 tcl isn't supported yet and there are some graphics issues to be worked out from what I understand. Both of these CVS branches support FreeBSD as well as Linux. The DRM code (the os-dependent, in-kernel part of the DRI) is now using sets of preprocessor macros to support linux and FreeBSD from the same codebase. Bringing the new radeon code for r200 over to the new macros took all of 15 minutes on my end. A FreeBSD + 8500 user fixed up the code after Keith Whitwell applied the patches, and we now have 8500 support on par with linux. New development in r200 is now staying FreeBSD-compatible by using these macros for DRM changes (and development is moving pretty quickly). The r200 code mentioned above is the open-source stuff funded by TWC, not ATI's binary firegl drivers. This also does not apply to ATI's unreleased chipsets that people are drooling over. As far as Linux games (what most people seem to be concerned with for some reason :) the support for them in FreeBSD right now is currently poor. It worked pretty well in 4.1.0, but a change to the client libraries in 4.2.0 broke the linux compatibility. I have a patch to XFree86 that fixes the linux binaries produced. From that I made binaries and a patch to linux_dri-4.2.0 which should get the non-3dfx cards from 4.2.0 (radeon 1, Matrox Gx00 AGP, r128 AGP) working again for linux compatibility. However, the 3dfx cards are still broken, which is why I haven't committed it. I need to figure out how to fix the port in a clean way so that existing linux_base users (linux_base's libglide3.so is part of the problem) can still use it. See the site in the .sig for a link to the linux_dri-4.2.0 patch. -- Eric Anholt http://people.freebsd.org/~anholt/dri/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message