Open Source ARM Mali Driver Runs Q3A Faster Than the Proprietary Driver
An anonymous reader writes "The lima driver project, the open source reverse engineered graphics driver for the ARM Mali, now has Quake 3 Arena timedemo running 2% faster than the ARM Binary driver."
There's a video showing it off. Naturally, a few caveats apply; the major one is that they don't have a Free shader compiler and are forced to rely on the proprietary one from ARM, for now.
Based on the article, it seems like they first ported Q3A from OpenGL ES1 to OpenGL ES2, and then they used the closed source shader compiler to do most of the work (OpenGL ES2 forces most of the code to be in the form of shaders). It seems like they really didn't make much of an actual driver and just off-loaded most of the work to the shaders (I could be wrong though).
AIUI the FOSS codebase is based on reverse-engineering the binary driver. So, there would be almost no reason to expect it to be faster. There may be some CPU time saved if they can create the command buffer quicker than the binary driver manages, but it's highly unlikely they can create a general solution that makes the GPU time reduce, since they're going to have to send the same commands to the hardware anyway. A better shader compiler might achieve something but ... they don't have that.
Ergo, 2% is a measurement error. The open source driver is not faster.
if (Quake3) show_fps += 30;
Either take the original code open source for the benefit of all or hire the open source team before someone else does cause they obviously rock.
A 'singular oddity' is an event that cannot be explained and only happens when you are alone.
Sure, I will have your answer ready next fucking century when that type of hardware is available.
While its quite nice to have a quake III bench, and be on a mobile platform that in fact means some great fun could be had amongst friends, its an old bench, and an old game.
It used to be something Amiga people benched against in later years to try to implicate an idea on relevance.
Having capable GPU's in mobile stuff (Hi Intel Atom based netbooks!) is a great idea. All for it, and you have to love the low cost of the platforms making it available to more people.
We`re all equal
So it's a value that's well within random fluctuation levels? Meanwhile, how's the reliability, memory usage, compatibility, performance outside of that single game?
Quake III Arena has a ton of it. Not even its models are well paged, like the rocket which uses around 4 different textures alone. The only things atlased are console text, menu text and lightmaps, so it's not a very efficient data set for OpenGL ES to begin with
Oh thanks for that insightful post, I had no idea that multicore CPUs existed and we can do GPGPU with CUDA and CL!
Attention dumbass: I was referring to the lack of CL drivers for mobile GPUs. The Mali T604 does not yet have a CL driver. There are no consumer available mobile GPUs that ship with CL drivers.
And then on top of that, the OP wanted a CL device based on the T604 to be driven over Thunderbolt. LOL! Like I said, I will get back to you in 10 years when that shit is actually available for purchase.
My 56k dialup keeps saying CONNECT 38400, and dropping off.. I have the serial port set to 9600 8N1 since I read somewhere that is standard... I don't know why it's so slow and unreliable.. I did by a US Robotics Windows Modem for my Windows 95 desktop... It's super awesome and place Duke Nukem 3D way better than plain old DOS...
Michael J. Ryan - tracker1.info
"I have the serial port set to 9600 8N1 since I read somewhere that is standard... I don't know why it's so slow and unreliable.."
Your ATH string is fucked. Perhaps you should look up some old BBS documentation to get up to speed.
"It's super awesome and plays Duke Nukem 3D way better than plain old DOS..."
FTFY.
Still waiting on Serviscope_minor to wake up to fucking reality and realize that Jessica Price isn't going to fuck him.
The frame rate dropped into the mid-40s during some parts of the Quake 3 timedemo. What you consider a relevant benchmark would be a useless slideshow. Old benchmarks are quite suitable for demonstrating what you can expect from low-powered hardware.
Your work is appreciated!
Ignore all the idiots who hate their lives that lurk around /. criticizing every accomplishment of others. /. is starting to suck. Your work though is great!
We are vastly overcommitted on the fragment shader, and we also have limited CPU cycles to spare on this hw. Bodyparts flying is dragging us down significantly :) Having said that, our average FPS is in the mid-40s, just that lima is 47.2 and the binary is 46.2 :)
--libv
That's wonderful that a driver exists in a lab somewhere, I'm very happy for you. But they've had that for years now. Those drivers are STILL not in the market. I would love to be wrong as I have the cash to make a purchase.
But no mobile device out there has a working CL driver that developers like myself can use. Not even the arndale board (which uses T604) has a working driver.
Getting Samsung or some other ARM licensee to then put the T604 (or any other mobile GPU for that matter) into a thunderbolt interface is a fool's errand. Its a nice idea, but it gives the impression of you not being down in the trenches doing mobile GPU work.
Go ahead and post some links of products that are available to purchase that have a ImgTech or Mali or Tegra or Adreno GPU that supports OpenCL and has drivers available. Android or vanilla linux, doesn't matter. I dare you to find one.
ARM having drivers doesn't do anything for me as a developer if I cannot use said drivers. If you actually read the link you posted you would learn that the CL driver you speak of is NOT AVAILABLE.
If you actually give a shit and aren't just trolling me, then the arndaleboard.org forums will demonstrate that the driver is not yet available.
and you've just degraded it to the second most useless.
Posted Today, 11:40 AM
Hi JimV
Currently the only developer board I am aware of with an OpenCL compatible Mali GPU is the Arndale board. Drivers for this board would have to come from Insignal, but I am not sure what the current status of this support is. The demos themselves will run on desktop however, if you modify the platform.mk in the root directory to use gcc rather than a cross compiler. Provided the necessary libraries are installed on the host machine, the demos will run. The Nexus 10 tablet also contains an OpenCL compatible Mali GPU, however the Android SDK does not currently expose this functionality.
Thanks,
Chris
http://forums.arm.com/index.php?/topic/16523-any-way-to-actually-use-the-mali-opencl-sdk-boards-with-drivers/
In other words, you're still not running CL on mobile devices yet. Have a nice day, and herp a fucking derp.
Been humpin' on your mom all day!
That is an android library that has no API exposed. I'm sure google is working hard on getting us there, but currently its not yet done. The arndale CL driver that will come first is the vanilla linux version.
To answer your question, I am not sure. I don't know if any mobile SoC has I/O fast enough to feed the 4 PCIe lanes needed for thunderbolt. It would be cool if there was, but honestly id rather use a desktop GPU over thunderbolt for CL work...
Sorry for being a jerk, was having a really bad day. Thanks for the mali CL sdk link, I am downloading it now.
hey, look, I get modded down for stating a fact.
http://tinypic.com/player.php?v=2il1ydc&s=7
Got a problem, people?
Still waiting on Serviscope_minor to wake up to fucking reality and realize that Jessica Price isn't going to fuck him.
Hey Luc, why not drop round the Raspberry Pi forum and tell them about this. As you know they are a friendly bunch of guys and will want to offer you their congratulations.
For the benefit of those who don't realize it, this is sarcasm. Read this and see both Eben and Liz Upton at their "charming" best and you'll understand: http://www.raspberrypi.org/archives/2221
It's a pity the mainstream media haven't mentioned these sorts of events which have occurred numerous times on their forums. The Raspberry Pi Foundation and the Raspberry Pi apologists ought to brace themselves though, the PR bubble and hype surrounding the Pi won't last forever. Eventually reality will prevail.
Yeah. I am bracing myself already for when the rpi trolls learn about the content of my talk. They seem worse than some /. users ;)
--libv