Mir Gets Workaround For Visual Glitches, Corruption
Written by Michael Larabel in Ubuntu on 13 September 2013 at 04:22 AM EDT. 26 Comments
While Mir's composite bypass support can dramatically improve the performance for Linux OpenGL games running on the Ubuntu display server, some Intel and AMD users have experienced on-screen corruption and other visual glitches when relying upon XMir since the bypass support was merged.

If you experienced problems like Launchpad Bug #1218735 where the cursor would be broken up into horizontal line artifacts and ghosting on Intel or Launchpad Bug #1218815 where there would be graphics glitches and screen corruption on Radeon with XMir, a workaround should now be in place. This is unrelated though to the Mir visual corruption when using Unity 8 on Mir without any XMir in the equation.

Revision 1063 of Mir was made on Thursday and it adds a new flag so that Mir buffers can attempt to figure out whether or not they are scanout-capable, i.e. could be rendered directly to the screen. While a buffer shouldn't need to know this, Mir is exposing that detail to clients in order to workaround the Radeon and Intel problems when using composite bypass support on XMir with regard to caching.

Beyond the Mir change, the xf86-video-intel driver package in Ubuntu was already modified so that it can make a better decision about cache usage based upon whether the buffer is to be scanned out to the screen. An xf86-video-ati change is also expected as part of this work.
About The Author
Author picture

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 10,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 or contacted via MichaelLarabel.com.

Related Ubuntu News
Popular News
Trending Reviews & Featured Articles