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. AMD Radeon R9 290 OpenGL On Ubuntu 15.04: Catalyst vs. RadeonSI Gallium3D
  2. Ubuntu 15.04 Offers Faster OpenGL For AMD Radeon GPUs On Open-Source
  3. Ubuntu 15.04 Brings Some Graphics Performance Improvements For Intel Haswell
  4. Sub-$20 802.11n USB WiFi Adapter That's Linux Friendly
  5. The Lenovo T450s Is Working Beautifully With Linux
  6. Linux 4.0 SSD EXT4 / Btrfs / XFS / F2FS Benchmarks
Latest Linux News
  1. GTX 750 Maxwell Acceleration Starts Working On Nouveau With Linux 4.1
  2. Reasons To Make A PTS/OB Test Profile For Your Software
  3. Vivaldi TP3 Browser Adds Native Window Support On Linux
  4. A Brief Update On Fwupd For Linux Firmware Updating Of Devices
  5. Upgrading To KDE Plasma 5.3 On Kubuntu 15.04
  6. Ubuntu 15.10 Plans Being Discussed Next Week
  7. KDE Plasma 5.3 Released: Expands On Widgets, Bluetooth, PM
  8. Making It Easier To Deploy CUDA On Fedora
  9. GCC 4.9.2 vs. GCC 5 Benchmarks On An Intel Xeon Haswell
  10. Intel Haswell/Broadwell Power Use On Linux Still Moving Lower
Most Viewed News This Week
  1. Ubuntu's Desktop-Next Switching From .DEBs To Snappy
  2. Systemd Kills Off Shutdownd
  3. KDBUS Still Hasn't Been Pulled, Might Not Land For Linux 4.1
  4. My Favorite Computer Desk Of The Past Decade For Less Than $100
  5. The Many Features Of The Linux 4.1 Kernel
  6. AMD Open-Sources "Addrlib" From Catalyst
  7. Qt Creator 3.4 Brings C++ Programming Improvements & More
  8. Debian 8.0 Jessie Is Ready For Release This Weekend