Quake 3 Arena Demo Using Lima Driver is (Slightly) Faster than Mali-400 Binary Driver

Orange Pi Development Boards

As mentioned previously, Luc Verhaegen was to give a talk about the status of Lima driver (reverse-engineered Mali-200/400 GPU driver), as well as other GPU open source implementation, at FOSDEM 2013. This is now done, and part of the talk included a demo of Quake 3 Arena (q3a timedemo) running on tablet featuring AllWinner A10 SoC (Cortex A8 @ 1Ghz, Mali-400MP1 GPU @ 320 Mhz, and DDR3 memory @ 360MHz), and a 1024×600 LCD. The fact it works is already a great achievement in itself, but this demo runs at 47.2fps with Lima driver (limare), whereas it can be rendered at 46.2fps using the binary driver. In his blog, Luc also explains that apart from being 2% faster, it also uses 3% less cpu than the binary driver! Take that binary blobs!

There’s still more work to do however, as this Quake 3 Arena port is not playable yet for 2 reasons:

  1. There’s no input support via the touchscreen driver yet.
  2. Luc only included the shaders needed to run the timedemo, but the full game requires more shaders.

He goes on to explain that Lima is not fully open source just yet, as they are still using the binary shader compiler, but he will push Q3A demo source code soon. If you want to learn more of the steps he and others went through to reverse-engineer Mali-400 driver, and optimize it for Q3A timedemo, read “Quake 3 Arena timedemo on top of the lima driver!

Support CNX Software - Donate via PayPal or become a Patron on Patreon

7
Leave a Reply

avatar
7 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
5 Comment authors
PVOpen ARM GPU Drivers FOSDEM 2013 Video and Call to ARM Managementsky770Lawrence Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
onebir
Guest
onebir

‘Take that binary blobs!” – LOL
So there should be proper GPU support for the RK3066/3188 soon? But not for the A31 (& likely A31-bearing cubieboard)? :(:(:(

BTW – given the partial implementation of the benchmarked driver, can we be sure the comparisons are completely valid?

Lawrence
Guest

@onebir –

A31 is a powervr, so unlikely for now.

Although, they do have that planned (far far in the future i think!)

sky770
Guest
sky770

Awesome news!
Time to hop onto #arm-netbook… 😀

trackback

[…] I just mentioned, part of the session was a demo of Quake 3 Arena running on top of Lima drivers in Mele A1000 set-top box running Linux. Luc has now made the source code available on github, and […]

PV
Guest

That is really great news.

I have some question regarding that.

Before few days I also make some testing for lima and the conclusion was.

it works batter where lima render directly on FB and mali render on buffered mode.
if lima also render on buffered mode the it’s too slow.
we all know disadvantage of rendering directly on fb it may ok for some application but not for all.

what is everybody feedback on above points ?