I hope this quick tutorial was helpful in getting a newer version of Mesa on Ubuntu. sudo ppa-purge ppa:oibaf/graphics-drivers Now use it to disable the PPA you had added and revert the Mesa package to the version provided by Ubuntu officially.
Install it first: sudo apt-get install ppa-purge
You can remove the PPA and the latest Mesa driver using the ppa-purge tool. Remove it and go back to original Mesa driver This will give you the latest Mesa drivers. Open the terminal and use the following commands one by one: sudo add-apt-repository ppa:oibaf/graphics-drivers It is no longer updated for Ubuntu 18.04 LTS. The PPA is available for 20.04, 20.10 and 21.04 at the time of writing this article.
If you want the absolute latest Mesa drivers on Ubuntu and do not want to take the trouble of installing it from the source code, use this PPA by Oibaf.
The best thing here is that all driver packages are automatically built twice a day, when there is an upstream change. There is this awesome PPA that provides open source graphics drivers packages for Radeon, Intel and Nvidia hardware. If you want the latest Mesa drivers as they are being developed, this is what you need. sudo ppa-purge ppa:kisak/kisak-mesa Install the latest Mesa graphics drivers in Ubuntu Install PPA Purge tool first: sudo apt install ppa-purgeĪnd then use it to remove the PPA as well as the Mesa package version installed by this PPA. If you are facing issues and do not want to use the newer version of Mesa, you can revert to the original version. It will give you the latest Mesa point release. You can use it by entering the following commands one by one in the terminal: sudo add-apt-repository ppa:kisak/kisak-mesa The Kisak-mesa PPA provides the latest point release of Mesa. Install the latest stable version of Mesa driver in Ubuntu HWE Kernel gives you the latest stable kernel used by Ubuntu on an older LTS release. It will be a good idea to enable HWE kernel on Ubuntu to reduce the chances of conflict with the kernel. Installing new Mesa graphics drivers may also need a newer Linux kernel. Since, you’ll be using PPA, I highly recommend reading my in-depth guide on PPA. If for some reasons (like playing games), you want to install a newer version of Mesa, this tutorial will help you with that. You can check if your system uses Mesa and the installed versions using this command: glxinfo | grep Mesa Though it probably won’t be the latest Mesa version. Mesa comes preinstalled on Ubuntu with the open source graphics drivers of Radeon, Intel and Nvidia (sometimes). More information on Mesa can be found in this article. With Mesa, you can play high-end games and use applications that require such graphics libraries. Instead, it provides open source software implementation of OpenGL, Vulkan, and some other graphics API specifications for Intel and AMD graphics hardware. Mesa itself is not a graphics card like Nvidia or AMD.
This quick tutorial shows the steps to get a newer version of Mesa drivers on Ubuntu, be it stable release or cutting-edge development release.