{"id":7785,"date":"2018-05-27T14:57:27","date_gmt":"2018-05-27T14:57:27","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=7785"},"modified":"2018-05-27T14:57:27","modified_gmt":"2018-05-27T14:57:27","slug":"install-mesa-18-0-4-ubuntu-18-04-lts","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2018\/05\/install-mesa-18-0-4-ubuntu-18-04-lts\/","title":{"rendered":"How to Install Mesa 18.0.4 in Ubuntu 18.04 LTS"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2017\/05\/opengl-logo245.png\" alt=\"\" width=\"245\" height=\"250\" class=\"aligncenter size-full wp-image-6802\" \/><\/p>\n<p>For those who want to install the latest Mesa 3D graphics driver 18.0.4, Canonical\u2019s Timo Aaltonen has made it into <a href=\"https:\/\/launchpad.net\/~ubuntu-x-swat\/+archive\/ubuntu\/updates\" target=\"_blank\">Ubuntu-X Team PPA<\/a> for Ubuntu 18.04 LTS.<\/p>\n<p>Mesa 18.0.4 is so far the latest stable release that was <a href=\"https:\/\/lists.freedesktop.org\/archives\/mesa-dev\/2018-May\/195215.html\" target=\"_blank\">announced<\/a> a few weeks ago:<\/p>\n<blockquote><p><i>&#8220;r600 driver gets a fix for constant buffer boounds, which fixes rendering bugs in Trine and Witcher 1.<\/p>\n<p>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.<\/p>\n<p>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.<\/p>\n<p>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.<\/p>\n<p>SPIR-V part gets a patch to apply OriginUpperLeft to FragCoord.<\/p>\n<p>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).&#8221;<\/i><\/p><\/blockquote>\n<p><b>1.<\/b> Open terminal either via Ctrl+Alt+T or by searching for &#8216;Terminal&#8217; from software launcher. When it opens, run command:<\/p>\n<pre style=\"border:none;\">sudo add-apt-repository ppa:ubuntu-x-swat\/updates<\/pre>\n<p><i>Type your password (no asterisks while typing due to security reason) when it prompts and hit Enter to continue.<\/i><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/05\/mesa-ppa-bionic-600x89.jpg\" alt=\"\" width=\"600\" height=\"89\" class=\"aligncenter size-large wp-image-7786\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/05\/mesa-ppa-bionic-600x89.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/05\/mesa-ppa-bionic-450x67.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/05\/mesa-ppa-bionic.jpg 748w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>2.<\/b> After adding the PPA, do system update via command:<\/p>\n<pre style=\"border:none;\">sudo apt-get dist-upgrade<\/pre>\n<p><i><code>apt-get update<\/code> is not required any more in Ubuntu 18.04 since adding PPA automatically refreshes system repositories.<\/i><\/p>\n<p><b>3.<\/b> Finally check your driver version via command:<\/p>\n<pre style=\"border:none;\">glxinfo | grep \"OpenGL version\"<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/05\/check-opengl-bionic-600x88.jpg\" alt=\"\" width=\"600\" height=\"88\" class=\"aligncenter size-large wp-image-7787\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/05\/check-opengl-bionic-600x88.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/05\/check-opengl-bionic-450x66.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2018\/05\/check-opengl-bionic.jpg 748w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<h4>Uninstall:<\/h4>\n<p>To restore changes and downgrade to the default drives shipped in Ubuntu 18.04, run command:<\/p>\n<pre style=\"border:none;\">sudo apt-get install ppa-purge && sudo ppa-purge ppa:ubuntu-x-swat\/updates<\/pre>","protected":false},"excerpt":{"rendered":"<p>For those who want to install the latest Mesa 3D graphics driver 18.0.4, Canonical\u2019s 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: &#8220;r600 driver gets a fix for constant buffer boounds, which fixes rendering [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1447],"class_list":["post-7785","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-mesa-3d-graphics-library"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/7785","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=7785"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/7785\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=7785"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=7785"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=7785"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}