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

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!

Share this:

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK 5 ITX Rockchip RK3588 mini-ITX motherboard
Subscribe
Notify of
guest
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
7 Comments
oldest
newest
onebir
onebir
11 years ago

‘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
11 years ago

@onebir –

A31 is a powervr, so unlikely for now.

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

sky770
sky770
11 years ago

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

PV
PV
11 years ago

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 ?

Boardcon Rockchip RK3588S SBC with 8K, WiFI 6, 4G LTE, NVME SSD, HDMI 2.1...