Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-22-2004, 07:52 AM
|
#1
|
Member
Registered: Apr 2004
Location: the Netherlands
Distribution: Ubuntu 7.04
Posts: 329
Rep:
|
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
Last edited by hylke; 08-22-2004 at 07:53 AM.
|
|
|
08-22-2004, 10:16 AM
|
#2
|
Member
Registered: Apr 2004
Location: Pacific Northwest
Distribution: Debian unstable
Posts: 60
Rep:
|
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,,,
|
|
|
08-22-2004, 10:43 AM
|
#3
|
Member
Registered: Aug 2004
Location: ICT
Distribution: SuSe 9.1 Pro
Posts: 33
Rep:
|
Also check to make sure the video card says 3d support enabled. What graphics card is it?
|
|
|
08-22-2004, 11:31 AM
|
#4
|
Senior Member
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672
Rep:
|
glxinfo will tell you if opengl is working... Tells you all the gl functions available.
|
|
|
08-22-2004, 11:32 AM
|
#5
|
Member
Registered: Apr 2004
Location: the Netherlands
Distribution: Ubuntu 7.04
Posts: 329
Original Poster
Rep:
|
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
|
|
|
08-22-2004, 11:41 AM
|
#6
|
Senior Member
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672
Rep:
|
A script to grep glxinfo?
|
|
|
08-22-2004, 01:56 PM
|
#7
|
Member
Registered: Apr 2004
Location: the Netherlands
Distribution: Ubuntu 7.04
Posts: 329
Original Poster
Rep:
|
No i mean:
I've written a program that requires OpenGL, so i want to check if the user has OpenGL installed.
|
|
|
08-22-2004, 05:23 PM
|
#8
|
Senior Member
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672
Rep:
|
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...
|
|
|
08-23-2004, 03:53 AM
|
#9
|
Member
Registered: Apr 2004
Location: the Netherlands
Distribution: Ubuntu 7.04
Posts: 329
Original Poster
Rep:
|
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 02:18 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|