How do I test if OpenGL is installed correctly?

Asked by LEGOManiac

I have a game (BZFlag) which I installed using Synaptic Package Manager. The game runs verrrry slowly on my 3Ghz, dual-core PC.

On a Windows PC the program requires the OPENGL drivers to be installed to get good performance on a 1.2GHz single-core PC so I'm assuming that I need OpenGL installed on the Ubuntu system.

How can I test if OpenGL drivers are installed on my system, and if they aren't, how do I install them?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
aberlanas
Solved:
Last query:
Last reply:
Revision history for this message
Best aberlanas (angel-berlanas) said :
#1

To test the OpenGL is running , execute this command in Terminal:

 glxinfo | grep direct

When OpenGL is running the message is:

direct rendering: Yes

To install OpenGL drivers, you must install the correct driver for your Video Card (Nvidia, Ati, Intel, ...).

for example, intel video card requires:

xserver-xorg-video-intel

Revision history for this message
LEGOManiac (bzflaglegomaniac) said :
#2

This answered my question on how to get info on OpenGL. I still suspect I have a problem with it, especially after running glxinfo without piping it through grep and viewing the entire output, so I'll save that for another question.

Thanks for the help.

Revision history for this message
LEGOManiac (bzflaglegomaniac) said :
#3

Thanks Xangel, that solved my question.