Language Selection

English French German Italian Portuguese Spanish

How XMir and Mir fit together

Filed under

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

Хамалски услуги

В даден момент от живота ни се налага да се разделим с голяма част от любимите ни вещи, които по една или друга причина сме складирали на тавана, килера или някъде другаде. Дали заради това, че са се скапали до такава степен, че е абсолютно невъзможно да бъдат използвани отново и

$13 HAT aims Raspberry Pi at real-world I/O projects

Pimoroni’s $13 “Explorer HAT” add-on for the Raspberry Pi can drive motors and touchscreens, integrate sensors, interface with 5V devices, and more. The Raspberry Pi Foundation’s HAT (Hardware Attached on Top) add-on board standard enables the Linux-ready Raspberry Pi SBC to automatically configure its GPIO signals and drivers for use with external devices. Pimoroni has released Explorer HAT and Explorer HAT Pro models that support the HAT standard on the Raspberry Pi 2 Model B, as well as the first-generation Model B+ and Model A+ boards. Read more

Will voting systems adopt open source?

In my recent interview with Brent Turner, from the California Association of Voting Officials (CAVO), we heard about the public interest case for making voting machines open source. In this article, I further explore the unfortunate trend for vendors in this space to "openwash" their offerings; that is, to misrepresent proprietary products as if they were open source, with the intent of making them more appealing. Read more Also: OpenMRS joins Open Source Initiative as Affiliate Member