Date: Fri, 17 Nov 2000 16:06:48 +0100 From: "Karel J. Bosschaart" <karelj@wop21.wop.wtb.tue.nl> To: Glenn Johnson <gjohnson@nola.srrc.usda.gov> Cc: questions@FreeBSD.ORG Subject: Re: building XFree84-4 DRI Message-ID: <20001117160648.A2075@wop21.wop.wtb.tue.nl> In-Reply-To: <20001116115710.A23045@node7.cluster.srrc.usda.gov>; from gjohnson@nola.srrc.usda.gov on Thu, Nov 16, 2000 at 11:57:11AM -0600 References: <20001116115710.A23045@node7.cluster.srrc.usda.gov>
next in thread | previous in thread | raw e-mail | index | archive | help
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. I scoured the mail archives and apparently this has > worked for some people in the past, with FreeBSD 4.1. I am currently > running FreeBSD 4.2-BETA. I changed the version checks in drmP.h > because 4.2-BETA has agpgart and taskqueue. Here is the error message I > get when I try to compile: > > ===> drm > Warning: Object directory not changed from original > /usr/ports/x11/XFree86-4/work/xc/programs/Xserver/hw/xfree86/os-support/bsd/drm/kernel/drm > cc -O -pipe -I.. -I/sys/pci -I/usr/include/sys -D_KERNEL -Wall > -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE > -nostdinc -I- -I.. -I/sys/pci -I/usr/include/sys -I. -I@ -I@/../include > -mpreferred-stack-boundary=2 -c init.c > 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. 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. > I get the same error when trying to compile. 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 :-(. Karel. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001117160648.A2075>