Date: Sun, 4 Nov 2001 20:57:24 -0800 From: Eric Anholt <eanholt@gladstone.uoregon.edu> To: "Inge E.Syvertsen" <webdude@phreaker.net>, freebsd-questions@FreeBSD.ORG Subject: Re: Getting Voodoo3 to work with DRI Message-ID: <200111050456.fA54ui324498@gladstone.uoregon.edu> In-Reply-To: <20011105001826.AA9895001E@zagnut.hotpop.com> References: <20011105001826.AA9895001E@zagnut.hotpop.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Be sure to update to 0.9.3 of drm-kmod -- it'll save you from panics when doing a shutdown. On my page, it says to set LIBGL_DEBUG=verbose when running your GL programs if you're having troubles. That environment variable provides a lot of _very_ important debugging info. In your case, it'll say something along the lines of tdfx_dri.so missing. That is because we have issues with building tdfx_dri.so in the ports system. The 3dfx DRI driver depends on glide, but glide depends on XFree86-4. When the next version of X comes out, we'll be able to have the X port download some glide headers and compile tdfx_dri.so without glide. I'm not sure what to do for now, except wait for X 4.2.0. For now, voodoo users have to build X, build glide, then add "HasGlide3 YES" and "Glide3IncDir /usr/X11R6/include/glide3" to ports/x11/XFree86-4/scripts/configure in the same way as "BuildXF86DRI YES" which is already there, then make clean and make install on X again. HEMI wrote a tutorial for the V3 DRI on FreeBSD, which I ran across online. I can't remember the address, though. On Sunday 04 November 2001 17:22, Inge E.Syvertsen wrote: > Hi folks! > > Anyone out there who can help me getting DRI to work on my box ? > > If you feel you're up to it, please read on: > > I have FreeBSD 4.4 STABLE (upgraded from 4.3) on a P233 > w/ 128 MB, and a PCI version of 3dfx Voodoo 3 2000 (BIOS rev. 2.15.06) > > > I installed (all from ports) XFree86 4.1.0 (leaving the old XFree86 alone), > as well as drm-kmod 0.9.2 and Glide3-64-bit-20010331 > (the author of which cheerfully assumes I know how to configure it > for the correct hardware. I commented out all but one line in an if-loop > in the Makefile, I hope that worked. Got no errors, at least). > Mesa 3.4.1 and 3.4.2_1 was already installed. > > Configured XFree86 w/ xf86config (xf86cfg core dumped on me), > and at length found out that I had to do a 'chmod ug+s' on the Xserver to > get startx to load X. (oh, well...) > > Edited /etc/X11/XF86Config to include loading of glx and dri, > also adding the DRI permission section. > > /var/log/XFree86.0.log shows loading of the tdfx, glx, GLcore, > dri and drm modules, and the XFree86-DRI and GLX extensions. > It also says 'direct rendering enabled' > > kldstat shows kernel, linux.ko, gamma.ko > and tdfx.ko to be loaded. > > glxinfo, however, says: > > direct rendering: no > OpenGL rendering string: Mesa GLX indirect. > > Should I have a card specific .so and/or other > file(s) under /usr/X11R6/lib/modules/dri ? > > Am I doing something wrong? Did I miss an important step? > Should I recompile XFree86 4.1.0 after installing Glide? > Boy, do I have questions! > > (donning flame retardant suit:) > I read and reread both the dri.sourceforge.net and gladstone.uoregon.edu > pages (and misc FreeBSD mailing list submissions) on the subject, but I'm > afraid I'm not much wiser. From a newbies (that's me) point of view, > setting up DRI is a complex affair that quickly makes me lost in details. > As a user and non-programmer, a lot of the documentation is also over my > head. That's not to say I don't read docs, but it's sometimes hard to > follow when there are links to bits and pieces of info all over the place, > instead of a more unified effort. Maybe a kind and knowledgeable soul would > write a comprehensive tutorial for the benefit of all users ? > > Appreciate all help, pointers and links. > > best regards, > > Inge E. Syvertsen > webdude@phreaker.net > > *** This space reserved for witty comments *** > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Eric Anholt eanholt@gladstone.uoregon.edu 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?200111050456.fA54ui324498>