LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   OpenGL installed (https://www.linuxquestions.org/questions/linux-software-2/opengl-installed-220860/)

hylke 08-22-2004 07:52 AM

OpenGL installed
 
Hello
How can i be sure that somebody have OpenGL installed on his/her linux?
In example: an requiring library that evry opengl implentation has.
Thanx Hylke

JARofHERB 08-22-2004 10:16 AM

I have found that If i can use glxgears , and the frame rates indicate that the 3d acceleration is going on than all the proper libraries are in place,,,

SLAY3R 08-22-2004 10:43 AM

Also check to make sure the video card says 3d support enabled. What graphics card is it?

amosf 08-22-2004 11:31 AM

glxinfo will tell you if opengl is working... Tells you all the gl functions available.

hylke 08-22-2004 11:32 AM

But what i mean is:
I'm writing a bash script that needs to check if opengl is installed.
So how can i do that?
btw, from glxgears:
16134 frames in 5.0 seconds = 3226.800 FPS
:P

amosf 08-22-2004 11:41 AM

A script to grep glxinfo?

hylke 08-22-2004 01:56 PM

No i mean:
I've written a program that requires OpenGL, so i want to check if the user has OpenGL installed.

amosf 08-22-2004 05:23 PM

I thought a script that ran glxinfo and grep'ed the result might do that, by looking for key statements in the glxinfo output like Direct Rendering: yes and various glx etentions, etc...

hylke 08-23-2004 03:53 AM

Uhmm..
I dont really understand what you mean.
I just want to know if a user has OpenGL installed using a bash script.
Thanx Hylke


All times are GMT -5. The time now is 09:39 AM.