Friday, June 1, 2018

Easy Way to Install Mesa 18.0.4 in Ubuntu 18.04 LTS

Linuxslaves.com - Wondering how to install Mesa on Ubuntu 18.04 LTS?. Well, you're on the right track!. Canonical's Timo Aaltonen has announced the latest stable of Mesa into Ubuntu-X Team PPA.

Mesa (also called Mesa3D and The Mesa 3D Graphics Library) is an open-source software implementation of the OpenGL, Vulkan and other specifications. It implements a cross-language, cross-platform (mostly BSD and Linux), vendor-neutral standard API for translating these specifications to diverse vendor-specific graphics hardware drivers.

How to Install Mesa on Ubuntu Linux

In this release Mesa-dev have :
  • r600 driver gets a fix for constant buffer boounds, which fixes rendering bugs in Trine and Witcher 1
  • Several fixes for RADV driver: fixes around alpha channel in Pre-Vega, fix in multisample image copies, and fixes around multilayer images in compute path
  • For the case of ANV/i965 drivers, also a couple of fixes, all of them around ISP. On top, there are a couple of fixes relative to code emission around 16-bit integers, and a a fix for a leak in blorp for Gen4 and Gen5
  • Speaking of leaks, there are also fixes for winsys/radeon/amdgpu and pipe-loader.gets a couple of patches to fix a couple of leaks
  • SPIR-V part gets a patch to apply OriginUpperLeft to FragCoord
  • Mesa core gets a couple of patches to fix error handling in get_framebuffer_parameteriv, and to add missing support for glFogiv(GL_FOG_DISTANCE_MODE_NV)

Install Mesa 18.0.4 on Ubuntu 18.04 from a PPA

To install Mesa 18.0.4 on your Ubuntu 18.04 LTS Bionic Beaver desktop you need to add the Ubuntu X PPA to your software sources.

Step 1 - Open terminal via app launcher or simply press Ctrl+Alt+T

Open Ubuntu's terminal

Step 2 - Run the following command to add the Mesa PPA repository :

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

Type your password (no visual feedback) and press Enter continue

Step 3 - Once updated, you have to run :

sudo apt-get dist-upgrade

Step 4 - Check your driver version :

glxinfo | grep "OpenGL version"

Restore Changes

If things explode do not panic. You can restore to the previous version by using PPA-Purge :

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

Now reboot and log back in.

These were all how to install Mesa 18.0.4 in Ubuntu 18.04 LTS. Thanks for reading!.

Related Post