From owner-freebsd-multimedia@FreeBSD.ORG Thu Nov 25 22:43:37 1999 MIME-Version: 1.0 Date: Thu, 25 Nov 1999 03:03:28 -0800 From: Steve Reid To: multimedia@FreeBSD.ORG Subject: Success: Quake 3 DemoTest under FreeBSD with Matrox G200 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-multimedia@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk For anyone who's interested... I have Q3 running with hardware acceleration on my Matrox G200 video card, using the GLX code currently in CVS. I haven't tried the files at http://www.freebsd.org/~3d/distfiles/glx/ but the code currently in CVS is newer and should be quite a bit faster for the G200. To get it working first compile and install the GLX module. See http://glx.on.openprojects.net/faq.html for details. It will definately require gmake to build, and possibly GCC 2.95. I think you'll also need to upgrade your X server to 3.3.5 if you haven't done so already. With all that taken care of GLX should compile and run without modifications. That should be enough to get xlockmore, glclock, etc. running with hardware acceleration. For best performance compile a kernel with "options MAXMEM=..." to reserve some memory, then set the mga_dma* options in glx.conf. Be careful; if MAXMEM and mga_dmaadr don't jive you'll crash and burn. Q3 is a Linux binary so it requires Linux libraries. I had Q3 running with old GLX and linux libs I pulled from a .deb package, but the newer GLX code would crash when I ran Q3. The key was to update the Linux libs. Linux user Ralph Giles sent me the libs from his system. You can find them at http://sea-to-sky.net/~sreid/linux-libgl.tar.gz Put them into /compat/linux/usr/X11R6/lib. Also, quake3 requires libGL.so in the current (or q3?) directory, so make a symlink. I had older GLX working with older Linux libs extracted from some .deb packages, but could not get the newer GLX to run Q3. With the newer libs it works and performance is much better than with the old GLX version. Timedemo results: DEMO001: 1346 frames, 66.7 seconds: 20.2 fps DEMO002: 1399 frames, 73.3 seconds: 19.1 fps System: 450 MHz Celeron 300A, Abit BH6, 64MB PC100 RAM, Matrox G200 8MB SDRAM FreeBSD 3.2-RELEASE, XF86 3.3.3.1 (3.3.5 server), 1280x960x16bpp@85Hz GLX using DMA mode 3, dmasize 8, systemtexture. Q3 Settings: Graphics options: custom / default / on / 640x480 / default / on / vertex / high / medium-low / default / bilinear Game options: Marks on walls, Ejecting brass, Itentify target, High quality sky, Sync every frame. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message