User Tools

Site Tools


ubuntu:gpu:mesa:install_mesa_utilities:install_the_latest_stable_version_of_the_mesa_driver

Ubuntu - GPU - Mesa - Install Mesa Utilities - Install the latest stable version of the Mesa driver

To install the most stable version of Mesa than what comes with Ubuntu.

  • perhaps to play more recent games.

WARNING: This uses a PPA.

  • Kisak is affiliated with Valve.

WARNING: Installing new Mesa graphics drivers may also require a newer Linux kernel.

  • It will be a good idea to enable HWE kernel on Ubuntu to reduce the chances of conflict with the kernel.
  • HWE Kernel gives you the latest stable kernel used by Ubuntu on an older LTS release.

Install the Kisak Mesa PPA driver

The Kisak-mesa PPA provides the latest point release of Mesa.

sudo add-apt-repository ppa:kisak/kisak-mesa
sudo apt update
sudo apt upgrade

NOTE: This will provide the latest Mesa point release.


Change the PPA priority

Edit /etc/apt/preferences.d/kisak-pin-2000, and populate as:

/etc/apt/preferences.d/kisak-pin-2000
Package: *
Pin: release o=LP-PPA-kisak-kisak-mesa
Pin-Priority: 2000

NOTE: This gives the PPA a higher priority, over the standard.

  • Now run:
    sudo apt update && sudo apt upgrade

Remove it and go back to original Mesa driver

If you are facing issues and do not want to use the newer version of Mesa, you can revert to the original version.

Install PPA Purge tool first:

sudo apt install ppa-purge

And then use it to remove the PPA as well as the Mesa package version installed by this PPA.

sudo ppa-purge ppa:kisak/kisak-mesa

References

ubuntu/gpu/mesa/install_mesa_utilities/install_the_latest_stable_version_of_the_mesa_driver.txt · Last modified: 2024/09/08 15:27 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki