1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking Benchmarking Platform
Phoromatic Test Orchestration

An Open-Source, Reverse-Engineered Mali GPU Driver

Michael Larabel

Published on 21 January 2012
Written by Michael Larabel
Page 1 of 3 - 5 Comments

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.

Latest Articles & Reviews
  1. GLAMOR + RadeonSI 2D Acceleration Is Quite Good For Open-Source AMD 2D Performance
  2. AMD Radeon R9 290 OpenGL On Ubuntu 15.04: Catalyst vs. RadeonSI Gallium3D
  3. Ubuntu 15.04 Offers Faster OpenGL For AMD Radeon GPUs On Open-Source
  4. Ubuntu 15.04 Brings Some Graphics Performance Improvements For Intel Haswell
  5. Sub-$20 802.11n USB WiFi Adapter That's Linux Friendly
  6. The Lenovo T450s Is Working Beautifully With Linux
Latest Linux News
  1. A Lot Of Improvements Are Coming For Mir 0.13, Including Work Towards Libinput
  2. Mobile Optimizations Coming For Phoronix
  3. Wayland 1.8 Alpha Release Delayed
  4. Godot Game Engine 1.1 Up To RC State
  5. ATI Rage128 Driver Now Has RandR Support
  6. Microsoft's Visual C++ Team Is Improving Clang For Windows
  7. Kodi 15.0 Beta 1 Released
  8. Lucid Sleep Support Is Being Worked On For The Upstream Linux Kernel
  9. Improvements On The Way For GNOME's Nautilus File Manager
  10. Wine 1.7.42 Implements More Of Direct2D
Most Viewed News This Week
  1. It Doesn't Look Like KDBUS Will Make It For Linux 4.1
  2. Trying Out Microsoft Visual Studio Code On Linux
  3. The Many Features Of The Linux 4.1 Kernel
  4. Microsoft Releases New Code IDE For Linux!
  5. Linux 4.1-rc1 Kernel Released, Packs In Several New Features
  6. GCC 4.9.2 vs. GCC 5 Benchmarks On An Intel Xeon Haswell
  7. QEMU 2.3 Officially Released
  8. Debian 9.0 Is Codenamed Stretch