Video Driver and OpenGL Troubleshooting in Linux
From Free Knowledge Base- The DUCK Project: information for everyone
Determine OpenGL version
glxinfo | grep "OpenGL version"
glxgears is a simple utility to test 3D Acceleration
sudo apt install mesa-utils glxgears
Why mesa-utils and what is mesa? Mesa is an open-source implementation of the OpenGL. The OpenGL libGL.so comes with your driver.
What is your video card
lspci lspci|grep -i vga
To upgrade to a newer version of OpenGL you will have to update the graphic card driver. The graphics chip AND corresponding driver will provide higher possible OpenGL support.