[Q] Hardware acceleration fix in ICS. - Android Software/Hacking General [Developers Only]

I'm having a lot of trouble getting hw acceleration for my u8120, the main problem is I don't know what to look for!
I've checked the opengl lib, checked the framework and about every single piece of the system to find the code that enables HW acceleration instead of Software acceleration but I can't find a thing.
I'm even "reading" sources now.
Now, the way I see thing, there are two methods to fix HW acceleration, either to look for the drivers needed (which is a real long shot) or find what piece of the system causing HW acceleration instead of SW like in GB (which is really stupid, nuts & possibly just a waste of time).
So, what I want is know how it was enabled on other devices like Leo & SII, and how to do that on my device.
Thanks in advance.
Sent from my Joy/U8120 using XDA App

C'mon guys! Somebody lend me a hand here!

Hey
Have you tried editing the "build.prop"
System/build.prop
Add this at the botton (make sure you have a blank line underneath)
debug.sf.hw=1
Hope this helps
Sent from my Nexus S using XDA App

Thanks. I'll give it a shot.
Sent from my u8120 using XDA App

qaz2453 said:
Hey
Have you tried editing the "build.prop"
System/build.prop
Add this at the botton (make sure you have a blank line underneath)
debug.sf.hw=1
Hope this helps
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
No luck.
You might not be aware that my device doesn't have a GPU.
There's a driver though, I don't remember who made it, but it emulates the existence of a GPU.
though I don't think that could help as it won't provide acceleration.
I've been doing a little digging on the HD2 fix & I think what the did was something within the opengl lib itself. Do you know anything about that?
Sent from my Joy/U8120 using XDA App

Jack Mayerz said:
No luck.
You might not be aware that my device doesn't have a GPU.
There's a driver though, I don't remember who made it, but it emulates the existence of a GPU.
though I don't think that could help as it won't provide acceleration.
I've been doing a little digging on the HD2 fix & I think what the did was something within the opengl lib itself. Do you know anything about that?
Sent from my Joy/U8120 using XDA App
Click to expand...
Click to collapse
No sorry... not really an expert on these kind of things lol
But from what I heard was the requirements for ics with full hw acceleration is 512mb ram and a gpu
Sent from my Nexus S using XDA App

qaz2453 said:
No sorry... not really an expert on these kind of things lol
But from what I heard was the requirements for ics with full hw acceleration is 512mb ram and a gpu
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
Ok. Thanks for the help.
Sent from my Joy/U8120 using XDA App

Jack Mayerz said:
Ok. Thanks for the help.
Sent from my Joy/U8120 using XDA App
Click to expand...
Click to collapse
Anytime
Sent from my Nexus S using XDA App

qaz2453 said:
Anytime
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
just one other question.
debug.sf.hw=1
these are libraries, right?
what do they do? and what's the sort of "API reference" for these libraries? not just these particular ones, but any other libraries like these.
Sent from my Joy/U8120 using XDA App

Related

Chainfire 3d and all the plugins for THD games

I know that there is already a chainfire thread but i find it better if i made a guide with all the plugins(instead of just nvidia)
What you will need:
a computer
Chainfire 3d, his xda page for the app (http://forum.xda-developers.com/showthread.php?t=1087427)
the plugins it supports
nvidia: http://www.mediafire.com/file/pme09ev45tvxuu6/libGLEMU_NVIDIA.zip
qualcomm: http://www.mediafire.com/file/yflfd6wwhule66x/libGLEMU_QUALCOMM.zip
powervr: http://www.mediafire.com/file/9jlvzcd2kaiw9ti/libGLEMU_POWERVR.zip
make sure that the plugins are on the ROOT of your sdcard
go into chainfire app you will have to install the initial chainfire driver and then your phone will reboot automatically
then go back into chainfire and press install plugin
it will search for the plugins, install all 3 of them
then whenever you want to change which plugin you are using go into the OPENGL settings and press use plugin
it will then allow you to choose one of the 3
thats it
remember if a game doesnt work on one of them doesnt mean it wont work on another one trust me
Games that for sure are not working:
backbreaker THD
i will update the list as you tell me your problems ^
enjoy
Cheers
I never could find the plug ins
Sent from my GT-I9000 using XDA App
droid_does said:
Cheers
I never could find the plug ins
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
^ the true reason why i made this thread nobody can find the plugins hahaha and look the first person to use this was a GT-I9000 model user!!
dsexton702 said:
^ the true reason why i made this thread nobody can find the plugins hahaha and look the first person to use this was a GT-I9000 model user!!
Click to expand...
Click to collapse
its actually a captivate
I'm just using a ROM that has a build prop of the i9K
droid_does said:
its actually a captivate
I'm just using a ROM that has a build prop of the i9K
Click to expand...
Click to collapse
ohh i see
was going off your tapatalk signature lol
dsexton702 said:
I know that there is already a chainfire thread but i find it better if i made a guide with all the plugins(instead of just nvidia)
What you will need:
a computer
Chainfire 3d, his xda page for the app (http://forum.xda-developers.com/showthread.php?t=1087427)
the plugins it supports
nvidia: http://www.mediafire.com/file/pme09ev45tvxuu6/libGLEMU_NVIDIA.zip
qualcomm: http://www.mediafire.com/file/yflfd6wwhule66x/libGLEMU_QUALCOMM.zip
powervr: http://www.mediafire.com/file/9jlvzcd2kaiw9ti/libGLEMU_POWERVR.zip
make sure that the plugins are on the ROOT of your sdcard
go into chainfire app you will have to install the initial chainfire driver and then your phone will reboot automatically
then go back into chainfire and press install plugin
it will search for the plugins, install all 3 of them
then whenever you want to change which plugin you are using go into the OPENGL settings and press use plugin
it will then allow you to choose one of the 3
thats it
remember if a game doesnt work on one of them doesnt mean it wont work on another one trust me
Games that for sure are not working:
backbreaker THD
i will update the list as you tell me your problems ^
enjoy
Click to expand...
Click to collapse
Brilliant. You never cease to amaze.
Sent from my SGH-T959V using XDA Premium App
Nicely done ... I use nvidia ... don't see much difference but time will show
Sent from my SGH-T959V using XDA App
Dungeon Defenders THD doesn't work either.
Eric-1987 said:
Dungeon Defenders THD doesn't work either.
Click to expand...
Click to collapse
I got dungeon defenders to work
Sent from my SGH-T959V using XDA Premium App
How so? I couldn't get it to load the complete thing it just pushes me right to my desktop.
Eric-1987 said:
How so? I couldn't get it to load the complete thing it just pushes me right to my desktop.
Click to expand...
Click to collapse
I'm just using nvidia plugin and it works fine not maybe try a different download or OC to 1.2
Sent from my SGH-T959V using XDA Premium App
Nothing works. My nvidia plugin just makes the game look like crap and messed up textures.
Eric-1987 said:
Nothing works. My nvidia plugin just makes the game look like crap and messed up textures.
Click to expand...
Click to collapse
Hmmm that is definitely not the case for me what's on your phone mod and specs
Sent from my SGH-T959V using XDA Premium App
Bionix and a bunch of tweaks.
Eric-1987 said:
Bionix and a bunch of tweaks.
Click to expand...
Click to collapse
To get it working use nvidia plugin and select the bottom 2 options in opengl settings and it will run spoon smooth with rich graphics this phone is awesome
Sent from my SGH-T959V using XDA Premium App
dsexton702 said:
To get it working use nvidia plugin and select the bottom 2 options in opengl settings and it will run spoon smooth with rich graphics this phone is awesome
Sent from my SGH-T959V using XDA Premium App
Click to expand...
Click to collapse
Unroll and reduce texture size? Doesn't sound right...
Eric-1987 said:
Unroll and reduce texture size? Doesn't sound right...
Click to expand...
Click to collapse
reduce texture size and unroll textures
it is correct
that is why dungeon defenders is running fine on my phone
Wow. U made a day of searching much much shorter. I was determined to get this working after getting the premium version and bang bang racing. w00t. Ill be sure to hit thanks when on a pc.
***Bang Bang Racing working great!***
Sent from my SGH-T959V using XDA Premium App
robbbbit said:
Wow. U made a day of searching much much shorter. I was determined to get this working after getting the premium version and bang bang racing. w00t. Ill be sure to hit thanks when on a pc.
***Bang Bang Racing working great!***
Sent from my SGH-T959V using XDA Premium App
Click to expand...
Click to collapse
Thanks robbbit glad I could help
Sent from my SGH-T959V using XDA Premium App
Maybe I'm just being a noob, but I have chainfire all set up, it found the nvidia plug in, but I can't download games. I get a pop up saying something about a "non-tegra device detected." The only option is to click OK.
Sent from my SGH-T959V using XDA App

LG Optimus 2X/G2X ICS hardware acceleration

Just a curious question for developers. If the Optimus 2X gets ICS and the G2X does not can you still use the 2X drivers for the G2X to get hardware acceleration working? Thanks!
Sent from my LG-P999 using Tapatalk
Yes, they are basically the same phone.
Sent from my LG-P999 using XDA
dhollis72 said:
Just a curious question for developers. If the Optimus 2X gets ICS and the G2X does not can you still use the 2X drivers for the G2X to get hardware acceleration working? Thanks!
Sent from my LG-P999 using Tapatalk
Click to expand...
Click to collapse
HW Acceleration is already working in the ICS ROMs, has been for about a month now.
Sent from Narnia
Not on the G2X.
Sent from my CM7 powered G2X!
dhollis72 said:
Not on the G2X.
Sent from my CM7 powered G2X!
Click to expand...
Click to collapse
Or the o2x from what I've read it is blobs full HWA would make things a lot smoother and ALOT quicker, I notice lag all over the place scrolling isn't smooth, and rotating the phone takes a while too. If we had full HWA this thing would fly!!
Sent from my LG-P999 using xda premium
mt3g said:
Or the o2x from what I've read it is blobs full HWA would make things a lot smoother and ALOT quicker, I notice lag all over the place scrolling isn't smooth, and rotating the phone takes a while too. If we had full HWA this thing would fly!!
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
Very true. Since Nvidia wont release the drivers, we have to wait till an official ICS ROM to get it working smoothly. Then it can be ported and bloatware removed and optimized for us.
Ah, I miss my Vibrant and how great its ICS must taste.
Sent from my LG-P999 using XDA
mt3g said:
Or the o2x from what I've read it is blobs full HWA would make things a lot smoother and ALOT quicker, I notice lag all over the place scrolling isn't smooth, and rotating the phone takes a while too. If we had full HWA this thing would fly!!
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
Yeah I agree after playing with an old Captivate with ics and hw acceleration working I can defiantly say we don't have full functioning hw acceleration yet can't wait tho!
Pin it to Win it.
Hwacceleration is only half ass working through work around patches. Thus the Hal issues with video decoding and many ics apps like browser for instance. If o2x gets it I'm sure we can get it fully working.
Sent from my Galaxy Nexus using xda premium
why cant we take the drivers from gingerbread g2x?
swordsx48 said:
why cant we take the drivers from gingerbread g2x?
Click to expand...
Click to collapse
Why don't you just search the forums? It's been answered multiple times before
swordsx48 said:
why cant we take the drivers from gingerbread g2x?
Click to expand...
Click to collapse
Does Gingerbread have HWA?
Sent from Narnia
hardware acceleration
Do any G2X ICS ROMs support hardware acceleration at this time?
EEngineer said:
Do any G2X ICS ROMs support hardware acceleration at this time?
Click to expand...
Click to collapse
Well, technically they all do. But really the hardware acceleration is just a hack.
Sent from my LG-P999 using xda app-developers app
noahk423 said:
Well, technically they all do. But really the hardware acceleration is just a hack.
Click to expand...
Click to collapse
Then why am I being told on another thread that G2X ICS doesn't support video recording?
There arent any ICS roms for the G2x/LG 2x that support HWA. Until LG releases there version of ICS we will not have video recording
EEngineer said:
Then why am I being told on another thread that G2X ICS doesn't support video recording?
Click to expand...
Click to collapse
The video recording doesn't work because the G2x doesn't have official/correct drivers for ICS, therefore things like video recording and actual hardware acceleration don't work. What we have is a work around that is almost as good as the actual hardware acceleration, but its not the real thing.
Sent from my Nokia 3310 paperweight.
That would be cool if they ported to our phone to get some ICS.
Sent from my LG-P999 using xda premium
KRAZYADROIDMASTER said:
That would be cool if they ported to our phone to get some ICS.
Sent from my LG-P999 using xda premium
Click to expand...
Click to collapse
Probably won't because LG wants us to buy a newer phone :/
If I helped you, push the thanks button for goodness sakes!
thor6577 said:
Probably won't because LG wants us to buy a newer phone :/
Click to expand...
Click to collapse
A newer phone from HTC?
EEngineer said:
A newer phone from HTC?
Click to expand...
Click to collapse
Idk, but they don't want us to have those drivers. Darn LG Dv:<
If I helped you, push the thanks button for goodness sakes!

[Solved] BLN

there any way to incorperate BLN into VB final (fixed) sorry though i was in Q & A
http://forum.xda-developers.com/showthread.php?t=1590350
If you read the whole thing, I'm sure a light will go off.
anoymonos said:
there any way to incorperate BLN into VB final (fixed) sorry though i was in Q & A
Click to expand...
Click to collapse
No worries. AFAIK you need a kernel with BLN support, either v.0.1.1-rc3 or v.0.2.0, then install the app.
Yes, the kernel must have BLN added to it, independent of the ROM.
For what its worth, I'm on VB final and BLN works beautifully, I'm using the paid app if it helps.
Sent from my SGH-T959V using xda premium
It would be cool to have this built into a rom also, negating the need for an app. But I'm not about to make that kind of request...
Sent from my SGH-T959V using xda premium
P06o said:
It would be cool to have this built into a rom also, negating the need for an app. But I'm not about to make that kind of request...
Sent from my SGH-T959V using xda premium
Click to expand...
Click to collapse
You need the app to enable it at all. There ARE some system files that get created with the app that control the state of the notifications though.
For now that's true, but nearly anything is possible if the hardware and kernel support it. If an app can enable that behavior, then it can theoretically be hard coded into a rom, am I right? But that's lot to ask for when a free download does the job. I mean, given the huge list of things the few devs we have are busy with, coding bln into their work is a waste of time.
Anyway... That was more than enough diverting from the topic.
Sent from my SGH-T959V using xda premium

Saving grace? Tegra 2 Open Drivers

Found this while browsing my usual Linux news sources:
www(dot)phoronix(dot)com /scan.php?page=news_item&px=MTIzNTQ
Since SU660 porting isn't going anywhere, could this be a possibility for full hardware acceleration early next year with the 3.8 kernel sources?
p.s....lousy spam detection
kurbstar said:
Found this while browsing my usual Linux news sources:
www(dot)phoronix(dot)com /scan.php?page=news_item&px=MTIzNTQ
Since SU660 porting isn't going anywhere, could this be a possibility for full hardware acceleration early next year with the 3.8 kernel sources?
p.s....lousy spam detection
Click to expand...
Click to collapse
Let me fix that for you. http://www.phoronix.com/scan.php?page=news_item&px=MTIzNTQ
So will this mean ICS/JB with HW Acceleration sometime in the future for out phone?
Sent from my LG-P999 using xda app-developers app
plasmamax1 said:
So will this mean ICS/JB with HW Acceleration sometime in the future for out phone?
Sent from my LG-P999 using xda app-developers app
Click to expand...
Click to collapse
Our phone is already guaranteed a port via the p990, it is just a matter of time
plasmamax1 said:
So will this mean ICS/JB with HW Acceleration sometime in the future for out phone?
Sent from my LG-P999 using xda app-developers app
Click to expand...
Click to collapse
If the P990 release ever fails to be released, then there might be some hope in this.
Also, with the introduction of Key Lime Pie coming up next year, the proprietary drivers from the ICS release will more than likely become broken. In this case, the open-source drivers may become EXTREMELY beneficial.
Great find
Sent from my LG-P999 using Tapatalk 2

[APP][ROOT]Change system animations [FRAMEWORK TOOL]

Yup guys you can change your system animations:thumbup: via this app u am not the developer I just support this app and would like to share this one with you guys
Description:
This app will make Theming your phone as easy as tapping on a button. The concept is easy:
You tap the MOD you want, and Framework Tool will apply it for you. Currently there are about 40 functions,such as animations, dialogs, backgrounds and other aspects of your phones or tablets system, but it is in beta state, and more will be added in the next hours, days, weeks, months. Now it is your turn! Take control of your phone and make it fit to your mood and style, use hot features as the possibility to use your own backgrounds (in the Settings application as an example) for the system (3.0+), with just a few taps, and no computer required! This application needs ROOT ACCESS and R/W on /system ! This App can now run on versions below 4.0, BUT all modifications are designed for Android 4.0, so they may not work as intended on versions below that!
Warning: Framework Tool does change framework files which may not be compatible on some ROMs or devices. Always make a backup before installing and use at your own risk.
Here's the Link
https://play.google.com/store/apps/...m=organic&utm_term=framework+tool+google+play
Please press thanks if I helped you
Sent from my One V using xda premium
Any support for gingerbread roms or atleast cm7?
No :banghead:
Sent from my One V using xda premium
Did anyone try it yet?
Any suggestions for the dev?
Sent from my One V using xda premium
aashukmehta said:
Did anyone try it yet?
Any suggestions for the dev?
Sent from my One V using xda premium
Click to expand...
Click to collapse
Tried it. Bought it.
Didn't change animations at all..
LiquidSmooth ROM (4.2.2)
Sent from an ATM machine
First you must run the compatibility check function of the app to see that your ROM supports it or not...
aashukmehta said:
First you must run the compatibility check function of the app to see that your ROM supports it or not...
Click to expand...
Click to collapse
I did that. It said it was compatible
Sent from an ATM machine
Yes it worked perfectly!
Sent from my Galaxy Nexus using xda app-developers app
Wow, this is great! Thanks!
I guess then u r unlucky
It is possible that this app makes the ui slow sometimes? it takes ages to open an app or switch between tasks in some cases
Sent from my Galaxy Nexus using xda app-developers app
No it just changes system animations it must have happened if you have chosen a heavy animation on a mid end device
Well I don't think the Gnex is a mid end device... And the only change I made is activity switching to ios sliding.
Sent from my Galaxy Nexus using xda app-developers app
makejau said:
Well I don't think the Gnex is a mid end device... And the only change I made is activity switching to ios sliding.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Bad luck then try applying animations again or instead try a reboot I have always used it on a fresh flash so it was never the case for me
I advice you to use it on a new flash...
You can also set the speed for animations using Framework Tool, in case you they are to slow for you. On start screen open menu and then you will see.
Thanks for yor responses guys.
I don't mean the animation is slow, I mean it takes a lot of time (3 or 4 seconds) to start the animation. Once started, it goes smooth.
This happens only sometimes. I'm trying to figure if this issue is ROM related (pa 3.1). I'm going back to aokp and try again.
Thanks!!
Sent from my Galaxy Nexus using xda app-developers app
makejau said:
Thanks for yor responses guys.
I don't mean the animation is slow, I mean it takes a lot of time (3 or 4 seconds) to start the animation. Once started, it goes smooth.
This happens only sometimes. I'm trying to figure if this issue is ROM related (pa 3.1). I'm going back to aokp and try again.
Thanks!!
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Technically, android waits for the app you touched to draw the first image, then animates to it.
Another thing: You are on Android 4.2 right? Then the changes Framework Tool applies to the framework (in the aspect of app start animation) are "ignored".
The only impact on performance is if you change the "standard background", if it is very high-res, if will definatly have an impact on performance.
Sincerely,
Janis Elfert (dev of Framework Tool)
PS: As always, if you like my app, make sure to rate it!
works awesome!
Sent from my GT-I9300 using xda premium
DVYBTTR said:
works awesome!
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
If you haven't already, leave a nice rating at the Play Store. It would be very nice, cause it's rating will jump to 4.00 then !
It works most of time for me.

Categories

Resources