The First Shots Of "Limare" Running On Linux
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.
Latest Linux News
Latest Articles & Reviews
Most Viewed News This Week