In this article I will share several commands to check OpenGL version of ubuntu Linux with image, it’s very easy.
What is OpenGL?
OpenGL (Open Graphics Library) is an API (Application Programming Interface) that handles graphics performance. With this it allows you to use software related to 2D and 3D.
Install Mesa Util
Mesa is an open source 3D computer graphics library that provides a generic OpenGL implementation for rendering three-dimensional graphics on multiple platforms.
To be able to use the opengl version check command, we must install the Mesa utility with the command:
sudo apt install mesa-utils
Check Version Command
After the Mesa Utility has been installed, we can check the version of OpenGL on Linux by using the command:
glxinfo | grep "OpenGL version"
The results is:
In addition, you can also use other forms of commands. Use the following two commands in your terminal
glxinfo | grep OpenGL
## or ##
glxinfo | grep -i opengl
The result is same. Look at this image:
in addition to the above method, you can also use the glxgears command. an animation wheel will appear as shown in the following image:
glxgears -info | grep GL_VERSION
The result is:
I hope this How To Check OpenGL Version Ubuntu Linux article is useful.
Read more:
> Failed To Probe OpenGL Linux Cura Slicer (Solved)
> Ultimaker Cura Modern Linux? When You Should Use it?