Mir news: 21st December 2018

Mir news: 2018

2018 has been a year of steady progress with the Mir project. We’ve seen five releases of Mir:

  1. In Feburary, Mir 0.30 was a big step forwards in our Wayland and cross-distro support as illustrated by this video running a libre office presentation and other applications on Mir on Fedora.
  2. In March, Mir 0.31 we enabled the “xdg-shell V6” protocol extension which allowed GTK+ applications to run on Mir.
  3. In June, Mir 0.32 our focus was on enabling things essential for desktop usage scenarios with logind support and implementing Wayland’s cut & paste extension protocol.
  4. In September, Mir 1.0 was our most significant release this year because we’d:
    • addressed issues in our Wayland support and added support for the “xdg_shell stable” extension;
    • worked through various issues delivering graphical snaps and implemented an effective solution; and,
    • provided a powerful way to configure multiple outputs.
  5. In December, Mir 1.1 delivered support for running Wayland clients on Nvidia drivers.

Distros

We’ve continued to package the latest Mir release for the supported Ubuntu releases in the mir-team PPA and engaged with people interested in packaging for other distributions:

  1. @Conan_Kudo looks after uploading to the Fedora archive;
  2. @vanyasem looks after uploading to the Arch AUR;
  3. @tsimonq2 is working towards uploading to the Debian archive; and,
  4. our very own @RAOF continues to look after uploading to the Ubuntu archives.

Our “new recruit” (from early this year) @sophie-w has also been running Mir on “Pop!”, so we know it also builds and runs successfully there.

We’ve also accepted some PRs from the PostmarketOS community that help towards running Mir on Alpine Linux (musl instead of glibc). There are a few additional patched needed (see this discussion).

Snaps

There are two ways of getting Mir as a snap:

The mir-kiosk snap

To demonstrate the capabilities of Mir for simple, single application appliances we’ve packaged the “kiosk” example Mir server into the mir-kiosk snap. Because Mir comes packaged as part of the snap, installing the full graphical stack is a single command.

mir-kiosk provides the foundation for a range of solutions. It provides a screen with a mouse pointer (if necessary), letting you run any application you want, instantly turning it into a kiosk application:

  • Information kiosk or digital signage display
    A useful, but pre-production, example is the chromium-mir-kiosk snap. This shows how to incorporate the Chromium web browser into a kiosk snap.

  • In-car entertainment stack, industrial control panel or home automation interface
    Running a kiosk on Ubuntu Core showcases a set of Qt example apps running on a kiosk. This shows how your own Qt applications could be packaged to support a complex, bespoke user interface.

Once you decide to develop your own snap, there are tutorials to help:

The egmde snap

Egmde was originally written to support some tutorials about writing a Mir server. However, as a snap, it serves the secondary purpose of making it easy to experiment with Mir.

  Egmde is a "worked example" of using Mir written to accompany a set of blog posts. It is not a
  fully functional shell.

  These blog posts are listed here: https://github.com/AlanGriffiths/egmde/wiki

  They don’t cover aspects of a desktop environment that are not related to using Mir. Missing
  functionality includes: integrating into the system for screen locking & suspend, policy kit
  integration,  internationalization, support for non-Wayland (i.e. X11) applications, etc.

  The beta and edge channels track Mir releases:

      $ sudo snap install --classic --beta egmde # Latest Mir release
      $ sudo snap install --classic --edge egmde # Latest Mir development

  To use egmde as your desktop, select it when logging in, to run it on your desktop run "egmde".

  Note: Mir's "experimental" X11 support can be enabled by:

      $ sudo snap set egmde x11-display=auto

  You may also need to install Xwayland:

      $ sudo apt install Xwayland # Ubuntu
      $ sudo dnf install xorg-x11-server-Xwayland # Fedora
Get it from the Snap Store

UBports

I cannot end the year without mentioning UBports who are delivering Mir to thousands of phones and tablets as part of their Ubuntu Touch mobile OS. They’ve had an impressive year with several successful “OTA” releases including the migration from an unsupported Ubuntu 15.04 base to Ubuntu 16.04LTS.

They’re in the process of modernizing the software stack they use and as part of that plan to ship the latest Mir early next year. This will give them the benefit of the work we’ve done on supporting Wayland.

In preparation for that, @mariogrip has upstreamed code to Mir for improving the Xwayland integration (the basis of our “experimental” X11 support) and to improve the way our graphics platform API operates with the libhybris/android stack they use.

Next year

@sophie-w recently posted a preview of our work implementing Wayland’s “layer shell” extension in MATE and Mir here. Over the coming year we’ll continue our work on enabling both IoT and desktop solutions.

We’re also working to decouple our wlcs test suite from Mir and make it usable for testing other compositors.

5 Likes

I made mir work on Solus too! :smiley:

But it go straight up rejected to be put on their repos https://dev.getsol.us/T7383

So i’ll create my own where i can put it for now

5 Likes