LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 08-22-2004, 07:52 AM   #1
hylke
Member
 
Registered: Apr 2004
Location: the Netherlands
Distribution: Ubuntu 7.04
Posts: 329

Rep: Reputation: 30
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.
 
Old 08-22-2004, 10:16 AM   #2
JARofHERB
Member
 
Registered: Apr 2004
Location: Pacific Northwest
Distribution: Debian unstable
Posts: 60

Rep: Reputation: 15
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,,,
 
Old 08-22-2004, 10:43 AM   #3
SLAY3R
Member
 
Registered: Aug 2004
Location: ICT
Distribution: SuSe 9.1 Pro
Posts: 33

Rep: Reputation: 15
Also check to make sure the video card says 3d support enabled. What graphics card is it?
 
Old 08-22-2004, 11:31 AM   #4
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
glxinfo will tell you if opengl is working... Tells you all the gl functions available.
 
Old 08-22-2004, 11:32 AM   #5
hylke
Member
 
Registered: Apr 2004
Location: the Netherlands
Distribution: Ubuntu 7.04
Posts: 329

Original Poster
Rep: Reputation: 30
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
 
Old 08-22-2004, 11:41 AM   #6
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
A script to grep glxinfo?
 
Old 08-22-2004, 01:56 PM   #7
hylke
Member
 
Registered: Apr 2004
Location: the Netherlands
Distribution: Ubuntu 7.04
Posts: 329

Original Poster
Rep: Reputation: 30
No i mean:
I've written a program that requires OpenGL, so i want to check if the user has OpenGL installed.
 
Old 08-22-2004, 05:23 PM   #8
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
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...
 
Old 08-23-2004, 03:53 AM   #9
hylke
Member
 
Registered: Apr 2004
Location: the Netherlands
Distribution: Ubuntu 7.04
Posts: 329

Original Poster
Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
opengl installed but doesnt work Youri Ubuntu 2 06-09-2006 04:57 PM
(Debian) Installed NVIDIA Drivers: could not load OpenGL subsystem Rayen16 Linux - Hardware 2 07-30-2005 10:10 PM
Overwrite Mesa OpenGL with ATI OpenGL Carl-Fredrik Slackware 12 10-01-2004 03:33 PM
nvidia is installed, how do i install openGl ? qwijibow Linux - Newbie 16 08-09-2003 04:09 AM
How can one tell if openGL is installed? islandkid Linux - General 3 08-22-2002 12:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration