Mir 0.26 performance

Daniel van Vugt daniel.van.vugt at canonical.com
Mon Feb 20 08:15:12 UTC 2017


In terms of feel, you will find Mir 0.26 is the biggest step forward 
ever (and that will ever be). Because most of the software lag is now 
gone, which you will get a feel for in Unity8;

https://docs.google.com/spreadsheets/d/1RbTVDbx04ohkF4-md3wAlgmxbSI1DttstnT6xdcXhZQ/pubchart?oid=1566479835&format=interactive

Adding to the improved responsiveness is the removal of input resampling 
in Mir 0.26, which means apps get input events from your USB mouse at 
125Hz instead of 59Hz, and they arrive up to one frame sooner than they 
did in Mir 0.25. This means dragging windows is finally buttery smooth.

But we're not done yet. Theoretically optimal latency (allowing for 16ms 
of render time and 24ms of LCD hardware latency) in the above chart 
would be at about the 40ms line. So there is some improvement possible 
still. Plus Xmir and Android's code paths have not been fully optimized 
and are about one frame higher than those charted values which are for 
native EGL apps on desktop. And more improvement is theoretically 
possible after that (e.g. 
https://www.khronos.org/registry/OpenGL/extensions/NV/GLX_NV_delay_before_swap.txt).

- Daniel


On 17/02/17 10:29, Daniel van Vugt wrote:
> Mir 0.26 is now released and is also released in Ubuntu 17.04 zesty.
>
> https://launchpad.net/mir/0.26/0.26.0
> https://launchpad.net/mir/0.26/0.26.1
> https://launchpad.net/ubuntu/+source/mir
>



More information about the Mir-devel mailing list