So I want to find out which is my OpenGL version. I have access to Ubuntu via SSH. Which command shall I execute?
To know your OpenGL version in Ubuntu,
To Check OpenGL Version,
You will get the output as follows,
You may have better luck with modern OpenGL just grepping for "version" instead of "OpenGL version" given the differences between the core and compat profiles, as well as the various GLSL and GLES versions:
Notice that the actual version is presented by the "core profile version" (4.1), whereas the "OpenGL version" is presented as 3.0.
depending on what you're looking for:
Open GL Implementation
You can use glxinfo, from the mesa-utils package:
this depends a little,
will tell you version information, etc. of any package.
but you'll need to know what specific part/implementation, etc. of opengl you're interested in. i suspect, for you, it'll be:
Note: I've added this answer at a later date, because none of the existing answers address a crucial aspects regarding ssh, and will give misleading values to those who follow the above instructions.
For those who only want the version number, for example to give it in argument of a program, you can use
You can get the information by running following command:
This echos something like:
Also try without