Archives For Mesa 3D graphics library

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

The latest Mesa 3D graphics library 18.1.1 now can be easily installed in Ubuntu 18.04 LTS via PPA.

For those sticking to the open-source drivers and need graphics performance improvements (e.g. for playing games), Canonical’s Timo Aaltonen has pushed Mesa 18.1.1 in the x-updates PPA.

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 while typing due to security reason) 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 those who want to install the latest Mesa 3D graphics driver 18.0.4, Canonical’s Timo Aaltonen has made it into Ubuntu-X Team PPA for Ubuntu 18.04 LTS.

Mesa 18.0.4 is so far the latest stable release that was announced a few weeks ago:

“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).”

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 while typing due to security reason) 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

How to Install MESA 17.3.3 in Ubuntu 16.04, 17.10

Published: January 27, 2018 — Last updated: January 29, 2018

The latest MESA 3D graphics library 17.3.3 now is available in Ubuntu-X team PPA repository for Ubuntu 16.04 and Ubuntu 17.10.

MESA 17.3.3 is a bug-fix release announced a week ago. It fixed:

  • Dota crashes when switching from game to desktop
  • Compute Shader: Wrong alignment when assigning struct value to structured SSBO
  • Check if Mako templates for Python are installed

For more details, see the release note.

How to Install Mesa 17.3.3 in Ubuntu 16.04, 17.10 via PPA:

1. Open terminal either via Ctrl+Alt+T keyboard shortcuts or by searching for “terminal” from application launcher. When it opens, run command to add the PPA:

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

Input your password (no visual feedback while typing) when it prompts and hit Enter.

Mesa ppa

2. Then refresh your system and install upgrades via commands:

sudo apt-get update

sudo apt-get dist-upgrade

3. To check result, run command:

glxinfo | grep "OpenGL version"

How to Restore:

To revert back to the original Mesa 3D graphics library in Ubuntu, get into command console and run command:

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

The latest release of Mesa 3D graphics library 17.2.4 now is available to install easily via Ubuntu-X Team PPA in Ubuntu 16.04 and Ubuntu 17.10.

Mesa 17.2.4 was released more than a week ago with several Intel OpenGL/Vulkan fixes, memory leak fixes for the Mesa state tracker, a Vulkan windowing system integration memory leak fix for X11, and some other small fixes.

How to Install Mesa 17.2.4 in Ubuntu 16.04, 17.10 via PPA:

1. Open terminal either via Ctrl+Alt+T keyboard shortcuts or by searching for “terminal” from application launcher. When it opens, run command to add the PPA:

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

Input your password (no visual feedback while typing) when it prompts and hit Enter.

Mesa ppa

2. Then refresh your system and install upgrades via commands:

sudo apt-get update

sudo apt-get install dist-upgrade

3. To check result, run command:

glxinfo | grep "OpenGL version"

How to Restore:

To revert back to the original Mesa 3D graphics library in Ubuntu, get into command console and run command:

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

The latest release of Mesa graphics library 17.2.2 is now available for users of Ubuntu 16.04 to install via PPA.

Mesa 17.2.2 is a bug-fix release for the 17.2 series. It was released two weeks ago and finally available in the “Ubuntu-X” team PPA for Ubuntu 16.04.

Mesa 17.2 contains many RADV/ANV Vulkan driver improvements, Vulkan and OpenGL performance improvements, more work towards OpenGL 4.6 compliance, and a wealth of other open-source driver improvements.

How to Install Mesa 17.2.2 in Ubuntu 16.04 via PPA:

1. Open terminal either via Ctrl+Alt+T keyboard shortcuts or by searching for “terminal” from application launcher. When it opens, run command to add the PPA:

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

Input your password (no visual feedback while typing) when it prompts and hit Enter.

Mesa ppa

2. Then refresh your system and install upgrades via commands:

sudo apt-get update

sudo apt-get install dist-upgrade

3. To check result, run command:

glxinfo | grep "OpenGL version"

How to Restore:

To revert back to the original Mesa 3D graphics library in Ubuntu, get into command console and run command:

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

The latest Mesa 3D graphics library 17.1.0, which was released a week ago, now is backported for Ubuntu 16.04 and Ubuntu 17.04 via “Ubuntu-X” team PPA.

Mesa 17.1.0 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 because compatibility contexts are not supported.

Mesa 17.1.0 features:

  • OpenGL 4.2 on i965/ivb
  • GL_ARB_gpu_shader_fp64 on i965/ivybridge
  • GL_ARB_gpu_shader_int64 on i965/gen8+, nvc0, radeonsi, softpipe, llvmpipe
  • GL_ARB_shader_ballot on nvc0, radeonsi
  • GL_ARB_shader_clock on nv50, nvc0, radeonsi
  • GL_ARB_shader_group_vote on radeonsi
  • GL_ARB_shader_precision on i965/ivb
  • GL_ARB_shader_viewport_layer_array on radeonsi
  • GL_ARB_sparse_buffer on radeonsi/CIK+
  • GL_ARB_transform_feedback2 on i965/gen6
  • GL_ARB_transform_feedback_overflow_query on i965/gen6+
  • GL_ARB_vertex_attrib_64bit on i965/ivb
  • GL_NV_fill_rectangle on nvc0
  • Geometry shaders enabled on swr

Install Mesa 17.1.0 in Ubuntu 16.04 / 17.04:

Open terminal by pressing Ctrl+Alt+T or searching for “Terminal” from start menu. When it opens, run following commands one by one:

1. Add the PPA repository via command:

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

Type in your password (no visual feedback due to security reason) and hit Enter.

Mesa ppa

2. Then check updates and upgrade your system to get the latest Mesa library:

sudo apt update

sudo apt dist-upgrade

To check result, run command:

glxinfo | grep "OpenGL version"

How to Restore:

To revert back to the original Mesa 3D graphics library in your main Ubuntu repository, get into command console and run:

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