Canonical Announces Mir Back-End For Mainline Mesa

Posted by Michael Larabel on March 05, 2013

A day after announcing the Mir display server as their custom replacement for X.Org/Wayland within the Ubuntu world, Canonical is now pushing for the Mesa back-end that was developed behind closed doors over the past half-year to be integrated into mainline Mesa.

If you missed the other Phoronix coverage about Mir up to this point, see:

- Ubuntu's Unity Written In Qt/QML For "Unity Next"
- Upstream X/Wayland Developers Bash Canonical, Mir
- The Developers Behind The Mir Display Server
- Building & Running The Ubuntu Mir Display Server
- A Note To Canonical: "Don't Piss On Wayland"

With Canonical not basing Mir on Wayland or X.Org that have existing Mesa back-ends, they needed to write their own EGL/DRI2 back-end. Christopher James Halse Rogers posted the initial back-end to the mesa-dev list on Tuesday morning. "A first pass at a Mir platform for EGL. This is RFC mainly because I hope to shortly make Mir's API less painfully pointless-callback-based. There's no point in committing this as-is, but it's hopefully still useful to review."

Up to this point the Mir back-end was developed in private and then it was found in a patched version of Mesa from a Launchpad PPA. As said by Roger's patch mailing list message, he's mostly seeking comments from the upstream Mesa developers on the back-end -- many of whom are the same developers that were already so riled up yesterday by Canonical abandoning Wayland for Ubuntu. So he's not for pushing it into Git straightaway but is wanting comments and also to clean up their clumsy/"painful" Mir interface.

As said in the earlier Phoronix posts about Mir, at the moment this display server is just working with the open-source Radeon and Intel drivers but not Nouveau. Canonical also hopes to make Mir compatible with the proprietary Android graphics drivers too. They also carry the ambitious hope that NVIDIA and AMD will provide the necessary EGL interfaces for supporting Mir as well.

This Mir Mesa back-end is needed to render things like their current display server demo, as built yesterday on Phoronix:

So far no upstream developers have commented on this rare Mesa patch by Canonical.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. Linux Desktop Security Could Be A Whole Lot Better
  2. KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release
  3. New NVIDIA Linux Driver Supports The GeForce GTX 780
  4. Chrome 28 To Offer More Speed Improvements
  5. Digia Announces "Boot To Qt" Project
  6. X.Org Libraries Hit By Round Of Security Issues
  7. Wayland's Weston Gets Output Scaling Support
  8. Raspberry Pi Gets New Wayland Weston Renderer
  9. Debian GNU/Hurd 2013 Release Brings New Packages
  10. Intel Ultrabook Performance Is Faster With Mesa 9.2
  11. Hot Relocation HDD To SSD Support For Btrfs
Latest Forum Talk
  1. Linux Desktop Security Could Be A Whole Lot Better
  2. Raspberry Pi Gets New Wayland Weston Renderer
  3. OpenChrome Driver Is Far From Feature Complete
  4. how to use old laptops with via gfx
  5. Digia Announces "Boot To Qt" Project
  6. Chrome 27 Loads Web Pages Faster
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite