Related
I know that some roms already have that feature built-in(ex. Android Revolution HD); now, all I want to know is: how to do that by myself? Is necessary to phisically remove the files used for software rendering, or editing egl.cfg file should be enough? In any case, is root acces needed to do that, i suppose?
ps. I already use the stupid and almost useless "Force 2D rendering..." option that's under "developer settings" so, please don't ask me about that.
Sorry for my n00b question but I REALLY need to do this as soon as I can. I come from GT-I9100 and all those really annoying lags on the GNEX UI are driving me nuts!
I wish devs would stop misleading people with this nonsense.
Deleting the android_gles file is not going to help your performance whatsoever. Its not going to make things that are cpu rendered suddenly render as gpu. Its not going to speed up your game performance. Its not going to do a single thing other than help your quadrant scores. The only time it would help is if a game used it to render graphics, and lets face it, if it did, it would be 100% unplayable. So if you want to increase your quads, by all means delete it (under lib/egl). Otherwise, ignore it.
adrynalyne said:
I wish devs would stop misleading people with this nonsense.
Deleting the android_gles file is not going to help your performance whatsoever. Its not going to make things that are cpu rendered suddenly render as gpu. Its not going to speed up your game performance. Its not going to do a single thing other than help your quadrant scores. The only time it would help is if a game used it to render graphics, and lets face it, if it did, it would be 100% unplayable. So if you want to increase your quads, by all means delete it (under lib/egl). Otherwise, ignore it.
Click to expand...
Click to collapse
****, I don't even use Quadrant! So.... ok, I'm ****ed! LOL
Anyway, thanks for having clarified me this thing!
If you want to test it, just rename the file. But honestly I don't think you will notice a difference. Don't change the conf file.
actually, mount /system rw, edit /system/lib/egl/egl.cfg, remove first line of the file (you'll see on the second line PowerVR SGX540, that's our gpu), this will give you 2d work transfered to gpu, everywhere. even without dev options > "force gpu in 2d applications" checked. if you remove the file, you remove the configuration for it.
that's what i found when i searched about it.
Have you tried it?
I received several error messages with programs that I was using software rendering when doing that.
I guess it can't hurt to try, but it didn't bode well for me.
go to /system/lib/egl
delete libGLES_android.so and reboot
This will enable hardware 3D acceleration and make 3D rendering much smoother.
Does using the force 2d option improve performance?
williamthegoat said:
Does using the force 2d option improve performance?
Click to expand...
Click to collapse
if u saying from developer setting, yes it does, but some apps will crash.
adrynalyne said:
If you want to test it, just rename the file. But honestly I don't think you will notice a difference. Don't change the conf file.
Click to expand...
Click to collapse
Unfortunately at moment I'm oem locked. As soon as i can manage to have a decent backup I will give that a try!
Ps Damn, MTP I hate you!! I want my beloved mass storage option back! LOL
adrynalyne said:
Have you tried it?
I received several error messages with programs that I was using software rendering when doing that.
I guess it can't hurt to try, but it didn't bode well for me.
Click to expand...
Click to collapse
yes, i have, although i did not edit the file on the phone: removed it from the sauce and recompile.
i had no issues when using this, and even if i did, it would be the apps fault, not ics.
adrynalyne said:
If you want to test it, just rename the file. But honestly I don't think you will notice a difference. Don't change the conf file.
Click to expand...
Click to collapse
i actually do feel a smoother scroll especially like facebook or twitter.
king23adrianc said:
i actually do feel a smoother scroll especially like facebook or twitter.
Click to expand...
Click to collapse
Never underestimate the power of placebo. The trouble with these things is that there is no quantifiable method to prove it either way.
If I find myself telling folks that I "feel" a slight difference, then imo its probably a placebo. Notice for the planets test in Quadrant, its a difference of 2fps and 60fps. Thats not something you THINK you will feel. Therefore if it makes a difference, it should give an impression of WHOA, not a " its a bit better response."
Its a bit better == placebo in my book.
Post a video running the renderer with facebook and twitter, and without. Keep the video on while you change the file however so we can see that no other changes (such as overclocking) has taken place so that we can judge for ourselves.
king23adrianc said:
i actually do feel a smoother scroll especially like facebook or twitter.
Click to expand...
Click to collapse
Scrolling on FB and Twitter become already smoother with "force 2d rendering" option activated! What really bother me is the laggy system UI(ex. when I press the "recent apps" or "home" keys the system sometimes become almost unusable for 1 to 3 seconds, also in the gallery the pinch to zoom function sometimes get choppy and almost unusable! That's really frustrating!)
Are you using 4.0.1?
I don't see any of those issues, completely stock aosp on 4.0.3.
bk201doesntexist said:
yes, i have, although i did not edit the file on the phone: removed it from the sauce and recompile.
i had no issues when using this, and even if i did, it would be the apps fault, not ics.
Click to expand...
Click to collapse
Doesn't matter where the fault lies if it affects the usability of the phone.
adrynalyne said:
Are you using 4.0.1?
I don't see any of those issues, completely stock aosp on 4.0.3.
Click to expand...
Click to collapse
That's because those issues are fixed in 4.0.3
adrynalyne said:
Are you using 4.0.1?
I don't see any of those issues, completely stock aosp on 4.0.3.
Click to expand...
Click to collapse
I'm actually on 4.0.2 ICL53F(that's the lastest official OTA avaible for me) and I'm obviously running GSM/MAGURO edition.
At this point, in the waiting for CM9 begin officially released, what kind of 4.0.3 based custom rom do you guys recomend me?
adrynalyne said:
Never underestimate the power of placebo. The trouble with these things is that there is no quantifiable method to prove it either way.
If I find myself telling folks that I "feel" a slight difference, then imo its probably a placebo. Notice for the planets test in Quadrant, its a difference of 2fps and 60fps. Thats not something you THINK you will feel. Therefore if it makes a difference, it should give an impression of WHOA, not a " its a bit better response."
Its a bit better == placebo in my book.
Post a video running the renderer with facebook and twitter, and without. Keep the video on while you change the file however so we can see that no other changes (such as overclocking) has taken place so that we can judge for ourselves.
Click to expand...
Click to collapse
there is DEFINITELY a BIG difference when i delete that SINGLE file!!
u can personally test it since i can tell u dont believe what i m saying, but all i say is there are rom developers that delete that file because this can fully enable PowerVR SGX 540 (GPU) rendering.
software rendering does lags times to times when especially in FACEBOOK while scrolling and having lots of pictures. However, once i delete that file, reboot, and lags are gone. May i say not ALL gone, but i have to say lags are gone 95% just by delete that file to have a hardware acceleration gpu rendering.
i contacted the dev of android revolution, he delete that file and therefore he is saying "Removed software (CPU) rendering - full PowerVR SGX 540 (GPU) rendering" in his rom details.
some devs have said it before too, franciscofranco said it long long time ago.
even mskip said that too. check this thread that was ages ago.
http://forum.xda-developers.com/showthread.php?t=1368873&page=2
from all the above, i can personally say delete that damn file then u will get a smoother experience. Perhaps there might be tiny lags from there to there. but overall it is BETTER for sure and by deleting that file, apps wont crash. so dont just click force gpu rendering in dev options. DELETE the file.
mskip also said you will only see improvements in benchmarks. I'd look for the post where he said it, but I'm not going to bother.
Notice how he mentions Quadrant in the improvements???
This is not a new thing to ICS. This 'trick' has been around since the SGS game out.
Back then, you certainly weren't forcing hw rendering on everything by deleting the file.
2D acceleration != 3d acceleration.
http://forum.xda-developers.com/showthread.php?t=1877183
so yeah, is it just a load of crap or does it actually work?
If you are on ICS you can make a nandroid backup and try it
I saw this today as well not sure whether to try it. Isn't it the same or similar to what we can choose in developers options to force GPU rendering? Maybe will try later when I have time as I cant complain with the speed that I'm getting from nikez jb p0.9
Sent from my HTC Desire using xda app-developers app
I am specifically wondering how will it work with gingerbread roms. I mean, it must be some kind of BS right? There's no way to force GPU rendering for UI in gingerbread, is there?
Joke of the day... classic!
Works on Mildwild 4.3. I don't have a launcher redraw anymore And it's not GPU rendering, it just removes the pathway to render on the CPU so the GPU does the graphics stuff
Works on Mildwild 4.3. I don't have a launcher redraw anymore And it's not GPU rendering, it just removes the pathway to render on the CPU so the GPU does the graphics stuff
Click to expand...
Click to collapse
Basically everyone should be getting a placebo affect, i personally havent seen anyone provide evidence such as benchmarking surfaceflinger to prove the ui is smoother. The manufacturers by default select the gpu to render the ui which has a 0 1 on adreno200 and 0 0 on android thus its hw accelerated and not software accelerated
So what does that really do anyway ? Anyone notices really anything?
I don't trust benchmarks, they show incredibly inaccurate results (at least Antutu and Quadrant). Try run it twice on the same rom, one right next to another.
Well, no use from benchmark apps, but I tried it on MIUI rom with high resolution graphics settings for launcher. I definitely had lags issue with it without patch, especially with cube 3d screen transition effect. Now with it no lags at all, and I'm sure it's not a placebo.
Sent from my HTC Desire using Flashes and Thunders
MidnightDevil said:
So what does that really do anyway ? Anyone notices really anything?
I don't trust benchmarks, they show incredibly inaccurate results (at least Antutu and Quadrant). Try run it twice on the same rom, one right next to another.
Click to expand...
Click to collapse
Lol im not talking about regular benchmarking
I tried it with rom in signature and confirm that UI is smoother and also app like Facebook seems faster, like author is reporting in original thread.
Sent from my HTC Desire using xda app-developers app
Well I did actually just test it and it's obviously a load of crap and a waste of time. Can't believe I ACTUALLY was stupid enough to think that it'd work.
ToastnButter said:
Well I did actually just test it and it's obviously a load of crap and a waste of time. Can't believe I ACTUALLY was stupid enough to think that it'd work.
Click to expand...
Click to collapse
I don't think it's useless or stupid.... either 99% are having a placebo reaction with noticeable effects.. or they are having a reaction to a noticeable difference on their equipments.. I was also skeptic that would do anything.. I can't tell you what it is, but I do notice some differences.
I would say it works - somehow.
I use it on SpazeDogs ICS ROM and it gives a subjective performance boost - by feeling i wouldnt say that the FPS increased or something like that. But it feels smoother. Would call it "Project Butter light"
McDope said:
I would say it works - somehow.
I use it on SpazeDogs ICS ROM and it gives a subjective performance boost - by feeling i wouldnt say that the FPS increased or something like that. But it feels smoother. Would call it "Project Butter light"
Click to expand...
Click to collapse
Lol!
Sent from my HTC Desire using xda app-developers app
In developer options, what does enabling force gpu rendering do? Id like to know pros and cons.
I'm trying it right now cause I read this post, I think it makes things look better/smoother when using apps. Not too sure tho
Edit: just give it a google I just read a pretty good explanation of it I'll probably just leave it on now unless something gets weird but sounds like everything will be better with it on less lag smoother
Sent from my SGH-I747M using xda premium
I believe it forces the GPU (Graphics Processing Unit) to render things like transitions between menus, and what not.
Now I'm not sure if that's more power hungry, or bad for the device. But in my opinion, I believe this would be better than having the CPU render the transitions, because the GPU is designed for graphical rendering -- of course, there's the question of if the GPU sleeps while the phone isn't doing anything intense (gaming generally).
I hope that explains it!
Just read on Android Central about a app that decreases lag on phones. So I decided to check it out and it do seem to increase responsiveness. I recommend that guys check it out....Just search lag fix in the play store. Let me know what you think.
Sent from my SPH-L900 using xda premium
I don't think lag should be much of an issue on our phones
Sent from my SPH-L900 using xda premium
jworkcoo said:
Just read on Android Central about a app that decreases lag on phones. So I decided to check it out and it do seem to increase responsiveness. I recommend that guys check it out....Just search lag fix in the play store. Let me know what you think.
Sent from my SPH-L900 using xda premium
Click to expand...
Click to collapse
What lag? :good:
As much as I would love to say lag isn't an issue it really is when listening to music or pod casts or how loading a file/app or using navigation..it's not much but it is there especially when you pull the notification shade down and look at the bouncy toggles..either way, ,this app doesn't do diddley squat so it's probably a programing issue.
Sent from my SPH-L900 using xda premium
I tried it too. It seems to make a solid difference, and combined with Seeder, my Note and my Transformer Prime are both running smoother than ever.
Sent from my SCH-R950 using xda app-developers app
ZebTheCalvinist said:
I tried it too. It seems to make a solid difference, and combined with Seeder, my Note and my Transformer Prime are both running smoother than ever.
Sent from my SCH-R950 using xda app-developers app
Click to expand...
Click to collapse
I agree. it seems to make things a bit more responsive.
anyone know how it does this?
-Wizzle
I do notice in and out of lockscreen is faster and also using the home button is quicker
Sent from my SPH-L900 using xda premium
Lag...
I have read a lot on the lag seen in Android as compared to something like iOS specifically. There is lag and there will always be more lag seen in Android as apposed to iOS, due to how the OS was designed, and priorities of certain system functions. iOS gives full priority over any other process to the GUI functionality, which gives iOS a major smooth GUI (so what right??). Android gives priority to other processes, and the GUI falls near the end, I don't think it even gives a priority other than the standard Linux process priority, so the GUI appears to have lag at times, especially if something else has priority over the GUI.
Personally, I feel it was done this way for many reasons, to include helping with battery life on a Linux based system. On my Note 2, I feel there is lag where there should not be, but it does not bother me like it may others. If you have a iPhagot standing next to you, they will always point it out. We are running quad core processors that should not have lag as the power is there, however, because of the priority of the GUI being lower than many other Android system services, we see it here and there.
As far as this program... I believe it is doing some CPU governor tweaking, possibly even freezing programs on sleep. I have seen some programs that trim what the vm's can use for memory as well, so I wonder if this could be part of it. Could simply be disabling certain GUI functions which allows the GUI to appear faster. There are tricks in this forum that show you how to disable some lockscreen functions which allows wake time to be almost zero, but I like the lockscreen functions, so I can deal with the sub second lag... who cares really you know?
Tutungzone said:
I have read a lot on the lag seen in Android as compared to something like iOS specifically. There is lag and there will always be more lag seen in Android as apposed to iOS, due to how the OS was designed, and priorities of certain system functions. iOS gives full priority over any other process to the GUI functionality, which gives iOS a major smooth GUI (so what right??). Android gives priority to other processes, and the GUI falls near the end, I don't think it even gives a priority other than the standard Linux process priority, so the GUI appears to have lag at times, especially if something else has priority over the GUI.
Personally, I feel it was done this way for many reasons, to include helping with battery life on a Linux based system. On my Note 2, I feel there is lag where there should not be, but it does not bother me like it may others. If you have a iPhagot standing next to you, they will always point it out. We are running quad core processors that should not have lag as the power is there, however, because of the priority of the GUI being lower than many other Android system services, we see it here and there.
As far as this program... I believe it is doing some CPU governor tweaking, possibly even freezing programs on sleep. I have seen some programs that trim what the vm's can use for memory as well, so I wonder if this could be part of it. Could simply be disabling certain GUI functions which allows the GUI to appear faster. There are tricks in this forum that show you how to disable some lockscreen functions which allows wake time to be almost zero, but I like the lockscreen functions, so I can deal with the sub second lag... who cares really you know?
Click to expand...
Click to collapse
This is all incorrect tripe.
Then would you care to share your infinite wisdom? I fail to see a problem with his logic, but if there is I'd love to hear the real explanation
Sent from my SPH-L900 using xda premium
Nicgraner said:
Then would you care to share your infinite wisdom? I fail to see a problem with his logic, but if there is I'd love to hear the real explanation
Sent from my SPH-L900 using xda premium
Click to expand...
Click to collapse
while the gui priority lag theory is true, this is not what lag free is doing..
If you download the app you see that it works with fstrim. Some sort of memory trimming utility that helps the os make faster decisions cause it trims the fat.
im not sure all the technical details but when you download it it gives you a brief description.
-Wizzle
I think any lag that anyone experiences is mostly caused by tw launcher. I use nova and have all settings set to faster than light. I have zero lag. I can max out my cpu and force lag but for the most part it is non existent.
Sent from my SPH-L900 using xda app-developers app
Just flashed a new ROM today (OneOfAKindV11 by ipromeh) and gaming works really smooth even when its clocked at 1.6GHz... I heard Disabling CPU Rendering will make gaming more faster... Last time, when i tried it, game lags alot and overall performance is bad...
Can anyone tell me if the tweak is good or not?
Maybe it's good disabling CPU Rendering on newest CPU with newest GPU...But our GPU needs an additional support from the CPU
So its not good to disable it even with cm10 alpha 7? Just leave it as is?
Sent from my GT-I8150 using xda premium
Disabling CPU rendering diables the CPU rendering for the User Interface and forces the GPU to do it. So it affects the launcher, browser and scrolling but not games. For JB it´s not needed because of project butter which makes it already smooth.
JB also dosen´t use the exact same drivers like ICS, so what gives you a performance boost in CM9 doesn´t have to do the same in CM10.
I install seeder for disable CPU rendering... But I have problem with flash when I see flash video (ex: youtube)...
arya_ruby said:
I install seeder for disable CPU rendering... But I have problem with flash when I see flash video (ex: youtube)...
Click to expand...
Click to collapse
That´s interessting.... does the problem disappear if you re-enable CPU rendering? Also are you using CM9 or CM10?
For me there is no problem in watching youtube after disabling CPU rendering in CM9, but must agree that in both ROMs some flash videos are not displayed correctly. This is more related to the GPU drivers in CM9 and CM10 and the missing flash support in ICS and JB.
There are sites where the flash videos are not displayed correctly in CM9 and CM10, no matter you disable CPU rendering or not, but at least youtube is working well in CM9 after disabling CPU rendering. Can´t tell how about CM10, but CM10 needs both for project butter to work.
honeyx said:
That´s interessting.... does the problem disappear if you re-enable CPU rendering? Also are you using CM9 or CM10?
For me there is no problem in watching youtube after disabling CPU rendering in CM9, but must agree that in both ROMs some flash videos are not displayed correctly. This is more related to the GPU drivers in CM9 and CM10 and the missing flash support in ICS and JB.
There are sites where the flash videos are not displayed correctly in CM9 and CM10, no matter you disable CPU rendering or not, but at least youtube is working well in CM9 after disabling CPU rendering. Can´t tell how about CM10, but CM10 needs both for project butter to work.
Click to expand...
Click to collapse
I running CM10. And I was disable it, but I can't find the different.
Thanks for help me.
arya_ruby said:
I install seeder for disable CPU rendering... But I have problem with flash when I see flash video (ex: youtube)...
Click to expand...
Click to collapse
Seeder is *NOT* for disabling CPU rendering.
--- Sent from Opera on Lenovo T420 ---
pepoluan said:
Seeder is *NOT* for disabling CPU rendering.
--- Sent from Opera on Lenovo T420 ---
Click to expand...
Click to collapse
True dat...
Too much flashing! I'm blinded on my Galaxy W!
pepoluan said:
Seeder is *NOT* for disabling CPU rendering.
--- Sent from Opera on Lenovo T420 ---
Click to expand...
Click to collapse
Ohhh. Thanks for clarify this. Never dealed with seeder so am not aware atm what it is for.
So if someone is saying it disabled CPU rendering as well, I take this information as to be true.
@arya_ruby: Your postings are very irritating. In the one hand your a claiming seeders is disabling CPU rendering and this is causing problems with youtube, in the other hand you are saying you disabled it but can´t (find?) (or see) a difference.
So what?
First you should inform what seeder is for and what´s doing on your phone before making conflicting claims.
honeyx said:
Ohhh. Thanks for clarify this. Never dealed with seeder so am not aware atm what it is for.
So if someone is saying it disabled CPU rendering as well, I take this information as to be true.
@arya_ruby: Your postings are very irritating. In the one hand your a claiming seeders is disabling CPU rendering and this is causing problems with youtube, in the other hand you are saying you disabled it but can´t (find?) (or see) a difference.
So what?
First you should inform what seeder is for and what´s doing on your phone before making conflicting claims.
Click to expand...
Click to collapse
Since I was slightly involved in the development of Seeder, let me give some information:
Seeder's purpose is to quickly fill up the entropy pool used by /dev/random and /dev/urandom. If this pool gets empty, lags will happen as the kernel interrupts things (including, blocking multithreading temporarily) to fill up the pool. With Seeder running, it periodically fills up the pool to prevent it from ever draining completely.
Some people swear that installing Seeder makes their phones run smoother, because the kernel never has to trigger 'urgent refilling', which as I mentioned before, temporarily disables multithreading.
However, things learnt during the (sometimes heated) discussion about how Seeder does its magic, undoubtedly have trickled down to kernel makers; many have identified the possible bottlenecks where lags happen, and many actively took steps to prevent such situation from happening. Thus, as time goes by, the improvement Seeder brought originally gets less and less significant, even to the point that it's no longer perceptible.
Sent from my GT-I8150 using xda app-developers app
pepoluan said:
Since I was slightly involved in the development of Seeder, let me give some information:
Seeder's purpose is to quickly fill up the entropy pool used by /dev/random and /dev/urandom. If this pool gets empty, lags will happen as the kernel interrupts things (including, blocking multithreading temporarily) to fill up the pool. With Seeder running, it periodically fills up the pool to prevent it from ever draining completely.
Some people swear that installing Seeder makes their phones run smoother, because the kernel never has to trigger 'urgent refilling', which as I mentioned before, temporarily disables multithreading.
However, things learnt during the (sometimes heated) discussion about how Seeder does its magic, undoubtedly have trickled down to kernel makers; many have identified the possible bottlenecks where lags happen, and many actively took steps to prevent such situation from happening. Thus, as time goes by, the improvement Seeder brought originally gets less and less significant, even to the point that it's no longer perceptible.
Sent from my GT-I8150 using xda app-developers app
Click to expand...
Click to collapse
Sadly, some using Seeders... Some use crossbreeder... Its the same rite?
Too much flashing! I'm blinded on my Galaxy W!
TiTAN-O-One said:
Sadly, some using Seeders... Some use crossbreeder... Its the same rite?
Too much flashing! I'm blinded on my Galaxy W!
Click to expand...
Click to collapse
Kinda similar...
Seeder uses rngd, which uses a PRNG.
Crossbreeder uses haveged, which uses a CSPRNG based on a multitude of CPU counters.
From a security point of view, haveged is more secure than rngd. But I can find no way to tune haveged's parameters, so I can't be sure that it won't be triggered at inopportune times.
rngd, OTOH, is much more tunable; the flashable-zip available in the Seeder thread has been tuned by me and @ryuinferno to be less intrusive.
(Just in case anyone is wondering: we had tuned rngd's nice value so it yields to higher-priority processes, tuned its cycle period so that it won't get triggered too frequently, tuned its 'high watermark' to make it return faster, and so on).
Sent from my GT-I8150 using xda app-developers app
pepoluan said:
Kinda similar...
Seeder uses rngd, which uses a PRNG.
Crossbreeder uses haveged, which uses a CSPRNG based on a multitude of CPU counters.
From a security point of view, haveged is more secure than rngd. But I can find no way to tune haveged's parameters, so I can't be sure that it won't be triggered at inopportune times.
rngd, OTOH, is much more tunable; the flashable-zip available in the Seeder thread has been tuned by me and @ryuinferno to be less intrusive.
(Just in case anyone is wondering: we had tuned rngd's nice value so it yields to higher-priority processes, tuned its cycle period so that it won't get triggered too frequently, tuned its 'high watermark' to make it return faster, and so on).
Sent from my GT-I8150 using xda app-developers app
Click to expand...
Click to collapse
But Seeders will Conflict with Crossbreeder rite? I thought its 2 separate tweaks so that we can use both and have NO lags at all ^~^
Too much flashing! I'm blinded on my Galaxy W!
TiTAN-O-One said:
But Seeders will Conflict with Crossbreeder rite? I thought its 2 separate tweaks so that we can use both and have NO lags at all ^~^
Too much flashing! I'm blinded on my Galaxy W!
Click to expand...
Click to collapse
Not conflict, but since both will fill the same entropy pool, why install both and consume valuable RAM and CPU cycles?
There are *no* other purpose of rngd and haveged.
That said, Crossbreeder is not just haveged; there are other tunings that Crossbreeder does in addition to haveged.
Sent from my GT-I8150 using xda app-developers app