An Open-Source, Reverse-Engineered Mali GPU Driver

Published on January 21, 2012
Written by Michael Larabel
Page 1 of 3
Discuss This Article

There is some exciting news to break today on Phoronix... Coming up at FOSDEM (the Free Open-Source Developers' European Meeting in Brussels) will be the formal announcement of an open-source, reverse-engineered graphics driver for the ARM Mali graphics processor. OpenGL ES triangles are in action on open-source code. Will this be the start of fully open-source ARM graphics drivers for Android and Linux?

Mali is ARM's current family of GPUs that they pair with the ARM Cortex processors for some hardware. The Mali-400 was ARM's first OpenGL ES 2.0 conformant multi-core GPU with 2D and 3D hardware acceleration. Up to this point the Mali graphics hardware has been supported by ARM with a closed-source driver stack -- and no open-source DRM/KMS driver in the mainline kernel tree like what's been done at Samsung with Exynos and Texas Instruments with omapdrm; albeit neither of those provide hardware acceleration, just mode-setting and basic support.

The Mali-200 is another supported graphics processor by this project, which can handle OpenGL ES 1.1/2.0 and OpenVG 1.1, which up to now has only been backed by a binary blob. Assuming the driver is still developed until mainline-maturity, this Mali driver will be the first ARM graphics hardware with a full open-source 3D-capable stack. Embedded GPUs have been a great big mess for Linux, even for Intel SoCs. The ARM Mali design comes out of ARM Norway.


This is where the ARM Mali was designed... The wonderful city of Trondheim. (Yes, that also happened to be the Phoronix Test Suite 1.0 codename a few years prior.)

This open-source stack is coming by reverse-engineering ARM's official Mali GPU driver, which they thought was an impossible feat. The reverse-engineering has been sponsored by Codethink for the past several months by Luc Verhaegen, the often controversial X.Org developer (for his radical ambitions) and former SuSE developer. Verhaegen is the one responsible for the VIA "Unichrome" X.Org driver stack, was one of the SUSE developers responsible for much of the efforts on the RadeonHD driver, a Flashrom contributor, then a Nokia contractor, and for the past few months has been doing Mali reverse-engineering as his latest project at Codethink.


Luc Verhaegen, the developer behind this work, at XDC2011 Chicago pouring Phoronix beer for Egbert Eich, his former SUSE/RadeonHD colleague...When not busy sampling American beers, Luc's been secretly working away at reverse-engineering the Mali Linux driver.

With the FOSDEM speaker schedule being due today, his talk abstract is becoming public, and thus I am now permitted to share what the "open-source announcement at FOSDEM" is that I've been hinting at for weeks on Twitter. The goal of this work is "a free software project aimed at providing an open source graphics driver for ARM's excellent and increasingly popular Mali GPUs."

However, if you are hoping the code-drop, which will immediately follow FOSDEM, is going to contain a full open-source DRM and Gallium3D driver, that is sadly not the case. The code is not up to the point of a full driver stack ready for mainline integration.

<< Previous Page
1
Latest Hardware Reviews
  1. Intel Haswell HD Graphics 4600 vs. AMD Radeon Graphics On Linux
  2. Intel Haswell HD Graphics 4600 Performance On Ubuntu Linux
  3. Intel Core i7 4770K "Haswell" Benchmarks On Ubuntu Linux
  4. The First Experience Of Intel Haswell On Linux
Latest Software Articles
  1. Optimized Binaries Provide Great Benefits For Intel Haswell
  2. 11-Way Linux, BSD Platform Comparison
  3. SNA Acceleration Works Great For Intel Core i7 Haswell
  4. The Linux Evolution For Intel Haswell's Performance
Latest Linux News
  1. Mir's GPLv3 License Is Now Raising Concerns
  2. NVIDIA Driver Soon Likely To Support EGL, Mir
  3. OpenMandriva Goes Into Alpha Form, Russian-Based
  4. NVIDIA Brings Their Linux Driver To ARM
  5. D Language Still Showing Promise, Advancements
  6. Planetary Annihilation Released For Linux Gamers
  7. Gentoo Starts Work On KDE-Wayland Support
  8. NVIDIA To License Its Kepler GPU Technology
  9. KDE's KWin Made Lots Of Progress In 4.11
  10. Ubuntu Announces Carrier Advisory Group
  11. Qt 5.1 Release Candidate 1 Has Arrived
Latest Forum Talk
  1. Mir's GPLv3 License Is Now Raising Concerns
  2. D Language Still Showing Promise, Advancements
  3. Radeon UVD Support Merged Into Mesa
  4. Ubuntu Touch/Tablet Is Using SurfaceFlinger
  5. VP9 Codec Now Enabled By Default In Chrome
  6. NVIDIA Driver Soon Likely To Support EGL, Mir
  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