Qualcomm Makes Open-Source 3D Snapdragon Driver
An anonymous reader writes "Qualcomm today posted the source code to a Linux kernel driver for 2D/3D support on its OpenGL ES Core found on Snapdragon-based phones like the Nexus One. The company is trying to get this driver into the mainline Linux kernel, but it turns out that the user-space driver is still not open source, which has resulted in some problems already. The ongoing discussion can be found on FreeDesktop.org."
It's not only a great system, and it's FS, it's also going to drive other companies to do the same, and open their code.
WTF am I doing replying to an AC at 5 A.M on a Friday night?
Where they stand, and the power they have right now.
FTFA:
We are going to start to see a number of companies in the embedded
space submitting 3D drivers for mobile devices to the kernel. I'd like
to clarify my position once so they don't all come asking the same
questions.
I hope they use this new found power wisely.
WTF am I doing replying to an AC at 5 A.M on a Friday night?
If I can't use it with compiz it's not really worth much to me. I've been waiting years for DRI2 on ATI. I'll never buy ATI again. Snapdragon processors could be used for netbooks. I don't think it will make it until they learn the open source community will probably help to get compiz running on it if they make it available.
What is it with these ME-TOO asswipe corporations that show the tits but keep the pussy behind a chastity belt?
The foul-mouthed AC seems to have hit the nail on the head. Mod the bugger up, interesting, troll, or whatever.
Fuck systemd. Fuck Redhat. Fuck Soylent, too. Wait, scratch the last one.
Companies including RIM, Nokia, Microsoft and Apple should watch out for Android with its Linux roots. Development appears to be fast. At this speed their lunch is at risk.
What appears to be holding Adroid is "bad" publicity on battery life, the poor organization of the Android Market including poor quality apps and the [subjective] poor user experience on high end phones.
As a matter of fact, the state of the Android Market is severely anaemic because whereas apps in this market are said to number about 75,000 now, having a look over here does not show any figure near that!
To make matters worse, there is no provision for searching for an app whose name you might not remember well. What surprises me is that the market is owned by a company (Google) which boasts of the greatest and best search engine in planet earth! Think about that for a moment.
Now before I get flamed, I know there is AndroLib. What I am talking about are efforts by the search giant Google.
+5 troll?
Compiz does not use EGL (it uses GLX) nor is it written to work with GLES. It could be ported but they haven't done the legwork for it yet.
There are some simple X11 compositors for EGL+GLES. usually just alpha, window shadows and a couple hard-coded special effects. I've worked on one for the Tegra2 and it wasn't all that hard to write. EGL is superior to GLX as an API (but there are a couple annoying quirks) although the official docs for EGL suck when it comes to X11 specific extensions (EGL is part of OpenKODE and works on things other than X11, so doing things like rendering to a server pixmap is not well documented, but it does work).
+i: Insightful troll
Well, halfway anyways. Release the other half (the user space) part as FOSS and you'll be golden.
The biggest problem I've seen in embedded Linux is poor graphics performance. You have all this video acceleration that CE/XPe can take advantage of, and Linux doesn't get but a mere teaspoon of the graphics speed the hardware is capable of.
You really want to see your platform take off? Want your CPU sales to go through the roof? Give us something that is as accelerated as the Microsoft side of the equation. Give us the source. It won't hurt your sales. It won't help your competitors. Reverse engineering would take more time than actual R&D. Who wants to copy a video device that's already on the market when you can make better and faster by the next quarter anyways?
Seriously - this is the way to go. Release your driver source. All it can do is help move your product into more market spaces.
Weaselmancer
rediculous.
So nosing through the posted code, it seems like it deals with shuffling commands through to the chip, but I don't see any header files helping to define what data gets sent through the actual "issueibcmds" call. There's some gfx-level stuff in yamato_reg.h so I could be wrong.
I guess companies like this want to keep their trade secret optimization techniques in how they convert OpenGL state to chip buffer commands, but if they would open up the actual chip-level communications then the community could create their own open source OpenGL layers. I suspect there's a lot of command styles and user-space optimization techniques that could be reused across multiple chipsets, yielding a lot of benefit to true open source 3d hardware acceleration drivers. I just really don't understand their business case for not letting people develop new software to their chip, even if their proprietary driver stays proprietary.
Plus, WHERE ARE THE COMMENTS? Does nobody actually document their code anymore? This is your companies' public relation and an olive leaf to the Linux community for crying out loud! Show at least some semblance of competence in writing maintainable software!
In the case of the Snapdragon-powered Sprint Evo, HTC still hasn't released kernel source after a month of distributing the binary kernel. Despite the fact that GPLv2 requires them to release the source along with the binary...
For the Nexus One, HTC waited around 6 months after releasing the phone to release the kernel source. The HTC Hero still doesn't have the most current source released.
It's sad to see that the manufacturer of flagship phones for every major US mobile phone carrier (other than AT&T) has no respect for the GPL and has reduced developers to reverse engineering Linux kernel sources, asking clueless customer service reps for a source release, and generally trying everything they can think of without getting any positive results at all.
It's been known to happen, e.g.
http://interviews.slashdot.org/comments.pl?sid=63874&cid=5938340
MOD PARENT UP!!
Qualcom have released "some" open source 3D driver code, yes folks there is a lot of code missing or obfuscated by proprietary libs . The qualcom snapdragon cpu isnt much better either. After the FOSS community having to deal with Qualcoms shenanigans I can understand why Apple bought it's own arm design house and is now getting samsung to fab a CPU for the iPhone and iPAD called the A4. Why put up with all the qualcom crap that android devs/device makers are putting up with when you can stick your middle finger up and make your own CPU. There is an upside though, Intel is porting Android to X86 so we may get some nice Atom cpu tablets on the market soon without all the stupidity that qualcom and its lawyers are introducing.
The nexus one kernel source was available from android.git.kernel.org the day the phone became available for sale.
Dave Airlie denies being under Red Hat mind-control in http://lists.freedesktop.org/archives/dri-devel/2010-July/001855.html It's good to see that the Red Hat drones working on the kernel are allowed (or atleast claim) to be kernel developers first and corporate slaves second.
9/11: Never forget it was a false-flag operation