Re: [Plib-devel] [Fwd: [Mesa3d-dev] lighting fixes (fwd)]
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2000-06-28 05:16:39
|
Curt wrote: > > Steve Baker writes: > > Yippee! > (made it back to MN safely although the thunderstorms rumbling through > Dallas made a real mess of things getting out of there ... we were > about two hours late getting off the ground. Never seen so many big > airplanes in a line. We were lined up the entire length of the runway > with about 3 rows bottlenecking into the runway entrance.) :-( The joys of being the American Airlines Hub! > I grabbed the latest mesa out of cvs and built it. But, I got > software only rendering. Doh! > Anyone know how to build a libGL from mesa source that works with > XFree86-4.0 / DRI / Voodoo-3 and all of that? The configure script > found my glide.h and libglide3.so ... but apparently there is more to > it than that. > > Anyone have any tips? Nothing other than the usual: 1) Make sure X is running in 16bpp - anything else dumps you to software rendering. I check using the 'KDE Control Center' tool - click on 'Information' then 'X-Server'...there is probably a native X tool to do this. Several times I've been suprised to find myself in 24 bpp mode despite asking 'startx' to put me in 16 bpp. 2) Either make sure that /dev/3dfx is installed and has rw-rw-rw permissions...or run your application as 'root'. 3) Don't demand stuff like stencil planes, alpha planes, etc. If you let GLUT pick the defaults you should be OK. 4) Don't forget to "setenv MESA_GLX_FX fullscreen". 5) Use 'ldd' to ensure your application is getting the libGL.so you expect it to get (not some weird shit floating around in /usr/local or /usr/X11R6/lib or someplace like that - and not libMesaGL.so or something). If necessary use 'find' to track down all the leftover versions and 'rm' them just to be certain. 6) Use ldd to ensure that libGL.so is demanding libglide.so. Does this latest version *have* to use DRI? If so, then I'm out of my depth - but I'd wonder whether I had the right modules loaded in XF86Config and whether I have the right revision and type of X server (I guess if you already have 4.0 then that's covered already). This is all getting *WAY* too complicated! -- Steve Baker HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://web2.airmail.net/sjbaker1 Projects : http://plib.sourceforge.net http://tuxaqfh.sourceforge.net http://tuxkart.sourceforge.net http://prettypoly.sourceforge.net |