Submitted Successfully!
Thank you for your contribution! You can also upload a video entry or images related to this topic.
Ver. Summary Created by Modification Content Size Created at Operation
1 handwiki -- 1266 2022-10-28 01:35:15

Video Upload Options

Do you have a full video?


Are you sure to Delete?
If you have any further questions, please contact Encyclopedia Editorial Office.
Zhu, H. Mir. Encyclopedia. Available online: (accessed on 04 December 2023).
Zhu H. Mir. Encyclopedia. Available at: Accessed December 04, 2023.
Zhu, Handwiki. "Mir" Encyclopedia, (accessed December 04, 2023).
Zhu, H.(2022, October 28). Mir. In Encyclopedia.
Zhu, Handwiki. "Mir." Encyclopedia. Web. 28 October, 2022.

Mir is a computer display server and, recently, a Wayland compositor for the Linux operating system that is under development by Canonical Ltd. It was planned to replace the currently used X Window System for Ubuntu; however, the plan changed and Mutter was adopted as part of GNOME Shell. Mir was announced by Canonical on 4 March 2013 as part of the development of Unity 8, intended as the next generation for the Unity user interface. Four years later Unity 8 was dropped although Mir's development continued for Internet of Things (IoT) applications.

iot mir wayland

1. Software Architecture

Mir is built on EGL[1] and uses some of the infrastructure originally developed for Wayland[2] such as Mesa's EGL implementation[1] and Jolla's libhybris.[3][4] The compatibility layer for X, XMir, is based on XWayland.[5]

Other parts of the infrastructure used by Mir originate from Android. These parts include Google's Protocol Buffers,[6] and previously included Android's input stack,[7] which has since been replaced by Wayland's libinput, prior to the end of 2015.[8][9] An implementation detail in memory management shared with Android is the use of server-allocated buffers which Canonical employee Christopher Halse Rogers claims to be a requirement for "the ARM world and Android graphics stack".[10][11]

According to Ryan Paul of Ars Technica,

Some of the benefits that Mir will eventually offer include lower overhead in the display pipeline, more seamless transitions between display modes during the boot process, richer input handling that will make it easier to support things like touchscreen gestures, more seamless support for systems with switchable graphics hardware (like laptops that can dynamically shift between using embedded and discrete graphics), and better application interchange (which will help improve things like the clipboard and drag-and-drop).[11]

(As of September 2017) it has basic Wayland support.[12]

2. Adoption

(As of May 2014), the only announced desktop environment with native support for Mir was Canonical's Unity 8. No other Linux distribution announced plans to adopt Mir as default display server.

On 23 July 2013, Compiz developer Sam Spilsbury had announced a proof-of-concept port of XBMC to Mir,[13] based on the previous proof-of-concept port of XBMC to Wayland.[14] On the same day Canonical developer Oliver Ries had confirmed that "this is the first native Mir client out in the wild".[15]

Among Ubuntu derivatives using a non-Unity environment, Xubuntu developers had announced in early August 2013 that they would evaluate running Xfce via XMir,[16] but three weeks later decided to refrain from adopting it.[17]

2.1. Ubuntu

In June 2013, Canonical's publicly announced milestones for Mir development were to ship Unity 7 with XMir by default and a pure X11 fallback mode with Ubuntu 13.10, remove the X11 fallback with Ubuntu 14.04 LTS, and Unity 8 running natively on Mir by Ubuntu 14.10.[18] Later, on 2013, Canonical announced a postponement of their Mir plans for desktop use and not use XMir as default in Ubuntu 13.10. Ubuntu Touch, however is targeted to ship with Mir and a smartphone version of Unity 8.[19][20]

In May 2016, during his traditional video interview with the community held during the Ubuntu Online Summit, Mark Shuttleworth confirmed that "You will be able to get 16.10 with Unity 8, just like you can get 16.04 with MATE,or KDE, or GNOME. It'll be there, it'll be an option, and the team that's working on that is committed to making that a first-class option."[21]

On 5 April 2017, Canonical announced that with the release of Ubuntu 18.04 LTS, the Unity 8 interface would be abandoned in favor of GNOME. When asked if the decision would also mean the end of Mir development, Canonical's Michael Hall said that given the divergent development paths taken by Mir and its competitor, Wayland, "Using Mir simply isn't an option we have."[22]

However, Mark Shuttleworth clarified on 8 April 2017 that development would continue for Mir's use in Internet of Things (IoT) applications, stating: "we have lots of IoT projects using Mir as a compositor so that code continues to receive investment."[23]

2.2. Toolkits

  • SDL supported both Mir and Wayland starting with SDL 2.0.2 but it was disabled by default.[24][25] Wayland and Mir support was enabled by default starting with SDL 2.0.4.[26] With the release of 2.0.10, Mir support was dropped in favor of Wayland.[27]
  • GTK 3.16 included an experimental Mir backend,[28] but was removed in GTK 4.[29]
  • Qt5 is the official and supported toolkit for Unity8 and Ubuntu Touch, included in the Ubuntu SDK.[30]

3. Controversy

In March 2013, Canonical Ltd. announced Mir as the replacement display server for the X.Org Server in Ubuntu.[31] Previously, in 2010, it had announced that it would use Wayland.[32] Canonical stated that it could not meet Ubuntu's needs with Wayland.[11] There were several posts made in objection or clarification, by people leading other similar or affected projects.[33][34][35][36]

When originally announcing Mir, Canonical made various claims about Wayland's input system, which the Wayland developers quickly rebutted.[37][38] Official Canonical documentation in 2014 states, "our evaluation of the protocol definition revealed that the Wayland protocol does not meet our requirements. First, we are aiming for a more extensible input event handling that takes future developments like 3D input devices (e.g. Leap Motion) into account ... With respect to mobile use-cases, we think that the handling of input methods should be reflected in the display server protocol, too. As another example, we consider the shell integration parts of the protocol as privileged and we'd rather avoid having any sort of shell behavior defined in the client facing protocol."[39] In late 2015 Mir switched from a custom Android-derived input stack to Wayland's libinput.[8][9]

Long-time Linux kernel developer Matthew Garrett criticized the choice of licensing for Canonical's software projects, particularly Mir. Unlike X.Org Server and Wayland, both under the MIT License, Mir is licensed under GPLv3 – "an odd [choice]" for "GPLv3-hostile markets" – but contributors are required to sign an agreement that "grants Canonical the right to relicense your contribution under their choice of license. This means that, despite not being the sole copyright holder, Canonical are free to relicense your code under a proprietary license." He concludes that this creates asymmetry where "you end up with a situation that looks awfully like Canonical wanting to squash competition by making it impossible for anyone else to sell modified versions of Canonical's software in the same market."[40][41][42][43] Garrett's concerns were echoed by Bradley M. Kuhn,[44][45] Executive Director of the Software Freedom Conservancy.[46] Richard Stallman of the Free Software Foundation has stated on the similar case of MySQL that he supports dual-licensing of GPL software, as long as there are no proprietary extensions or proprietary versions of the free program,[47] which was not the case for MySQL.

In June 2013, Jonathan Riddell of Kubuntu announced that Kubuntu did not plan to switch to Mir. He stated "A few months ago Canonical announced their new graphics system for Ubuntu, Mir. It's a shame the Linux desktop market hasn't taken off as we all hoped at the turn of the millennium and they feel the need to follow a more Apple or Android style of approach making an OS which works in isolation rather than as part of a community development method. Here at Kubuntu we still want to work as part of the community development, taking the fine software from KDE and other upstream projects and putting it on computers worldwide. So when Ubuntu desktop gets switched to Mir we won't be following. We'll be staying with X on the images for our 13.10 release now in development and the 14.04 LTS release next year. After that we hope to switch to Wayland which is what KDE and every other Linux distro hopes to do."[48][49][50]

In September 2013, an Intel developer removed XMir support from their video driver and wrote "We do not condone or support Canonical in the course of action they have chosen, and will not carry XMir patches upstream."[51][52][53]


  1. "Canonical announced a new display server – Mir, and it is good for the consumer". 12 March 2013. 
  2. Christopher Halse Rogers. "Tomorrow Comes Today: Mir and YOU!". 
  3. Carsten Munk (11 April 2013). "Wayland utilizing Android GPU drivers on glibc based systems, Part 1". Mer Project. 
  4. "libhybris in Launchpad". 5 February 2013. 
  5. Thomas Voss (4 March 2013). "Mir – An outpost envisioned as a new home". 
  6. Christopher Halse Rogers. "Tomorrow Comes Today: Artistic differences". 
  7. "android-input README". 
  8. "Mir 0.18 Release Brings Prep Work For Vulkan, Libinput By Default". Phoronix. 
  9. "New Mir Release (0.18)". Maker Musings. 
  10. Christopher Halse Rogers. "Tomorrow Comes Today: Server Allocated Buffers in Mir". 
  11. Paul, Ryan (17 October 2013). "Ubuntu 13.10 review: The Linux OS of the future remains a year away". 
  12. "Mir Now Has Initial Support For Wayland Clients". Phoronix. 18 September 2017. 
  13. Sam Spilsbury (23 July 2013). "XBMC on Mir". 
  14. Sam Spilsbury (27 February 2013). ""Hello" from XBMC on Wayland". 
  15. Oliver Ries. "Sam Spilsbury is still the man". Google+. 
  16. "XMir-Based Xubuntu Images Now Available". 6 August 2013. 
  17. "Xfce-Based Xubuntu Will Not Ship XMir For 13.10". 
  18. "Ubuntu graphic stack roadmap update". 26 June 2013. 
  19. "Ubuntu 13.10 Desktop Will Not Use XMir By Default". 
  20. "XMir update for Ubuntu 13.10". 30 September 2013. 
  21. Shuttleworth, Mark. "Mark Shuttleworth's Q&A". 
  22. "Ubuntu Unity is dead: Desktop will switch back to GNOME next year". 
  23. Shuttleworth, Mark (8 April 2017). "Unity8". Google Plus. 
  24. "Announcing SDL 2.0.2". 8 March 2014. 
  25. Sneddon, Joey-Elijah (5 February 2014). "Some of Linux's Most Popular Games Will Run Natively on Mir". 
  26. "SDL 2.0.4 Was Quietly Released Last Week With Wayland & Mir By Default". Phoronix. 
  27. "Sdl 2.0.10 released!". 25 July 2019. 
  28. Clasen, Matthias (22 March 2015). "GTK+ 3.16.0 released". 
  29. "GTK4 Ejects The Mir Backend & Drops The Big GDK Lock - Phoronix". 
  30. Canonical Ltd (11 September 2015). "Ubuntu SDK". 
  31. "Canonical announces Mir, a custom display server that will serve up future versions of Unity". 4 March 2013. 
  32. Shuttleworth, Mark (4 November 2010). "Unity on Wayland". 
  33. Grässlin, Martin (8 March 2013). "War is Peace". 
  34. Edmundson, David (12 March 2013). "KDE, LightDM and the Mir Kerfuffle". 
  35. Larabel, Michael (13 March 2013). "GNOME Will Move Full-Speed With Wayland Support". Phoronix. 
  36. Grässlin, Martin (12 May 2013). "Mir in Kubuntu". 
  37. Larabel, Michael (4 March 2013). "Upstream X/Wayland Developers Bash Canonical, Mir". Phoronix. 
  38. Larabel, Michael (5 March 2013). "A Note To Canonical: "Don't Piss on Wayland"". Phoronix. 
  39. Canonical Ltd (7 January 2014). "Mir Spec – Why Not Wayland / Weston?". 
  40. Garrett, Matthew (19 June 2013). "Mir, the Canonical CLA and skewing the playing field". Dreamwidth. 
  41. "Mir's GPLv3 License Is Now Raising Concerns". Phoronix. 19 June 2013. 
  42. "Die Woche: Canonical wiederholt Fehler" (in de). heise open ( 
  43. "Intel entfernt Mir-Unterstützung" (in de). 
  44. Bradley M. Kuhn (23 June 2013). "Matthew Garrett on Mir". 
  45. Bradley M. Kuhn. "Project Harmony (and "Next Generation Contributor Agreements") Considered Harmful". 
  46. "Software Freedom Conservancy Appoints Full-Time Executive Director". 4 October 2010. 
  47. Richard Stallman (7 January 2010). "On Selling Exceptions to the GNU GPL". Free Software Foundation. 
  48. "Kubuntu Won't be Switching to Mir or XMir". KDE. 
  49. Bodnar, Ladislav (1 July 2013). "Miscellaneous News". DistroWatch. 
  50. "Kubuntu plans to steer clear of Mir and switch to Wayland". 27 June 2013. 
  51. Intel (7 September 2013). "xf86-video-intel 2.99.902 snapshot". Chris Wilson. 
  52. Michael Larabel (7 September 2013). "Intel Reverts Plans, Will Not Support Ubuntu's XMir". Phoronix. 
  53. Brodkin, Jon (9 September 2013). "Intel rejection of Ubuntu's Mir patch forces Canonical to go own way". 
Contributor MDPI registered users' name will be linked to their SciProfiles pages. To register with us, please refer to :
View Times: 253
Entry Collection: HandWiki
Revision: 1 time (View History)
Update Date: 28 Oct 2022