Advertisement

Hardware accelerated OpenGL 1.4

Started by December 22, 2002 01:13 PM
4 comments, last by NuffSaid 21 years, 10 months ago
Where do I get hardware accelerated OpenGL 1.4 developer libs for Linux? I know Mesa does OpenGL 1.4, but it doesn''t provide hardware acceleration. Any ideas?
==========================================In a team, you either lead, follow or GET OUT OF THE WAY.
Probably from your video card manufacturer.
I know the nVidia drivers for linux are hardware accelerated, I think ATI has some linux drivers too.

You don''t need special developer libraries, as far as I know.
I think nVidia does provide custom gl/gl.h and gl/glu.h headers.
Advertisement
quote:
You don't need special developer libraries, as far as I know.
I think nVidia does provide custom gl/gl.h and gl/glu.h headers.


Does that mean that if I link with the Mesa libs, but if my nVidia drivers are installed, I'll get hardware acceleration?

[edited by - NuffSaid on December 22, 2002 5:52:45 PM]
==========================================In a team, you either lead, follow or GET OUT OF THE WAY.
quote: Original post by NuffSaid

You don''t need special developer libraries, as far as I know.
I think nVidia does provide custom gl/gl.h and gl/glu.h headers.


Does that mean that if I link with the Mesa libs, but if my nVidia drivers are installed, I''ll get hardware acceleration?

[edited by - NuffSaid on December 22, 2002 5:52:45 PM]

I once last mont tried my game with mesa, it was running slow. I don''t remember if I removed then Mesa or not, but few weeks later I was wondering low fps, and noticed that I was still using Mesa renderer. I removed libGL* from /usr/local/lib (where mesa is) and after that my app ran with nvidia hw (libGL* in /usr/lib).

The drivers are in shared objects, so my guess is that if you link Mesa dynamcally, then you get hw acceleration if you app decides to use correct (hw drivers) shared libraries. I hope my talking has some sense
If you link with -lgl it (in my expierence) will use whichever one is installed. If you have mesa and nvidia installed, you might run into problems, as it usualy seems to use mesa.

I got this from running things with mesa, and then installing nvidia libraries and the app still runs.

I''m not sure about this but I think that what matters for hardware acceleration is which opengl lib X is using. Unless you don''t compile your program with shared libraries.
humanity will always be slaved by its ignorance

This topic is closed to new replies.

Advertisement