Title: Which openGL libraries to use? Post by: TigTigger on September 19, 2003, 01:49:33 am Good day,
Sorry if this has come up before... I didn't find a previous topic on this. I'ld like to compile uqm with openGL, but, I am not sure which libraries would be the best to use. The docs suggest several that I could try out, but again, I am not sure which would be best for my setup. If it matters any, it's a Red Hat 9.0 machine, which has been set up with nVidia's video drivers. Thanks in advance! Title: Re: Which openGL libraries to use? Post by: meep-eep on September 19, 2003, 04:10:14 am Don't use Mesa. Mesa is software OpenGL, and you'll have no advantage then above not using OpenGL. NVidia drivers are pretty good; I suggest you use those.
Title: Re: Which openGL libraries to use? Post by: Michael Martin on September 19, 2003, 04:35:08 pm I can personally vouch for nVidia's Linux drivers; they're what I use myself (though it's Gentoo, not Red Hat.) Make sure you're getting that nVidia splash screen when you start X, though, or you won't actually be using the things.
Title: Re: Which openGL libraries to use? Post by: meep-eep on September 19, 2003, 08:42:55 pm And then I suggest you add 'Option "NoLogo" "True"' to your XF86Config in the "Device" section for the NVidia card to get rid of that logo again :)
Title: Re: Which openGL libraries to use? Post by: TigTigger on September 23, 2003, 04:45:14 am Hey, I didn't know there was a way to turn that off. :)
OK, I will try to find nVidia's drivers (assuming they are on their site someplace) and give those a shot. Title: Re: Which openGL libraries to use? Post by: TigTigger on September 23, 2003, 05:55:46 am Sorry, that last statement should have been "libraries", not "drivers".
Which, I think may have been a point of confusion from my first post. I _already_ have the nVidia drivers installed. But I need the _libraries_ to compile openGL support. Currently the configure program notes: /usr/bin/ld: cannot find -lGL Although I do have a /usr/lib/libGL.so , etc... I guess I'm not quite sure what else I need... Regardless, I haven't found any (additional) openGL development libraries by nVidia. Am I missing something else? Thanks, Title: Re: Which openGL libraries to use? Post by: TigTigger on September 24, 2003, 10:37:50 am Ah, I managed to fix the problem.
I turns out that while I did have a libGL.so file, it was a broken symlink. Broken, I might add, due to the nVidia driver installer! A bug report to nVidia will be due after this. Anyway, I remade the link by hand and compiled. It works wonderfully. Excellent job, guys! :) Title: Re: Which openGL libraries to use? Post by: chmmravatar on September 29, 2003, 04:43:41 pm There is actually an NVidia driver installer now? Cool. Last I checked it was just a "compile this kernel module, edit your xfree86 config file."
So a little bit of research and this is what they say: Quote Problems will arise if applications use the wrong version of a library. This can be the case if there are either old libGL libraries or stale symlinks left lying around. If you think there may be something awry in your installation, check that the following files are in place (these are all the files of the NVIDIA Accelerated Linux Driver Set, plus their symlinks): /usr/X11R6/lib/modules/drivers/nvidia_drv.o /usr/X11R6/lib/modules/extensions/libglx.so.x.y.z /usr/X11R6/lib/modules/extensions/libglx.so -> libglx.so.x.y.z /usr/lib/libGL.so.x.y.z /usr/lib/libGL.so.x -> libGL.so.x.y.z /usr/lib/libGL.so -> libGL.so.x /usr/lib/libGLcore.so.x.y.z /usr/lib/libGLcore.so.x -> libGLcore.so.x.y.z /lib/modules/`uname -r`/video/nvidia.o, or /lib/modules/`uname -r`/kernel/drivers/video/nvidia.o Title: Re: Which openGL libraries to use? Post by: TigTigger on October 02, 2003, 04:57:44 am That's what had happened. I was left with a stale (broken) symlink after I had installed their drivers. But, at the time I thought that I was missing a package or something with the libraries.
Yeah, they have you run a script that does the install work for you. It will look at your kernel build and see if they have a precompiled module available for download. If they don't, then it will compile one for you, assuming you have the kernel sources. You still have to edit your X config by hand, though. |