The First Shots Of "Limare" Running On Linux

Posted by Michael Larabel on February 03, 2012

For open-source fans, here's the first shots of Limare running, in advance of the official announcement this weekend.

Limare is the open-source program (the code will be dropped by early next week) that was designed to assist in reverse-engineering the ARM Mali 200/400 graphics processors. It's a simple program, similar to reNouveau or the r600demo back in the day, for drawing simple objects to the screen.

But first of all, if you didn't read the Phoronix exclusive by now, this weekend at FOSDEM in Brussels there will be the announcement of an open-source reverse-engineered ARM Mali graphics driver for Linux / Android. The work was originally started by Luc Verhaegen and sponsored by Codethink. This driver is going to be part of the Lima Project.

Here's how Luc described Limare to me in advance of the official announcement tomorrow from FOSDEM. "Limare is our driver precursor, where we slowly build up the knowledge on the mali gpu. First, a single frame EGL/openGLES2 application is written to target specific functionality. Then the command stream to render this single frame is captured and analyzed. Then, using the same input data (shader source, attributes and uniforms) as the EGL/openGLES application, the limare infrastructure is expanded or improved until it shows the same render."

Here's some screenshots of Limare from an ARM Mali 400 graphics processor. The support for the ARM Mali 200 is the same. MSAA 4x is already being used for anti-aliasing as the bits have already been discovered. Additionally, "They are upside down, as that is the way that the panels are laid out on my mali devices, which is also why they are 800x480. The backgrounds are grey as that is the easiest way to tell whether we still have a cleared FB, or whether something went catastrophically wrong and we only rendered black."


Luc started off with a smoothed triangle...


And then a smoothed strip...


He then showed off a smoothed fan.


Limare then rendered a flat quad.


Limare was also then able to render a triangle and flat quad.


Ending out Limare, then rendered a cube on the ARM Mali 400 with this open-source user-space. The Lima stack isn't yet up to handling glxgears, but it's getting closer.

More details on this Codethink-sponsored open-source Mali driver will be published following his Lima graphics talk on Saturday at FOSDEM. The LimaDriver.org web-site is also now up with additional details on the driver and information about its Git repository, IRC channel, mailing list, etc.

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. Raspberry Pi Gets New Wayland Weston Renderer
  2. Debian GNU/Hurd 2013 Release Brings New Packages
  3. Intel Ultrabook Performance Is Faster With Mesa 9.2
  4. Hot Relocation HDD To SSD Support For Btrfs
  5. Phoronix Test Suite 4.6.0 "Utsira" Released
  6. New Intel X.Org Driver Supports All Of Haswell
  7. SQLite Now Faster With Memory Mapped I/O
  8. Microsoft Releases Skype For Linux 4.2, Has Bug-Fixes
  9. Qt For Tizen Launches, Based On Qt 5.1
  10. KTAP Released For Linux Kernel Dynamic Tracing
  11. Linux 3.10-rc2 Kernel Takes In A Few Extra Pulls
Latest Forum Talk
  1. Hot Relocation HDD To SSD Support For Btrfs
  2. Kubuntu, KDE Has Little Hope For Ubuntu's Mir
  3. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  4. Debian GNU/Hurd 2013 Release Brings New Packages
  5. Intel Linux OpenGL Driver Leading Over Apple OS X
  6. Raspberry Pi Gets New Wayland Weston Renderer
  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