When comparing Wayland vs Mir, the Slant community recommends Wayland for most people. In the question“What are the best Linux display servers?” Wayland is ranked 2nd while Mir is ranked 3rd. The most important reason people chose Wayland is:
Wayland simplifies the graphics stack by trying to force everything through a GEM/DRM stack and straight into the kernel. Furthermore, it manages compositing itself.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Simplifies the graphic stack
Wayland simplifies the graphics stack by trying to force everything through a GEM/DRM stack and straight into the kernel. Furthermore, it manages compositing itself.
Pro Better security
Reduced use of root and isolating the input and output of every window.
Pro Best for touchscreen
The complete gesture support makes it way better compared to x
Pro Wayland exclusive apps
In addition to xorg app running under xwayland, there are many wayland only apps, such as waydroid, which lets you run the android userland directly on linux.
Pro The default
If you don't have a nvidia graphics card, ubuntu and fedora will use wayland instead of xorg. As of plasma 6, wayland will be the default session, but distros may change this.
Pro Performance
Compositing performance is several times faster than xorg.
Pro Prevents screen tearing
Pro Easy to maintain
Wayland has no drawing APIs. Instead, a Wayland client gets a DRM buffer handle, which is practically just a pointer to a graphics memory. Practically Wayland does not care how the client draws to that buffer, it only copies the client's buffers on the screen.
The removes a lot of complexity (because Wayland just pushes the complex stuff to the other layers of the stack) and by making the clients responsible for all the rendering, they can be smarter on how they do things like double-buffering for example.
Pro Best Linux user experience overall
Very responsive Touchpad performance + 3,4-finger Gestures, Smooth Animations and No Screen Tearing. Also compatibility for old applications using XWayland.
Pro Great Unity support
Since Mir is being developed by Canonical to fit the need of the Unity DE and Ubuntu, on many different devices, from desktops to laptops to mobile devices and tablets. Because of this, Mir is great for Unity, in many different ways (security, efficiency, functionality, etc.).
Cons
Con XWayland handles popup windows poorly
Con No mechanisms to configure input
Tools like xinput and xmodmap that help customize keyboard and mouse input are incompatible with Wayland, have no corollary, and there is no clear roadmap for providing their functionality.
Con Little driver support
Most closed sourced drivers do not support the KMS/shared-GEM/shared-DRM technologies on which Wayland works. While this may be okay for open source purists, who only want to use graphic cards that have open source drivers available, it may not sit well with people who spend a lot of money for high-end graphic cards only to get some crappy 3D performance.
Although it should be noted that NVIDIA has declared that they will start supporting Wayland, it may take years before Wayland fully supports most high-end drivers.
Con A big mess
Wayland breaks everything and then expects others to fix the wreckage it caused on their own expense.
Con Breaks everything
Stuff that worked 20years is now broken...
Con Superior technology but still not ready for everyday use
Wayland is great for developers, it's both technologically and architecturally superior to X, but X is the de-facto standard display server protocol for the *nix world for so long that you can basically expect everything to work with X (user applications, graphics drivers, DEs, etc. etc.) which cannot be said for Wayland. Actually there are still too many issues with Wayland that I think it's still far from being ready for the general users/consumers today. It seems there are still years of work ahead before Wayland can fully replace X as suitable for everyday use other than running some GUI text-editors and IDEs for coding, and maybe by that time both Wayland and X will be replaced by something newer... Wayland surely has superior technology and design, but those don't necessarily mean much for the general users today (remember the RISC vs. CISC war back in the 90's, and that back when Linux kernel was first developed, it is arguably inferior to the MINIX kernel in terms of technological advance and architectural design)
Con Most desktops are not supported
The only destops that can currenty run on wayland are GNOME and Enlightenment, KDE has limited support and many other desktops and window mangers won't switch. Its also almost only working on GNU+Linux which negates the to be an X11 replacement.
Con Not much used in the Unix world
Currently its only nearly usable in the Linux world, everything else still uses X11.
Con Created by Canonical to fit only their needs
Mir isn't bad. It just doesn't fit in the world outside Ubuntu products like Wayland does. Instead of Canonical choosing to use Wayland as their next generation display server they choose to go their own way, which does not contribute back to the community in any meaningful way, in that area.
Con Deorbited
Much like the space station of the same name, Mir did not last. It's now been abandoned and will probably fall out of use, even with efforts by some to try and maintain it.