yashsingh1/xdaforums huggingface dataset:
[Droid Incredible Android Development] linuxmotion:
I think we will need updated adreno200 libs for full hw ecceleration. I started a post at RootzWiki trying to get qualcom to release the adreno200 source or just update the drivers. http://rootzwiki.com/index.php?/topic/10447-Adreno200-Source-Code-Userspace-Driver
[Droid Incredible Android Development] Futur Innovations:
Mine was alpha 1, so sound must have gotten fixed after that.

~=[,,_,,]:3 <----nyancat :D
[Droid Incredible Android Development] equilni:
I haven't been following this thread or any ICS development, nor am I an Android dev by any means so please don't be quick to write off my question if it was already asked (I searched this thread only).

Wouldn't you already have access to hardware acceleration? Don't games use it?

I believe HTC may use it too: I found HTC ROMs use this in their build.prop (Stock+ GB, Liberation 1.1 - Froyo, Liberation 2 - GB:

#0 - mdp composition, 1 - gpu composition
ro.sf.hw=1

Another build.prop setting I found is:

debug.sf.hw=1

and

debug.composition.type=hw

I did not see this discussed so I didn't know if this was already brought up
[Droid Incredible Android Development] r2DoesInc:
hw accel is brand new to ics. we dont have egl libs that support it, so no, theres no way to get it atm. the sgs devices have it working because they run the same gpu as the gnex which has its egl drivers posted in AOSP.

What we need is either some insane lib hacking or (whats more likely to happen) we will just have to wait till a compatible device gets ICS.

Oh i wish i wish google had updated the N1. We coulda had this **** going a while ago :'(
[Droid Incredible Android Development] renzo.olivares:
Kmobs posted this on his google+

"All graphics bugs are basically gone (just need to recompile kernel) so I can start getting everything else going.

Touchscreen is working too. Ics is pretty... full hardware acceleration and no more systemUI crashes. "
[Droid Incredible Android Development] evilstewie23:
does he dev for our phone or no.
[Droid Incredible Android Development] tiny4579:
I think it was the Sensation which uses a newer Adreno chip.
[Droid Incredible Android Development] renzo.olivares:
yea cyanogenmod sensation dev but still if its possible for adreno 220 it should be able to be backported to 200
[Droid Incredible Android Development] tiny4579:
Most likely, I think the architecture is the same, just the 220 is way faster. Can you link his post? I could not find it on his google plus page.
[Droid Incredible Android Development] renzo.olivares:
https://plus.google.com/113702637309752822154/posts/6hu3Sd7Cfp7

its somewere in this posts comments he commented
[Droid Incredible Android Development] linuxmotion:
He talks about a kernel side fix i believe. Yes it should work if the adreno220 was ported. But for best performance we will need updated libs. What i really want is some open source libs ;-) lol.
[Droid Incredible Android Development] renzo.olivares:
i really want hw acceleration hopefully he release his fix before cm9 comes out cause i cant wait that long for ics lol
[Droid Incredible Android Development] el6006:
http://twitter.com/#!/preludedrew

Says build4 is almost ready!! Nice.
[Droid Incredible Android Development] tiny4579:
If you look closely that's actually for evo3d.
[Droid Incredible Android Development] el6006:
:( aw man, I was getting ready to dload it :)
[Droid Incredible Android Development] linuxmotion:
If we had source we could add ecceleration really quickly. He may even submit his fix to cm.(i really don't know if he would do it himslef as i don't really follow his work closely) just started fallowing his twitter.

Well me and r2 also have the Inc working. Bluetooth pairing seems to work. Audio works. Mounting sdcard is starting to work. Audio over bt is unknown. Touchscreen works. Hard buttons i believe all work. I know back, menu and search work. Screen on/off. NO full hw acceleration yet.

So it seems we are making good headway on gettting a full table of some ics's.
[Droid Incredible Android Development] renzo.olivares:
im going to actually ask kmobs how he fixed and it hope he will share cause i have an evo 3d and we have adreno 220 :)
[Droid Incredible Android Development] kioshi:
Sorry for the break in the DEV discussion. I will make a new thread for members to discuss each alpha version..what works and what doesn't. It would keep this thread clean and uncluttered.

If its a bad suggestion, the mods can delete it~

All users, please start posting here in regards to alpha versions of ICS....

http://xdaforums.com/showthread.php?p=19739636#post19739636
[Droid Incredible Android Development] r2DoesInc:
or you know...in the thread we have for it.....

http://rootzwiki.com/topic/10439-rompure-ice-cream-sandwichomx11-27/
[Droid Incredible Android Development] Fuzzyslippers42:
Homepage says evo 4g got an ICS port... Don't know if that means it has HW Acceleration, but it may be a good post to check out.

EDIT: Nope, did some snooping and from what I can see, it doesn't have HW Acceleration. But it might be good to keep an eye on it.
[Droid Incredible Android Development] twistedumbrella:
I got hw acceleration on the mecha, it just gets fuzzy when it boots up but seems to kick over once the system actually starts. Seems the only problem is a slight edit that needs to be made so ICS can "de-however-you-spell-it the buffers" which I have seen a fix for. I am trying to find it again but it was something in the way the surface wasn't being recycled in the applications.
[Droid Incredible Android Development] r2DoesInc:
not to be a skeptic, but hw accel isnt going to be something that you fix by pushing a few libs. what makes you think its working now?
[Droid Incredible Android Development] tiny4579:
So my Linux HDD just died and I don't feel like repo syncing again. I still have kernel sources from git for my VM. You think porting the 3.0 kernel would help with HW accel? As far as I know it won't but it may make it more ICS compatible.

I started trying to port it but it looked time consuming.

Edit: Nevermind, I'm syncing again in my VM. It'll just take longer to build. In other news I built my first successful build of ICS using your repo r2.
[Droid Incredible Android Development] blastthenoise:
I'll preface this with saying I'm in no way a coder/dev, but I have an idea/question.

A lot of my research and work requires me to do extensive coding with MatLab. I often have to create functions to pull in data in various arrangements, and then reshape things because often, there is another function that some one else has written. For example, taking raw data from motion capture/ekg, creating the necessary matrices, running them through another person's function, then using the output within the rest of my code.

Now I havent seen exactly how ICS or android handle HW Accel, but if it operates as a standalone function that other files call, wouldn't it be possible to subvert some of this now by redirecting it to use the GB HW Accelerationfrom CM, then pushing that back to the file/function that called for the HW Acceleration? I know even if this did work we wouldn't get everything we want, but it's a start.

Feel free to correct me on how Android handles HW Accel, I am curious to start digging through the source after reviewing all the TouchScreen edits. I'd be happy to throw some of my brainpower and computing power to help (if someone explains where some of these variables are coming from)
[Droid Incredible Android Development] Smokeey:
Yes but ICS also using Open GL ES too..we don't have those drivers just yet that's why we need an updated driver.
[Droid Incredible Android Development] blastthenoise:
So the stuff hosted over at code aurora for the adreno is just lacking the ES stuff? Interesting.
[Droid Incredible Android Development] tiny4579:
Trying to sync again. Been having issues with the servers timing out :mad:

Anyone else having these issues? Still have yet to be able to get the source.

Update: issue was resolved. It was a setup issue on my vm.
[Droid Incredible Android Development] Smokeey:
Thanks for all the research!

We know already that our 200 supports OpenGL ES we just dont have the necessary drivers for ICS, thus far at least. Thats why we another device (HTC) to get HW Acceleration so we can backport the Adreno drivers, this wouldn't be a problem if the Nexus One would have gotten ICS. So we're basically stuck here until a dev creates/rigs a driver together or until HTC releases ICS for the Rezound or Sensations, or just releases a new phone....then we'd (in theory) have to wait for them to release the source for said releases.
[Droid Incredible Android Development] blastthenoise:
Edit: Didn't see your post before I finished my reply. Thanks smokeey.

Others, feel free to disregard below.

I'm glad I'm not the only one who found it. I found it while searching only in regards to the adreno 200, the one present in our devices. Akin to you, I also have no clue regarding what files are present with the incredible kernel already, but perhaps there are indeed some snippets within this tree that can be helpful to those who know more such as R2, PreludeDrew, tiny, joelz etc.

Thanks again to all of these devs
[Droid Incredible Android Development] tiny4579:
To avoid a long quote I will just say that I can take a look at the kernel stuff mentioned above. Can't promise anything.

cayniarb is a good kernel dev. maybe he's willing to help too.

I didn't forget Chad but I know he's crazy busy.
[Droid Incredible Android Development] twistedumbrella:
I am checking it out as well. It looks like it is just support for a different "mode" of hardware acceleration, though, not a fix for the lack of existing driver support.
[Droid Incredible Android Development] Smokeey:
Ya, HW Acceleration isn't 100% new in ICS, the OpenGL ES being implemented into UI elements and such is however, thats what we need, OpenGL ES drivers are our key to sucess!!!

Reading around that some devs have tryed to port Samsung libs but have failed miserably....
[Droid Incredible Android Development] Div033:
So basically, we're most likely stuck waiting for a HTC device utilizing Adreno 220 GPU to get ICS so that HTC (or whoever) will write the necessary drivers. Then, one of our devs can Frankenstein it to work on the older Adreno 200? Kinda like how we did for the Sense 3.0/3.5 EGLs?

I guess that's not too bad. At least it ensures we'll be getting ICS at some point. I'm just concerned that the back port will introduce unfixable issues or a not-so-smooth experience.

Sent from my Droid Incredible using the XDA app.
[Droid Incredible Android Development] r2DoesInc:
that is exactly the conclusion we have come up with as well, though things may change as time goes on.
[Droid Incredible Android Development] tiny4579:
kmobs did something to get it working on the sensation. I think that is our key. That phone is an adreno 220. I see they're not posting their progress publicity like they were before. I only came along when Cm7 nightlies were just starting do I don't know how it was then.
[Droid Incredible Android Development] linuxmotion:
Here is a link that explains the driver problem. http://rootzwiki.com/index.php?/topic/10447-Adreno200-Source-Code-Userspace-Driver#entry54129

We need usepace drivers for the gpu. Those in the kernel are not the drivers we need. The gpu supports full opengl ES 1.x and 2.0 according to qualcom, the manufacturer of the gpu.

What most likely happened is that certain new functions are not available in the old libs . I have a goal for ics on the Droid incredible. As complete from source as possible. That means reverse engineering the drivers or getting qualcom to release a usespace driver.

To reverse engineer the driver we need to implement gles 1.x, 2.x, and gl else 1.x and use existing libs to do that for the hardware programming.

This new driver would interact with the kernel source. Providing a complete driver for ics. Both userspace and kernel.

If any wanna help reverse engineer the driver hit up the RootzWiki thread at the top of the post. Any help would be great for future upgrades.

And yes reverse engineering is possible it happens all the time with desktop graphics cards. No i do not know how to do this, i have to learn as i go.
[Droid Incredible Android Development] Pons:
Yep, they tend to keep it quiet till nightlies are much more stable and functional. That way they don't get distracted, I'm assuming.
[Droid Incredible Android Development] Smokeey:
Just was looking at that thread, he seems to have problems with the touchscreen, but hw acceleration is working on their end. Is he committing to the cm9 source?
[Droid Incredible Android Development] tiny4579:
He is but I think is private for now. I funk is to prevent kangs and to avoid bug reports from build that aren't ready. Just my speculations.
[Droid Incredible Android Development] equilni:
Just did a quick search and it looks like incredikernel has these files/changes esp. The hw3d.c file and the deconfig w/ hw3d enabled. Hw3d.c looks bigger than the linked commit, but that is a very quick observation.
[Droid Incredible Android Development] tiny4579:
Good thought but I think it was removed in gingerbread as it was never used. Whether or not it is useful to us remains to be seen. However, it's not going to be the whole picture if it is used.
[Droid Incredible Android Development] equilni:
Right. I just found a commit stating it was for the userspace Open GL ES and incredikernel had more code than the noted commit. Again i dont know if any of it helps with hw acceleration or not.
[Droid Incredible Android Development] x2kjosh:
Anyone see this, don't know if it helps tho...

preludedrew Andrew Boren

@Hashcode0f Read the article on the Droid 3, awesome work. Was wondering if you'd share the hw accel workaround HTCLinux showed you.

Hashcode0f Hashcode

@

@preludedrew You can check github/Hashcode android_frameworks_base under the ics branch in "commits". OES_IMG_EXTERNAL_HACK
[Droid Incredible Android Development] marsgrafx09:
working-ice-cream-sandwich-ports-making-their-way-to-many-devices

has anyone seen this.. ? or used it yet?

http://www.droid-life.com/2011/11/2...dwich-ports-making-their-way-to-many-devices/
[Droid Incredible Android Development] GRZLA:
Yes, the thread has links to all the alpha's that preludedrew has been posting. It works, but like most ICS builds it doesn't have HW accel, which is pretty key to having a decent user experience on ICS. The dev's would like to keep this thread clear of non-dev talk, and I think we should respect that.
[Droid Incredible Android Development] ithrewitontheground:
I've updated the OP with links to r2doesincs newest thread, gapps, the touchscreen issue thread on rootzwiki and the petition for qualcomm to open source the libs. If you'd like anything else added, message me.
[Droid Incredible Android Development] swm5126:
Anyone else see that the HD2 and the Desire HD have HW acceleration working? Any chances these patches will work for our older favorite Adreno 200?

I also see that someone in the N1 ICS thread mentioned something about Code Aurora has HW acceleration working as well for the N1...

Edit: looks like the INC2 has EGL working as well
[Droid Incredible Android Development] Smokeey:
Saw it, going to see what I can do.
[Droid Incredible Android Development] tiny4579:
We would want to pull from the N1 due to the closest hardware. I didn't see them link Code Aurora, just that Code Aurora got it supposedly working. Did anyone find the change needed on codaurora? The site was too confusing as I was stabbing in the dark looking for it.
[Droid Incredible Android Development] swm5126:
Yeah I didn't see anything either. Just the mention.

But however they got the HD2 working should work for us as well. I know the HD2 is usually listed as having an AMD Z430 GPU, but the Z430 is actually the Adreno 200 just before the name change.
[Droid Incredible Android Development] renzo.olivares:
egl fix

https://github.com/TwistedUmbrella/...mmit/4c24b88a932a2c41178b9a5f84c8eff631abbd2e

https://github.com/TwistedUmbrella/...mmit/0ff021ed0d258074ef6d87597e9e74591458bfc3

Thanksd twistedumbrella
[Droid Incredible Android Development] swm5126:
Thanks, I wanted to post those but I'm on my phone.
[Droid Incredible Android Development] renzo.olivares:
I would build it but my building time is like 3+ hours
[Droid Incredible Android Development] JetBomber117:
About how much internet bandwidth does syncing take up? I'm on campus internet, so I am capped at 6.5 GB every 24 hours. I totally have the computer to compile quickly, but I am weary about using up all of my bandwidth on syncs.
[Droid Incredible Android Development] swm5126:
You don't have to build the whole thing, for example you can just do make framework to build framework.jar.

I'd be trying it out but I don't have any ICS repos synced and my internet is butt slow
[Droid Incredible Android Development] renzo.olivares:
so with that knowledge ill just try their framework.jar :) to lazy to boot into linux
[Droid Incredible Android Development] swm5126:
Perfect! Syncing will take up about that size hahaha
[Droid Incredible Android Development] swm5126:
Wow lol I don't know why I didn't think of that

I think SystemUI has to be built with HW accel enabled as well, idk if any of our builds have it turned off, I know from reading some other threads it seems like a lot of them were built with it off since it seemed to speed things up if HW accel wasn't working yet.
[Droid Incredible Android Development] JetBomber117:
Dang it hahah. I knew it. Is that a one time deal? or is that pretty much every time?
[Droid Incredible Android Development] renzo.olivares:
yea the framework.jar refers to the build.prop to see if its on or off just change true to false and use the systemui.apk from desire hd build and it should work just realized their build is odexed..
[Droid Incredible Android Development] swm5126:
Only once, after that syncs only bring your local report up to date with any changes.
[Droid Incredible Android Development] frostincredible:
One time for the AOSP repo, until a new version of Android is dropped, but then it only updates the files that need updated, so not as big.
[Droid Incredible Android Development] Smokeey:
CM9 Alphas were just released for the Nexus S and i9000 (og galaxy s).

They are luckkkkyyy!!

I was looking around on the git and couldnt even find a branch for most HTC phones, I found the HD2 and evo though...
[Droid Incredible Android Development] swm5126:
There were a lot of merges in the CM ICS branch the other day relating to gralloc-qsd8k and msm7x30 I think. Something related to HAL and HW acceleration I'm pretty sure.
[Droid Incredible Android Development] JetBomber117:
Maybe I'll find a way to trickle the sync then. Since I feel like all of this is going to waste. I have a quad core overclocked to 3.7 GHz, with 4Gigs of 1850 MHz Ram, and internet speeds like this:
[Droid Incredible Android Development] swm5126:
Yeah that is awesome and it blows at the same time. I remember being capped in my dorm too. We could use the wifi in the dorm lobby though unlimited which was nice
[Droid Incredible Android Development] donnyp1:
Not bad dude, not bad!
[Droid Incredible Android Development] r2DoesInc:
ive already tried building with hashcodes egl hacks and with the new modifications to gralloc and copybit from cm. no change.
[Droid Incredible Android Development] swm5126:
What about what the HD2 guys have going on? It wasn't clear what they did on the thread itself, but it appears to work fine and its the same GPU we have. The build that had it working first was under HD2->SD development. I think the one in the NAND section works now too though.
[Droid Incredible Android Development] swm5126:
This thread:

http://xdaforums.com/showthread.php?t=1361940
[Droid Incredible Android Development] r2DoesInc:
i pmed him and asked if he could share. he said he doesnt have a github, so i asked if he could post a patch or soemthing. we will see.
[Droid Incredible Android Development] Smokeey:
hows the cm9 build coming along?
[Droid Incredible Android Development] r2DoesInc:
its getting there. it wasnt setup to support the inc so ive gotta work out all the issues.

honestly though, i dont think that hw accel is going to be working, but we will see.
[Droid Incredible Android Development] Smokeey:
fingers crossed.

Did you merger the CM9 changes with OMX or evervolv's build???
[Droid Incredible Android Development] r2DoesInc:
omx of course
[Droid Incredible Android Development] Smokeey:
im reading your twitter, POST IT I WANNA SEE IT!!!
[Droid Incredible Android Development] r2DoesInc:
I will eat my words. CM9 has hw accel working. this is fast as ****.
[Droid Incredible Android Development] Smokeey:
gogogogogogogogogogogogogogogogogo!!!

hahaha nice!
[Droid Incredible Android Development] Div033:
And just like that, all my fears of us not seeing a usable version of ICS on the Inc have washed away.

Can't wait...!
[Droid Incredible Android Development] r2DoesInc:
http://r2doesinc.bitsurge.net/test/cyanogen_inc-ota-eng.root.zip
[Droid Incredible Android Development] Smokeey:
downloaded, putting on phone now. Will update on performance!
[Droid Incredible Android Development] DoctorSasquatch:
Welp, I was about to sleep, but now this.

Downloading, flashing, all that fun stuff
[Droid Incredible Android Development] Smokeey:
Booting now!!! IM GIDDY WITH JOY R2 GIDDY WITH JOY

Black screen, had some yellow arrows flash, thats pretty much it.
[Droid Incredible Android Development] r2DoesInc:
honestly, i dont really want cm9 though. im tearing this **** apart to see how they did it. imma get it working on omx tonight, i promise that.
[Droid Incredible Android Development] Smokeey:
Ok, i think it booted cause when I hit the power button the capacitive buttons light up but no image on the screen :(

rebooted still getting blackness

gonna re-wipe and re-flash!
[Droid Incredible Android Development] haseeb1029:
Got the same exact thing too, to reflash it right now.
[Droid Incredible Android Development] r2DoesInc:
oopsie. run this

adb shell rm /system/lib/libgsl.so ; adb reboot

forgot to remove that.
[Droid Incredible Android Development] DiGi91:
Same here.. then some weird **** showed up on screen like some arrows.. wtf lol

:eek:
[Droid Incredible Android Development] haseeb1029:
Do that after its booted to blank screen with just capacities or with the yellow arrows?
[Droid Incredible Android Development] r2DoesInc:
doesnt matter when you do it. justget rid of that lib.
[Droid Incredible Android Development] blastthenoise:
does this not have the messaging app as mentioned in your thread on rootz?

will messaging work if we install an alternative like Go or are the necessary files missing for SMS/MMS
[Droid Incredible Android Development] Div033:
Couldn't do it from within the "black screen", but did manage to get it gone by booting into recovery and mounting system from the mounts and storage menu, then running the ADB command.
[Droid Incredible Android Development] Smokeey:
my dinc isnt showing up in adb :/
[Droid Incredible Android Development] DiGi91:
got it to work and looks like they just "disabled" hw accel? seems similar to how it is on the inc2 it's a lot better no doubt though.
[Droid Incredible Android Development] Div033:
This is what I'm experiencing. Still pretty darn laggy.
[Droid Incredible Android Development] Smokeey:
deleted it on meh pc XD
[Droid Incredible Android Development] haseeb1029:
This worked perfectly!
[Droid Incredible Android Development] DiGi91:
Don't try Live Wallpapers unless you wanna make it freak out lmfao.
[Droid Incredible Android Development] Smokeey:
Got it to boot! thank god, lol at the cm7 boot though lol

sms works via go sms!

random reboot, gonna go back to cm7 now!! awesome stuff, needs some work to be daily but friggin awesome none the less!
[Droid Incredible Android Development] HyBReDM:
Are you reuploading with the lib fix? Just wondering if I should bother getting the SDK tools all setup for adp.
[Droid Incredible Android Development] blastthenoise:
Download it, open with 7zip, go to system\lib and delete libgsl.so and then just close 7zip and you're set.