The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
October 09, 2024, 02:23:39 am
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  Which openGL libraries to use?
« previous next »
Pages: [1] Print
Author Topic: Which openGL libraries to use?  (Read 3049 times)
TigTigger
Zebranky food
*
Offline Offline

Posts: 41



View Profile
Which openGL libraries to use?
« 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!
Logged
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Which openGL libraries to use?
« Reply #1 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.

Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
Michael Martin
Core Team
*Smell* controller
*****
Offline Offline

Posts: 387



View Profile
Re: Which openGL libraries to use?
« Reply #2 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.
Logged
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Which openGL libraries to use?
« Reply #3 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 Smiley
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
TigTigger
Zebranky food
*
Offline Offline

Posts: 41



View Profile
Re: Which openGL libraries to use?
« Reply #4 on: September 23, 2003, 04:45:14 am »

Hey, I didn't know there was a way to turn that off.  Smiley

OK, I will try to find nVidia's drivers (assuming they are on their site someplace) and give those a shot.
Logged
TigTigger
Zebranky food
*
Offline Offline

Posts: 41



View Profile
Re: Which openGL libraries to use?
« Reply #5 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,

Logged
TigTigger
Zebranky food
*
Offline Offline

Posts: 41



View Profile
Re: Which openGL libraries to use?
« Reply #6 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!    Smiley
Logged
chmmravatar
*Many bubbles*
***
Offline Offline

Posts: 109


WHAT IS DONE IS DONE


View Profile
Re: Which openGL libraries to use?
« Reply #7 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
Logged
TigTigger
Zebranky food
*
Offline Offline

Posts: 41



View Profile
Re: Which openGL libraries to use?
« Reply #8 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.
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!