{"id":115,"date":"2017-04-12T09:30:00","date_gmt":"2017-04-12T12:30:00","guid":{"rendered":"https:\/\/www.linuxpro.com.br\/2017\/04\/desenvolvedor-defende-o-mir\/"},"modified":"2026-09-08T10:43:19","modified_gmt":"2026-09-08T13:43:19","slug":"desenvolvedor-defende-o-mir","status":"publish","type":"post","link":"https:\/\/www.linuxpro.com.br\/en\/2017\/04\/desenvolvedor-defende-o-mir\/","title":{"rendered":"Developer Defends Mir"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" alt=\"Mascote do LinuxPro encaixando uma pe\u00e7a na camada do servidor gr\u00e1fico entre o hardware e os aplicativos\" src=\"\/wp-content\/uploads\/2026\/09\/why-mir-v3.webp\" width=\"1486\" height=\"856\" \/><\/p>\n<div style=\"background:#fff8e1;border-left:4px solid #8b1a1a;padding:.8em 1em;margin:1em 0\"><strong>Note (2026):<\/strong> News from April 2017, preserved as a record. The detail only time revealed: when this text came out, Canonical <em>had already announced the end<\/em> of Unity8 and convergence \u2014 a week earlier. The section <em>Nine years later<\/em>, at the end, tells what really happened: Wayland won the desktop, and Mir survived by becoming something else.<\/div>\n<h2>Developer Defends Mir <strong>\u201cWhy Mir\u201d<\/strong><\/h2>\n<p>Canonical developer <a href=\"https:\/\/uk.linkedin.com\/in\/alangriffiths\">Alan Griffiths<\/a> has been blogging a lot in recent days about the Mir server. He has been trying to get the community to support Mir and potentially even add native Wayland client support. His latest post is titled <strong>\u201cWhy Mir\u201d<\/strong> with many still wondering why they should care about Mir when <a href=\"\/en\/2017\/04\/wayland-sera-o-novo-x\/\">Wayland<\/a> has proven to be the tested and widely adopted path.<\/p>\n<p><!-- more --><\/p>\n<p>Griffiths talks about Mir\u2019s abstractions, Mir\u2019s support for Mesa KMS\/X11 and Android HWC graphics (although those are all possible with Wayland too), Vulkan support \u201cbeyond proof of concept\u201d even though it is not public yet and Wayland supports Vulkan, and Mir as a display server providing \u201csensible defaults.\u201d.<\/p>\n<blockquote>\n<p>Because the work was funded with Canonical resources, features important to Ubuntu Phone and the Unity8 desktop have progressed faster and are more complete than others.<\/p>\n<p>When Mir started, we needed a client-server communication mechanism (and Wayland was not in the state it is today). We made something that worked well enough (libmirclient) and, because it is only a small, deliberately isolated part of the whole, we could change it later. We never imagined what a \u201cbig deal\u201d that decision would become.<\/p>\n<\/blockquote>\n<p>Those who want to read more can visit the post <a href=\"http:\/\/voices.canonical.com\/alan.griffiths\/2017\/04\/12\/why-mir\/\">Why Mir<\/a>. But after extensively monitoring the Linux graphics landscape, about the only selling point I see is its sensible defaults making it easier for developers to get new shells up and running on Mir quickly. We have already seen that bringing up Wayland compositors can be widely done, though, and more work has been done (and is still ongoing) across the Wayland ecosystem to enable more code sharing. One of the major problems for Mir, however, is that XMir and Mesa driver support are not mainline and thus are not readily available outside Ubuntu packages.<\/p>\n<h2>Links<\/h2>\n<ul>\n<li>http:\/\/www.phoronix.com\/scan.php?page=news_item&amp;px=Mir-Why-Mir<\/li>\n<li>http:\/\/voices.canonical.com\/alan.griffiths\/2017\/04\/12\/why-mir\/<\/li>\n<\/ul>\n<h2>Nine years later: what actually happened<\/h2>\n<h3>The text above came a week after the funeral<\/h3>\n<p>The irony that makes sense of this post is only visible with a calendar in hand. On <strong>April 5, 2017<\/strong>, Mark Shuttleworth announced that Canonical would end Unity, convergence, and the Ubuntu Phone effort \u2014 and that Ubuntu 18.04 LTS would return to GNOME. The post <em>\u201cWhy Mir\u201d<\/em>, by Alan Griffiths, dates from <strong>April 12<\/strong>.<\/p>\n<p>In other words: the developer was defending the project\u2019s reason for existing one week <em>after<\/em> the company abandoned the bet that justified it. This should not be read as stubbornness \u2014 it is the difference between a business decision and the technical conviction of the person who wrote the code.<\/p>\n<h3>Wayland won, and by a wide margin<\/h3>\n<p>The prediction implicit in the original text came true in full. Wayland is now the Linux desktop standard: GNOME has used it by default since Fedora 25, KDE Plasma 6 did the same, and major distributions have already removed or are removing the X11 session.<\/p>\n<p>The problems the 2017 post pointed out in Mir \u2014 a driver not integrated into Mesa\u2019s main tree, XMir outside mainline, availability limited to Ubuntu packages \u2014 were exactly the right ones. Without being upstream, a graphics server does not survive.<\/p>\n<h3>But Mir did not die \u2014 it became something else<\/h3>\n<p>And here is the part almost nobody followed. Instead of ending the project along with Unity8, Canonical repositioned it completely. Mir stopped being a <em>competing graphics server<\/em> for Wayland and became a <strong>library for building Wayland compositors<\/strong>.<\/p>\n<p>It is a complete reversal of roles: the protocol the original post treated as a rival became the protocol Mir <em>speaks<\/em>. Today it is a set of libraries for anyone who wants to write a graphical shell without starting from scratch \u2014 with touch, mouse, and tablet input, multiple monitors, and client-server communication already handled.<\/p>\n<p>Where it lives in 2026:<\/p>\n<ul>\n<li><strong>Ubuntu Frame<\/strong> \u2014 Canonical\u2019s kiosk and digital signage product, maintained by the same team as Mir. If you have seen a self-service kiosk running Linux, it may have been this.<\/li>\n<li><strong>Embedded devices and IoT<\/strong> \u2014 the niche to which Canonical redirected its effort in 2017.<\/li>\n<li><strong>Miriway<\/strong> \u2014 a Mir-based Wayland compositor for those who want to use it as a desktop.<\/li>\n<li><strong>And a delightful detail:<\/strong> starting with version 2.26, Mir began rewriting its <em>frontend<\/em> for Wayland in <a href=\"\/en\/2026\/09\/a-historia-da-linguagem-rust\/\">Rust<\/a>, work that continued in 2.27. The project that lost the desktop battle in 2017 is among those adopting the language the kernel only fully accepted in 2026.<\/li>\n<\/ul>\n<p>Alan Griffiths, author of \u201cWhy Mir,\u201d stayed with the project all these years.<\/p>\n<h3>The lesson that remained<\/h3>\n<p>Mir\u2019s case is the clearest example of a free software rule: <strong>being technically better does not win; being integrated upstream does.<\/strong> Mir had real technical arguments \u2014 clean abstraction, sensible defaults, multiple back-end support. It lost because its driver was not in Mesa on the next person\u2019s distribution, and because the company funding it changed its mind.<\/p>\n<p>And there is a second, more optimistic lesson: good code is rarely wasted. Mir did not become an archived repository \u2014 it became infrastructure for something else, in a market where nobody expected to find it.<\/p>\n<p>For the full context of this transition: <a href=\"\/en\/2017\/04\/wayland-sera-o-novo-x\/\">Wayland will be the new X<\/a>, from the same period, and <a href=\"\/en\/2026\/09\/linux-35-anos\/\">Linux turns 35<\/a>, which tells how the desktop got here.<\/p>","protected":false},"excerpt":{"rendered":"<p>Developer defends Mir: \u201cWhy Mir\u201d Canonical developer Alan Griffiths has been blogging extensively about the Mir server over the past few days. He has been trying to get the community to support Mir and potentially even add client support \u2026 <a title=\"Developer Defends Mir\" class=\"read-more\" href=\"https:\/\/www.linuxpro.com.br\/en\/2017\/04\/desenvolvedor-defende-o-mir\/\" aria-label=\"Read more about Desenvolvedor defende o Mir\">Read more<\/a><\/p>","protected":false},"author":0,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,41,3],"tags":[4,42,43,5],"class_list":["post-115","post","type-post","status-publish","format-standard","hentry","category-linux","category-mir","category-ubuntu","tag-linux","tag-mir","tag-noticia","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/www.linuxpro.com.br\/en\/wp-json\/wp\/v2\/posts\/115","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxpro.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxpro.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxpro.com.br\/en\/wp-json\/wp\/v2\/comments?post=115"}],"version-history":[{"count":5,"href":"https:\/\/www.linuxpro.com.br\/en\/wp-json\/wp\/v2\/posts\/115\/revisions"}],"predecessor-version":[{"id":1379,"href":"https:\/\/www.linuxpro.com.br\/en\/wp-json\/wp\/v2\/posts\/115\/revisions\/1379"}],"wp:attachment":[{"href":"https:\/\/www.linuxpro.com.br\/en\/wp-json\/wp\/v2\/media?parent=115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxpro.com.br\/en\/wp-json\/wp\/v2\/categories?post=115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxpro.com.br\/en\/wp-json\/wp\/v2\/tags?post=115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}