To test if your graphics card has OpenGL support or not, you can use the glxinfo
utility. Here are the steps:
- Install the
mesa-utils
package by running the following command as the superuser:sudo apt-get install mesa-utils
- After the installation is complete, run the
glxinfo
command to display information about the OpenGL capabilities of your graphics card:glxinfo | grep "OpenGL version"
This command will display the version of OpenGL supported by your graphics card. If OpenGL is not supported, you will see an error message.
- Additionally, you can use the
glxgears
command to test the performance of your graphics card:glxgears
This command will display a spinning 3D gears animation. The animation should run smoothly if your graphics card has OpenGL support.
That’s it! You should now be able to test if your graphics card has OpenGL support or not on Linux.