Archives For November 30, 1999

For those sticking to the open-source graphics driver, the latest Mesa 3D graphics library is easy to install via an Ubuntu PPA.

Mesa is an open-source software implementation of OpenGL, Vulkan, VDPAU, VA-API, and other graphics API specifications.

Ubuntu uses Mesa as OpenGL implementation if no proprietary driver is in use. It is however always old. For users want to play some games with the open-source RadeonSI, RADV, Intel, or Nouveau drivers, you may try the latest Mesa via PPA.

Install Mesa via Ubuntu PPA:

A trustworthy Ubuntu PPA is available that contains the latest stable Mesa packages for Ubuntu 18.04, Ubuntu 20.04. It also provides packages for Ubuntu 20.10 and Ubuntu 21.04, but not tested.

1. Add the PPA:

Search for and open terminal from system app launcher. When it opens, run command to add the PPA:

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

Type user password, no visual feedback, when it asks. Read the PPA description as you want and hit Enter to continue.

2. Install Mesa packages:

For Ubuntu 18.04, Linux Mint, you need to update package cache though it’d done automatically in Ubuntu 20.04 and higher.

sudo apt update

Finally install available upgrades of all packages including Mesa library via command:

sudo apt full-upgrade

3. Check mesa version:

To find out the package version, use command:

glxinfo | grep "OpenGL version"

Restore Original Mesa packages:

To restore your graphics driver to the original status, firstly install ppa-purge via command:

sudo apt install ppa-purge

Next purge the Ubuntu PPA which will downgrade all the installed packages:

sudo ppa-purge ppa:kisak/kisak-mesa

For Linux Mint 20, it’s recommended to add -d focal flag to work safely:

sudo ppa-purge -d focal ppa:kisak/kisak-mesa

How to Install Mesa 19.3 in Ubuntu 18.04, 19.10

Last updated: December 15, 2019

Mesa 3D graphics library 19.3 was released a few days ago. Here’s how to install it in Ubuntu 18.04, Ubuntu 19.04, and Ubuntu 19.10.

Mesa 19.3 is a big release that features:

  • Intel OpenGL 4.6 support
  • New Vulkan extensions both for Radeon RADV and Intel ANV
  • Initial Intel Tiger Lake support
  • AMD Navi 14 support (Radeon RX 5500 XT!)
  • Zink is added for experimental OpenGL over Vulkan
Only for those sticking to the open-source RadeonSI / RADV / Intel / Nouveau drivers, and want to enjoy some Linux games.

1. Open terminal either from application launcher or by pressing Ctrl+Alt+T on keyboard. When it opens, run command:

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

Type user password (no asterisk feedback) when it prompts and read the PPA description before pressing Enter to continue.

2. After adding the PPA, do system update via command:

sudo apt-get dist-upgrade

apt-get update is not required any more in Ubuntu 18.04 since adding PPA automatically refreshes system package cache.

3. Finally check your driver version via command:

glxinfo | grep "OpenGL version"

Uninstall:

To restore changes and downgrade to the default drivers shipped in your Ubuntu, run command:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:kisak/kisak-mesa

Mesa 3D graphics library 19.2.1 now is finally made into PPA available to install in Ubuntu 18.04 LTS.

Mesa 19.2.x is the latest development series that features:

  • Mesa 19.2 now pretty much at parity or beyond the i965 OpenGL driver.
  • OpenGL 4.6 support for the Intel OpenGL driver
  • Radeon RX 5700 series (Navi 10) support in RADV and RadeonSI Vulkan/OpenGL drivers.
  • Initial Navi 12/14 support.
  • A big RADV performance boost for AMD GPUs.
  • EGL platform device support.

Canonical’s Timo Aaltonen has made Mesa 19.2.1 package into “Ubuntu-X” team PPA, available to install in Ubuntu 18.04.

1. Open terminal either via Ctrl+Alt+T keyboard shortcut or by searching for ‘terminal’ from application menu. When it opens, run command:

sudo add-apt-repository ppa:ubuntu-x-swat/updates

Type user password (no asterisk feedback) when it prompts and hit Enter to continue.

2. After adding the PPA, do system update via command:

sudo apt-get dist-upgrade

apt-get update is not required any more in Ubuntu 18.04 since adding PPA automatically refreshes system package cache.

3. Finally check your driver version via command:

glxinfo | grep "OpenGL version"

Uninstall:

To restore changes and downgrade to the default drives shipped in Ubuntu 18.04, run command:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:ubuntu-x-swat/updates

Mesa 3D graphics library 19.1.4, which was released a week ago, now is made into PPA for Ubuntu 18.04, and Ubuntu 19.04.

For those sticking to the open-source RadeonSI / RADV / Intel / Nouveau drivers, Mesa 19.1.4 is the latest stable release with following release highlights:

  • Vulkan 24/48 bit formats are now not supported on Ivybridge.
  • R8G8B8_UNORM_SRGB is not supported on Haswell.
  • A fix for hair artifacts in Max Payne 3 on AMD/RADV.
  • Vulkan transform feedback extension is disabled on Intel gen7.

Canonical’s Timo Aaltonen has made Mesa 19.1.4 package into “Ubuntu-X” team PPA, available to install in Ubuntu 18.04 and Ubuntu 19.04.

1. Open terminal either via Ctrl+Alt+T keyboard shortcut or by searching for ‘terminal’ from application menu. When it opens, run command:

sudo add-apt-repository ppa:ubuntu-x-swat/updates

Type user password (no asterisk feedback) when it prompts and hit Enter to continue.

2. After adding the PPA, do system update via command:

sudo apt-get dist-upgrade

apt-get update is not required any more in Ubuntu 18.04 since adding PPA automatically refreshes system package cache.

3. Finally check your driver version via command:

glxinfo | grep "OpenGL version"

Uninstall:

To restore changes and downgrade to the default drives shipped in Ubuntu 18.04, run command:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:ubuntu-x-swat/updates

Mesa 3D graphics library 19.0.8 now is available to install in Ubuntu 18.04, Ubuntu 19.04 via PPA repository.

For those sticking to the open-source RadeonSI / RADV / Intel / Nouveau drivers, Mesa 19.0.8 is the latest bug-fix release for 19.0 series which fixes a critical bug found in the 19.0.7 release.

Canonical’s Timo Aaltonen has made Mesa 19.0.8 package into “Ubuntu-X” team PPA for Ubuntu 18.04 and Ubuntu 19.04.

To get better open-source graphics driver performance, you may install Mesa 19.0.8 via following steps:

1. Open terminal either via Ctrl+Alt+T keyboard shortcut or from software launcher. When it opens, run command:

sudo add-apt-repository ppa:ubuntu-x-swat/updates

Type user password (no asterisk feedback) when it prompts and hit Enter to continue.

2. After adding the PPA, do system update via command:

sudo apt-get dist-upgrade

apt-get update is not required any more in Ubuntu 18.04 since adding PPA automatically refreshes system package cache.

3. Finally check your driver version via command:

glxinfo | grep "OpenGL version"

Uninstall:

To restore changes and downgrade to the default drives shipped in Ubuntu 18.04, run command:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:ubuntu-x-swat/updates

For those sticking to the open-source RadeonSI / RADV / Intel / Nouveau drivers, the latest Mesa 19.0.2 graphics libraries is now available to install in Ubuntu 18.04 via PPA.

Mesa 19.0 was released a months ago with many features including Intel’s Vulkan driver transform feedback, soft FP64/INT64, RadeonSI FreeSync/Adaptive-Sync, AMD Zen thread optimizations, and more. Then Mesa 19.0.2 was released ago a few days with a handful of fixes.

Canonical’s Timo Aaltonen has made Mesa 19.0.2 package into “Ubuntu-X” team PPA for Ubuntu 18.04.

To get better open-source graphics driver performance, you may install Mesa 19.0.2 via following steps:

1. Open terminal either via Ctrl+Alt+T keyboard shortcut or from software launcher. When it opens, run command:

sudo add-apt-repository ppa:ubuntu-x-swat/updates

Type user password (no asterisk feedback) when it prompts and hit Enter to continue.

2. After adding the PPA, do system update via command:

sudo apt-get dist-upgrade

apt-get update is not required any more in Ubuntu 18.04 since adding PPA automatically refreshes system package cache.

3. Finally check your driver version via command:

glxinfo | grep "OpenGL version"

Uninstall:

To restore changes and downgrade to the default drives shipped in Ubuntu 18.04, run command:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:ubuntu-x-swat/updates

The latest Mesa graphics driver 18.2.8 is finally available to install in Ubuntu 18.04 and Ubuntu 18.10 via Ubuntu-X PPA.

Mesa 18.2.8 was released two weeks ago with following changes:

  • Add the new Vega M, Vega 10, and Vega 20 PCI IDs
  • Meson build system foxes.
  • Gallium “Nine” Direct3D 9 state tracker fixes.
  • VirGL driver fixes.
  • A RADV hang fix for the Windows Yakuza game under DXVK with Steam Play

For users sticking to the open source RadeonSI / RADV / Intel / Nouveau drivers, and want to enjoy some Linux games, you may follow below steps to install Mesa 18.2.8 in Ubuntu 18.04 and/or Ubuntu 18.10:

1. Open terminal either via Ctrl+Alt+T keyboard shortcut or from software launcher. When it opens, run command:

sudo add-apt-repository ppa:ubuntu-x-swat/updates

Type user password (no asterisks feedback) when it prompts and hit Enter to continue.

2. After adding the PPA, do system update via command:

sudo apt-get dist-upgrade

apt-get update is not required any more in Ubuntu 18.04 since adding PPA automatically refreshes system repositories.

3. Finally check your driver version via command:

glxinfo | grep "OpenGL version"

Uninstall:

To restore changes and downgrade to the default drives shipped in Ubuntu 18.04, run command:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:ubuntu-x-swat/updates

The latest Mesa graphics driver 18.2.2 is finally available to install in Ubuntu 18.04 via Ubuntu-X PPA.

Mesa 18.2.2 was released a week ago with following changes:

  • Better GTA V support with the RADV Vulkan driver.
  • RADV fix to address a GPU hang encountered by Radeon RX Vega hardware with SteamVR.
  • vkAcquireNextImage2 support within the ANV and RADV Vulkan drivers.
  • ANV now has support for protected memory properties via GetPhysicalDeviceProperties2().
  • The Gallium3D Nine “D3D9” state tracker has increased the number of temp registers as well as other improvements.
  • A new PCI ID added for a Polaris part: 0x6FDF.
  • And various bug-fixes.

How to Install Mesa 18.2.2 in Ubuntu 18.04:

To install the latest Mesa driver, e.g., for gaming, open terminal and do following steps one by one

1. Open terminal by either pressing Ctrl+Alt+T on keyboard or searching for ‘Terminal’ from software launcher. When it opens, run command:

sudo add-apt-repository ppa:ubuntu-x-swat/updates

Type your password (no asterisks feedback) when it prompts and hit Enter to continue.

2. After adding the PPA, do system update via command:

sudo apt-get dist-upgrade

apt-get update is not required any more in Ubuntu 18.04 since adding PPA automatically refreshes system repositories.

3. Finally check your driver version via command:

glxinfo | grep "OpenGL version"

Uninstall:

To restore changes and downgrade to the default drives shipped in Ubuntu 18.04, run command:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:ubuntu-x-swat/updates

For open-source graphic driver users, the latest Mesa 18.1.5 now is available in Ubuntu-X team PPA for Ubuntu 18.04.

Mesa 18.1.5 was released a few days ago with RADV Radeon Vulkan driver fixes, a number of Intel ANV Vulkan driver fixes, and some fixes to i965, RadeonSI, and even R600g driver.

You can now install Mesa 18.1.5 in Ubuntu 18.04 via following steps:

1. Open terminal by either pressing Ctrl+Alt+T on keyboard or searching for ‘Terminal’ from software launcher. When it opens, run command:

sudo add-apt-repository ppa:ubuntu-x-swat/updates

Type your password (no asterisks feedback) when it prompts and hit Enter to continue.

2. After adding the PPA, do system update via command:

sudo apt-get dist-upgrade

apt-get update is not required any more in Ubuntu 18.04 since adding PPA automatically refreshes system repositories.

3. Finally check your driver version via command:

glxinfo | grep "OpenGL version"

Uninstall:

To restore changes and downgrade to the default drives shipped in Ubuntu 18.04, run command:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:ubuntu-x-swat/updates

For Ubuntu 18.04 users sticking to open-source graphics drivers, the latest Mesa 18.1.3 graphics library now is available to install via X-Updates PPA.

Mesa 18.1.3 was released a few days ago with several fixes to the RADV Vulkan driver, Meson and Autotools build systems updates, fixes within the common NIR and GLSL compiler code paths, a few Intel driver fixes, and more.

To enjoy some Linux games while using the open source RadeonSI / RADV / Intel / Nouveau drivers, you may follow below steps to install Mesa 18.1.3 in Ubuntu 18.04:

1. Open terminal either via Ctrl+Alt+T or by searching for ‘Terminal’ from software launcher. When it opens, run command:

sudo add-apt-repository ppa:ubuntu-x-swat/updates

Type your password (no asterisks feedback while typing) when it prompts and hit Enter to continue.

2. After adding the PPA, do system update via command:

sudo apt-get dist-upgrade

apt-get update is not required any more in Ubuntu 18.04 since adding PPA automatically refreshes system repositories.

3. Finally check your driver version via command:

glxinfo | grep "OpenGL version"

Uninstall:

To restore changes and downgrade to the default drives shipped in Ubuntu 18.04, run command:

sudo apt-get install ppa-purge && sudo ppa-purge ppa:ubuntu-x-swat/updates