Language Selection

English French German Italian Portuguese Spanish

How XMir and Mir fit together

Filed under
Software
Ubuntu

For Ubuntu 13.10, Canonical are proposing to use Mir by default. Of course, this requires a certain amount of replumbing. X would normally be responsible for doing things like setting up the screen and pushing the pixels out to the hardware, but this is now handled by Mir instead. Where a native X server would allocate a framebuffer in video memory and render into it, XMir asks Mir for a window corresponding to the size of the screen and renders into that and then simply asks Mir to display it. This step is actually more interesting than it sounds.

Unless you're willing to throw lots of CPU at them, unaccelerated graphics are slow. Even if you are, you're going to end up consuming more power for the same performance, so XMir would be impractical if it didn't provide access to accelerated hardware graphics functions. It makes use of the existing Xorg accelerated X drivers to do this, which is as simple as telling the drivers to render into the window that XMir requested from Mir rather than into the video framebuffer directly. In other words, when displaying through XMir, you're using exactly the same display driver stack as you would be if you were using Xorg. In theory you'd expect identical performance - in practice there's a 10-20% performance hit right now, but that's being actively worked on. Fullscreen 3D apps will also currently take a hit due to there being no support for skipping compositing, which is being fixed. XMir should certainly be capable of performing around as well as native X, but there's no reason for it to be any faster.

rest here




More in Tux Machines

Google Chrome 46 Enters Beta with Flexible Animations, Optimized Image Loading

After announcing the promotion of the Google Chrome 45 web browser to the stable channel on September 1, Google pushed earlier today, September 2, the Chrome 46 web browser to the Beta channel for testers worldwide. Read more

Phoronix offers some criticism of KDE software, and this is how KDE deals with it

About a month ago, Eric Griffith posted an article on Phoronix where he compared Fedora’s KDE spin to the main Fedora Workstation which uses GNOME. In that article, Eric described a number of issues that he became fully aware of when comparing his favorite desktop environment, Plasma (and the KDE applications he regularly uses) with GNOME’s counterparts. I read that article, shared it with other KDE designers and developers, and we came to the conclusion that yes, at least some of the issues he describes there are perfectly valid and clearly documented. And since KDE does listen to user feedback if it makes sense, we decided we should do something about it. Read more

Trinity Desktop Environment Now Supports Ubuntu 15.04, ARM64, and PPC64le

The developers behind the TDE (Trinity Desktop Environment) project, an open-source desktop environment that keep the spirit of KDE3.5 alive, have announced the immediate availability for download of Trinity Desktop Environment R14.0.1. Read more

Ubuntu MATE Donates Money to VLC, OpenBSD, and a Debian Developer

Martin Wimpress, the lead developer and maintainer of the Ubuntu MATE operating system, had the great pleasure of informing us about the contributions made to various open source projects during the month of August 2015. Read more