How to install Mesa 18.1.1 on Ubuntu 18.04. Mesa 18.1.1 implements graphics APIs, including OpenGL ES (versions 1, 2, 3), OpenCL, OpenMAX, VDPAU, VA API, XvMC and Vulkan.
A variety of device drivers allows the Mesa libraries to be used in many different environments ranging from software emulation to complete hardware acceleration for modern GPUs. Mesa ties into several other open-source projects: the Direct Rendering Infrastructure and X.org to provide OpenGL support on Linux, FreeBSD and other operating systems.
Mesa 18.1.1
Mesa 18.1.1 is a bug fix release which fixes bugs found since the 18.1.0 release. Mesa 18.1.1 implements the OpenGL 4.5 API, but the version reported by glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) / glGetIntegerv(GL_MINOR_VERSION) depends on the particular driver being used. Some drivers don’t support all the features required in OpenGL 4.5. OpenGL 4.5 is only available if requested at context creation. Compatibility contexts may report a lower version depending on each driver.
Install Mesa 18.1.1 on Ubuntu 18.04
Run the following commands in terminal to install Mesa 18.1.1 on Ubuntu 18.04 Systems:
sudo add-apt-repository ppa:ubuntu-x-swat/updates
sudo apt-get update
sudo apt-get dist-upgrade
Restart the system. Once the system is installed, check Mesa version by running the following command:
glxinfo | grep "OpenGL version"