Mir Works On Screencasting, Parallelized Page Flipping

Written by Michael Larabel in Ubuntu on 14 February 2014 at 03:48 PM EST. 66 Comments
UBUNTU
While Mir is not going to premiere in Ubuntu 14.04 LTS and might not even be ready for Ubuntu 14.10, upstream development of this next-generation display server for Ubuntu to compete with Wayland is still being developed at full-speed.

Last week I wrote about SDL2 landing Mir back-end support and recently was also Mir's work towards screencasting support. The latest additions to note with Mir's development includes:

- A Mir screencasting utility was added. The screencast utility for Mir is very simple and just allows specifying the Mir server socket to use and an output ID; nothing more than that right now. The screencast code now also supports rendering to an off-screen buffer.

- The client platform for Mir is now dynamically loaded.

- A big change that landed this week was the parallelization of page-flipping with the rendering of the next frame, per Revision 1380. The commit explains, "Blocking rendering of the next frame until your page flip has finished is pretty harmless on a single-headed system. However, in the case of cloned outputs, waiting for multiple flips can take up to the whole frame time (as monitors could easily be 16ms out of phase). This left little or no time for rendering, resulting in dropped frames (stuttering) with cloned outputs. The solution is to wait for the page flips in parallel to rendering the next frame." So the big win from this work is better Mir multi-monitor support.

When do you think Mir will finally be ready for day-to-day use on the Ubuntu Linux desktop to replace the X.Org Server? Or do you think they will ultimately abandon it in favor of Wayland? Let us know your thoughts by commenting in our forums.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week