From owner-freebsd-questions Fri Nov 17 8:33:52 2000 Delivered-To: freebsd-questions@freebsd.org Received: from node7.cluster.srrc.usda.gov (symbion.srrc.usda.gov [199.133.86.40]) by hub.freebsd.org (Postfix) with ESMTP id 4A83F37B479 for ; Fri, 17 Nov 2000 08:33:48 -0800 (PST) Received: (from glenn@localhost) by node7.cluster.srrc.usda.gov (8.11.1/8.11.1) id eAHGXSO80213; Fri, 17 Nov 2000 10:33:28 -0600 (CST) (envelope-from glenn) Date: Fri, 17 Nov 2000 10:33:27 -0600 From: Glenn Johnson To: K.J.Bosschaart@wtb.tue.nl Cc: questions@FreeBSD.ORG Subject: Re: building XFree84-4 DRI Message-ID: <20001117103327.A79923@node7.cluster.srrc.usda.gov> Mail-Followup-To: Glenn Johnson , K.J.Bosschaart@wtb.tue.nl, questions@FreeBSD.ORG References: <20001116115710.A23045@node7.cluster.srrc.usda.gov> <20001117160648.A2075@wop21.wop.wtb.tue.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001117160648.A2075@wop21.wop.wtb.tue.nl>; from karelj@wop21.wop.wtb.tue.nl on Fri, Nov 17, 2000 at 04:06:48PM +0100 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Nov 17, 2000 at 04:06:48PM +0100, Karel J. Bosschaart wrote: > On Thu, Nov 16, 2000 at 11:57:11AM -0600, Glenn Johnson wrote: > > I would like to try out 3D acceleration on my Matrox G400 but I > > cannot get DRI compiled. [...] > > In file included from init.c:33: > > ../drmP.h:599: syntax error before `struct' > > ../drmP.h:599: syntax error before `void' > > *** Error code 1 > If I remember correctly, this error can be avoided by replacing > SYSCTL_HANDLER_ARGS by (SYSCTL_HANDLER_ARGS) in the source code on > several places. That was it. I had a listing of things to do that I got from the -questions archive but it was missing that step. > Did you find the url http://wop21.wop.wtb.tue.nl/freebsd/hwaccel.txt ? > I mailed it to the -multimedia list some time ago, it's a very dirty > list of things I've done to get DRI to work with a G400. Most info in > there is from the mailing lists btw, including the above enclosing in > brackets. Sigh. I searched the -questions, -hackers, -stable, and -current lists. I did not think to try the -multimedia list. > > Has anyone compiled DRI from XFree86-4 on a recent FreeBSD-4.2 > > system? > I compiled on 4.1 but I expect 4.2 will work as well. Concerning > hardware acceleration: some screensavers with GL work wonderfull, and > also glclock works, although it sometimes fails. I did not succeed in > getting linux binaries (games) to use the hardware acceleration :-(. I just did the compile on FBSD 4.2 but I will have to play with it later. Thanks for your help. -- Glenn Johnson USDA, ARS, SRRC Phone: (504) 286-4252 New Orleans, LA 70124 e-mail: gjohnson@nola.srrc.usda.gov To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message