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

With Open-Source Software, You Don't Have to Start From Scratch

As an entrepreneur, you always have questions to answer: “How do I efficiently manage my people?” “How can I keep track of my projects?” “Where do I start with my website?” It can all feel pretty overwhelming, but luckily, there’s a fantastic resource you can use to solve an abundance of entrepreneurial problems: open-source technology. It all began in the '90s when there was a big push to create operating systems to make using new computer technology more efficient. Companies saw the value in these operating systems and acquired creators such as Linux to write the code. Read more

FreeBSD 10.1 Has The New VT Driver, Hardware Improvements

Released this past week was the first beta of FreeBSD 10.1. If you haven't yet had time to explore this development release, there's a lot of improvements over FreeBSD 10.0. Here's some of the features that interest us the most about this forthcoming FreeBSD 10 update: - The driver for FreeBSD's new VT console has been added. The new VT hasn't been enabled by default but for now still requires setting a special parameter. - The ported-from-Linux Radeon DRM/KMS driver now has support for 32-bit ioctls so 32-bit OpenGL applications are able to run on a 64-bit FreeBSD system. - Various hardware-related improvements from Turbo Boost enabled Intel CPUs to PowerPC 970 CPUs to Atom Silvermont to Apple books saw different changes. - Bhyve virtualization improvements. Find out more about the recent FreeBSD 10 changes via the stable release notes. FreeBSD 10.1 is expected for an official unveiling on 29 October. Read more

Android tablet records and recreates 3D scenes

Mantis Vision and Flextronics unveiled an Android-based “Aquila” tablet based on Mantis’ MV4D 3D engine that uses a 3D sensing system to recreate 3D scenes. So-called 3D tablets, which display 3D video and other content with or without special glasses, never hit it big among consumers. Now Israeli 3D vision technology firm Mantis Vision and manufacturer Flextronics have built a different kind of tablet called the Aquila. It not only displays 3D content, but records, recreates it, and lets you manipulate the image in 3D or integrate it into applications. Read more

REVIEW: How to turn a Raspberry Pi in to an NSA-proof computer

One of the Pi's key attributes is its price of around £30. It is the nearest thing we have to a disposable computer and several can be used cost-effectively in a single project. A recently publicised use is the creation of a string of Raspberry Pi honeypots for detecting hacker activity on a corporate network. Given CW's enduring preoccupation with the surveillance programs of our Establishment masters, would it be, could it be possible to create a disposable, network-invisible computer? Read more