yashsingh1/xdaforums huggingface dataset:
[Xperia Play Android Development] Spizzy01:
Tested Settings

Untested:

preserveZStencilOnSwap - enabling might improve performance at the increased risk of visual artifacts

Dangerous:

facenessCulling - Turning on causes crash on boot

FPSCap - setting to anything other than 0 (even to 60 or 100) causes unstable 2D rendering

2D.eglSwapMode=interrupt - Causes unstable/looping 2D rendering. Applications fail to initialize.

fullSurfaceDynamicUpdatePath - reduces 3D performance by around 10%.

Performance Boosts:

forceAutoTextureCompression - Turning this on seems to help a LOT with 3D performance. Might increase load times by a a tiny amount.

triJuice - setting it to the max value of 3 increases particle/shader/lighting performance a LOT with a minor loss in quality

forceMSAAMode - enabling this will force no anti-aliasing as long as MSAAMode is left at 0. Could increase performance on some things but make them look very chunky

2D.HwBlt - Enabling this should enhance GPU hardware acceleration in gingerbread. It says default is enabled but I've set it to 1 anyway.

oxiliForceVsSingleThread=1 - Must be enabled with oxiliForceFsSingleThread=1 for performance increase. Prolonged usage has negative impact (Needs more testing).

oxiliForceFsSingleThread=1 - Must be enabled with oxiliForceSingleSp=1 for performance increase. Prolonged usage has negative impact (Needs more testing).

oxiliForceSingleSp=1 - Must be enabled with oxiliForceVsSingleThread=1 for performance increase. Prolonged usage has negative impact (Needs more testing).

clockGating - Turning this on might save power consumption (Currently being tested more to confirm). However there is no performance drop by having this enabled

Seemed to hurt performance: (I did not test these much, could do with more tests one-by-one)

leiaEnableLrzExpansion - enabling might.... do something.

leiaEnableFastLrzUnresolves - enabling might improve performance

oxiliDisableChunkedUpdates - enabling might improve performance

oxiliForceShaderDirectUpdates - enabling might improve performance

oxiliForceConstantDirectUpdates - enabling might improve or reduce performance

oxiliForceShaderSingleContext - enabling might improve performance at cost of quality

oxiliForceSuperthreadMode - enabling might improve performance or reduce it. Probably conflicts with above one.

suppressTimestampInterrupts - enabling might improve or reduce performance

Null/No Difference - These options made no effect on performance from their default settings

shadowGmemInAppBuffers - no effect on performance or quality
[Xperia Play Android Development] Slothboy:
Great! Really looking forward to seeing what you can do :)
[Xperia Play Android Development] CosmicDan:
Thanks for letting me know you opened a topic :P

I've been doing some research and here's what ideas I've found so far:

clockGating - Turning this on might save power consumption. Will need to test if it has a performance hit.

facenessCulling - Turning on causes crash on boot

forceAutoTextureCompression - Turning this on MIGHT save RAM and/or MIGHT increase load times/CPU usage.

triJuice - raising this value might increase performance but decrease quality of mipmapping.

shadowGmemInAppBuffers - disabling might improve performance but break some things

preserveZStencilOnSwap - enabling might improve performance at the increased risk of visual artifacts

fullSurfaceDynamicUpdatePath - enabling might improve performance at the increased risk of visual artifacts

forceMSAAMode - enabling this will force no anti-aliasing as long as MSAAMode is left at 0. Could increase performance on some things but make them look very chunky

2D.HwBlt - Enabling this might enhance GPU hardware acceleration in gingerbread. It says default is enabled but I've set it to 1 anyway.

2D.eglSwapMode - changing to interrupt mode might.... do something. LETS TRY IT!

leiaEnableLrzExpansion - enabling might.... do something.

leiaEnableFastLrzUnresolves - enabling might improve performance

oxiliDisableChunkedUpdates - enabling might improve performance

oxiliForceShaderDirectUpdates - enabling might improve performance

oxiliForceConstantDirectUpdates - enabling might improve or reduce performance

oxiliForceShaderSingleContext - enabling might improve performance at cost of quality

oxiliForceSuperthreadMode - enabling might improve performance or reduce it. Probably conflicts with above one.

oxiliForceVsSingleThread - enabling might improve or reduce performance

oxiliForceFsSingleThread - enabling might improve or reduce performance

oxiliForceSingleSp - enabling might improve or reduce performance

FPSCap - setting to 30 or 60 might help with all-round performance and reduce lag spikes. Maybe.

suppressTimestampInterrupts - enabling might improve or reduce performance

Right, that's a lot of things for me to try one by one. If anyone else wants to, go for it. Just remember it could completely break your boot :P
[Xperia Play Android Development] Spizzy01:
Re: [WIP] Adreno Configuration Settings [Improved Performance?]

I did lol.. In the adreno thread xD

Ill make it more clear next time. :)

I've just tried a few things... Managed to make Antutu crash lot. Just finally completed a full benchmark but then the OS died. Going well so far. Cya in about 7 hours!

Edit: it looks like you can copy it to data/local/temp and the settings will apply for next boot. After which it is then removed from the directory. Which for me makes things a bit easier!
[Xperia Play Android Development] CosmicDan:
Oh by the way, copying the config file to /system/lib/egl/ definitely does nothing. I tested by setting FPS cap to 5, no effect. File needs to be at /data/local/tmp/ - it does *not* get wiped on reboot so its OK.

EDIT: THe file isn't removed from /data/local/tmp/ for me =\ maybe you have an init.d script that erases it or something.
[Xperia Play Android Development] Spizzy01:
Re: [WIP] Adreno Configuration Settings [Improved Performance?]

Possibly. Ill check.

Btw, I just managed 13fps on the OpenGL ES2.0 test on Antutu. It was hilarious, so many artifacts... But it passed it!

...Until it died on the SD card test. If you use Antutu I suggest doing custom tests and taking SD out. Or reducing OCs. I think my 1.6ghz may be the problem.

Or perhaps we should use stock clock a to base our tests on?

Edit: seems like almost every setting you try also kills the bootanimation lol
[Xperia Play Android Development] CosmicDan:
I can't get past the 2D/sprite test in Antutu (the little Androids) it freezes at the end lol. Boot animation was always OK for me....

Yeah, using a stock clock would be a good idea. But I'm on 1.4 ghz anyway because that's what I've always used and always been stable on.

EDIT: I think setting FPSCap to 60 was the reason for Antutu freezing on 2d test.

EDIT2: You are using LuPuS GB kernel right? Because Turbo Kernel has backported KGSL drivers, so that's probably why we not only have different performance scores but may have different results with these configs.

---------- Post added at 01:24 PM ---------- Previous post was at 01:13 PM ----------

DUDE! New Gingerbread record! :D

/data/local/tmp/adreno_config.txt:

facenessCulling=off
forceAutoTextureCompression=1
triJuice=3
2D.HwBlt=1
[Xperia Play Android Development] Spizzy01:
OMFG! LEGEND!

Gonna test on mine and report back ASAP. Gimme 10 - 20 mins, depending on when I can get a free sec @ work. Lol. xD

Edit: Unable to replicate your score at the moment. Getting stock scores, most likely something to do with those pesky init.d scripts. Deleting now and will report back shortly
[Xperia Play Android Development] CosmicDan:
In the next turbo kernel release I'll make the kernel do a symlink from /data/local/tmp/adreno_config.txt to /system/etc/adreno_config.txt (it will be linked before init starts so will apply straight away), that way we can include modified config with ROM's.

You could just make an init.d script do the same thing, but then the ROM will need to be rebooted again (because adreno driver is already loaded).
[Xperia Play Android Development] Spizzy01:
I think I'll include an init.d script with my ROM, so that in the event someone isn't using your Kernel it will still work as intended.

...At least, after a reboot.

Doing Antutu now btw, ITS CRAZY FAST OMG. About to give you results. UNO MOMENTO!
[Xperia Play Android Development] Spizzy01:
OMFG!

This actually brought a tear to my eye... Lmfao... XD
[Xperia Play Android Development] CosmicDan:
Yeah I realized that too, already done it for Turbo UI Classic (which is uploading now). This should work:

/system/etc/init.d/93adreno:

#!/system/bin/sh
#

if [ ! -h /data/local/tmp/adreno_config.txt ] then
ln -s /system/etc/adreno_config.txt /data/local/tmp/adreno_config.txt
fi

EDIT:Woohoo! Play broke the 7000 mark :D

Now I wonder how Jellybean on Turbo Kernel performs.... maybe closer to 8000 lol! And the visual quality of the orc fight 3D test looked OK for you yeah?
[Xperia Play Android Development] Spizzy01:
My test was done on LuPuS GB.

Sorry - I moved back from your Kernel last night. =x

Thank's for the script. I'll add it to v0.5 Aurora now. xD

Edit: Agreed. JellyBean should have crazy scores... Right, I'm gonna test a few of the other configs. From that list you've done, can you 'tick' off which you have already checked please? Just so I can continue where you left off at. :)

Orc fight looked perfectly fine. If it were a HD movie I'd say it had a low bit-rate, but it's not... So I have no idea what to call it, but it does look ever so slightly more grainy. But this is barely noticeable at all.
[Xperia Play Android Development] extremetempz:
I looked in /data/local/tmp/ and there was no adreno_config.txt I'm using joka wild any ideas did I have to do something before hand using LuPuS v6 480p I'm very interested because I use this a a gaming device as I have a nexus 4
[Xperia Play Android Development] CosmicDan:
I edited my last post since you uploaded results :)

That's OK, I'll still win the record by being first to test Turbo UI (JB) score :o lolz

EDIT: OK, I'll edit that list.
[Xperia Play Android Development] Spizzy01:
You need to move the file there yourself.

See attached.

Move the file to /Data/Local/tmp and reboot. Ensure you have no init.d scripts that clear cache or tmp though, as it will not work.
[Xperia Play Android Development] CosmicDan:
OK here's what my data is.

Untested:

clockGating - Turning this on might save power consumption. Will need to test if it has a performance hit.

shadowGmemInAppBuffers - disabling might improve performance but break some things

preserveZStencilOnSwap - enabling might improve performance at the increased risk of visual artifacts

fullSurfaceDynamicUpdatePath - enabling might improve performance at the increased risk of visual artifacts

oxiliForceVsSingleThread - enabling might improve or reduce performance

oxiliForceFsSingleThread - enabling might improve or reduce performance

oxiliForceSingleSp - enabling might improve or reduce performance

Dangerous:

facenessCulling - Turning on causes crash on boot

FPSCap - setting to anything other than 0 (even to 60 or 100) causes unstable 2D rendering

Performance Boosts:

forceAutoTextureCompression - Turning this on seems to help a LOT with 3D performance. Might increase load times by a a tiny amount.

triJuice - setting it to the max value of 3 increases particle/shader/lighting performance a LOT with a minor loss in quality

forceMSAAMode - enabling this will force no anti-aliasing as long as MSAAMode is left at 0. Could increase performance on some things but make them look very chunky

2D.HwBlt - Enabling this should enhance GPU hardware acceleration in gingerbread. It says default is enabled but I've set it to 1 anyway.

Seemed to hurt performance: (I did not test these much, could do with more tests one-by-one)

2D.eglSwapMode - changing to interrupt mode might.... do something. LETS TRY IT!

leiaEnableLrzExpansion - enabling might.... do something.

leiaEnableFastLrzUnresolves - enabling might improve performance

oxiliDisableChunkedUpdates - enabling might improve performance

oxiliForceShaderDirectUpdates - enabling might improve performance

oxiliForceConstantDirectUpdates - enabling might improve or reduce performance

oxiliForceShaderSingleContext - enabling might improve performance at cost of quality

oxiliForceSuperthreadMode - enabling might improve performance or reduce it. Probably conflicts with above one.

suppressTimestampInterrupts - enabling might improve or reduce performance
[Xperia Play Android Development] Spizzy01:
I made a quick Update ZIP to flash the mod/script and updated the first few posts.

You have been fully credited of course in the updater_script :)

Gonna look into other settings now.

Edit: I'm not sure I like the new Mediafire layout :|
[Xperia Play Android Development] CrypticRook:
Re: [MOD][WIP][GB] AdrenoBooster v0.1 [2x Improved Graphics Performance!]

I think it worked =P
[Xperia Play Android Development] Spizzy01:
Re: [MOD][WIP][GB] AdrenoBooster v0.1 [2x Improved Graphics Performance!]

Best way to tell is benchmarks for an exact test. But yeah, some things won't necessarily be noticeable in some situations.

Also - Emulation is more CPU based than GPU.
[Xperia Play Android Development] Slothboy:
:o ROM? Kernel?
[Xperia Play Android Development] CrypticRook:
Re: [MOD][WIP][GB] AdrenoBooster v0.1 [2x Improved Graphics Performance!]

Nxt LE with DoomKernel v14
[Xperia Play Android Development] olokos:
Couldn't you just make a config which improves performance without breaking anything that you are 100% sure about it? So we won't have to make our own one - just flash and go!
[Xperia Play Android Development] CrypticRook:
Re: [MOD][WIP][GB] AdrenoBooster v0.1 [2x Improved Graphics Performance!]

It's a beta. You can wait till they get it more dialed in.
[Xperia Play Android Development] El Diablo:
That's why I use the print FPS option.
[Xperia Play Android Development] Spizzy01:
Re: [MOD][WIP][GB] AdrenoBooster v0.1 [2x Improved Graphics Performance!]

The zips provided do this... Nothing gets broken. You don't have to make your own. O.o
[Xperia Play Android Development] bodygaurd:
i am having a locked bootloader xperia play, with NXT2JB rom, stock kernel, how should i be able to increase the performance of my graphics, i want to play games like gta vice city and batman dark knight rises and wild blood without lag.
[Xperia Play Android Development] masteril:
Re: [MOD][WIP][GB] AdrenoBooster v0.1 [2x Improved Graphics Performance!]

0.2 aurora 0.5 lupusv6 1.6mhz looks like it works! Almost beat galaxy 2 lol
[Xperia Play Android Development] Spizzy01:
Damn that's a good score...

v0.2 has been put on the first post for download.

I'm leaving it as Beta for now as I want to remove a few things before fully releasing. But seeing as it is confirmed to boost performance even more, I do recommend updating to the latest version.
[Xperia Play Android Development] chabbe11:
YES! Finally got this working.

For those who don't make this work only by flashing the ZIP, you will also need to copy and paste the "adreno_config.txt" from /system/data/ and manually paste this to /data/local/temp/

Running Antutu, this baby jacked up my FPS from 6 to 13 during the 3D test with the devil and swords ;) Will definitely test how this mod affects all the games i play. I went from 4000 to 6300 (notice that the low result is due to my worthless piece of sh*tty SD card)

Spizzy: perhaps you would write the above info for those who can't seem to get it working? It took me 3 days to figure out the solution and this way perhaps we could prevent others from doing the same.

Thank you for this mod!
[Xperia Play Android Development] CosmicDan:
If you reboot the phone twice then it works fine. Does for me and many others. You just need init.d support. If they do it your way then they will have to flash the mod again whenever they wipe data.

BTW, it's an Orc - not a Devil :p
[Xperia Play Android Development] cagali:
good work! hope there will be a ICS version soon.
[Xperia Play Android Development] Spizzy01:
It's mentioned in the 2nd post that the adreno_config.txt needs to be put in /data/local/tmp for it to work. Which is what the init.d script should do.

The workaround from the script which is to move the config manually to that location is very unreliable as that temp folder can sometimes be cleared - depending on what you use/do on your phone.

The init.d script ensures that the file is always at the temp location.
[Xperia Play Android Development] Ezekiel1998:
Re: [MOD][WIP][GB] AdrenoBooster v0.2 [2x Improved Graphics Performance!]

will you port this to 4.0/4.1?

using xda app-developers app
[Xperia Play Android Development] Spizzy01:
The configuration settings currently have a negative impact on ICS & JB.

As CosmicDan stated, this is most likely because ICS and JB has Hardware Acceleration enabled for the User Interface - This would mean that any changes we make to the graphics performance may interfere with the performance of the UI and in some cases possibly give undesirable performance/quality and because of this possibility some of the features that would normally work on GB seem to be disabled/ignored on ICS/JB.

Whilst we are intending to look into settings that would benefit ICS and JellyBean, our current focus is Gingerbread. And as it takes time to flash Kernels and install ROMs, it's much easier to get one version finished before starting on another as it saves swapping Kernels and ROMs every 5 minutes.
[Xperia Play Android Development] ozzmanj1:
Re: [MOD][WIP][GB] AdrenoBooster v0.2 [2x Improved Graphics Performance!]

With v0.1 6872. V0.2. 7079
[Xperia Play Android Development] otonieru:
really make me want to go back to GB so baddd... LoL
[Xperia Play Android Development] chabbe11:
Have noticed that this mod will break "The Simpsons, Tapped Out" occasionally.

The game will freeze and become very slow, until it finally just closes and I return to home launcher (which btw also restarts).

BUT, my gosh how it affects GTA Vice City. I can now setup the graphics at medium settings without flickers/lag.

Will keep up testing this baby
[Xperia Play Android Development] cyraxx84:
Just a question: Doomlord had a version of his Kernel with gpu overclocking, which caused some problems.

So would it maybe be better with this mod, or has it nothing to do with it?

Sorry if dumb question.
[Xperia Play Android Development] Spizzy01:
Re: [MOD][WIP][GB] AdrenoBooster v0.2 [2x Improved Graphics Performance!]

I've already tested this. Unfortunately the GPU overclock also reduces the performance with this mod installed.
[Xperia Play Android Development] DarkStryder:
Re: [MOD][WIP][GB] AdrenoBooster v0.2 [2x Improved Graphics Performance!]

Does this work on ics?

Press thanks if I helped!
[Xperia Play Android Development] CosmicDan:
NO. Read the damn OP. "Any Gingerbread ROM" in requirements.

@Spizzy, guess it's time to put in big red letters "This only works on Gingerbread, not anything else. We are still working on finding alternative tweaks for ICS and JB".
[Xperia Play Android Development] ElmirBuljubasic:
Adreno200 doesnt work! Xperia x8
[Xperia Play Android Development] Spizzy01:
All done.

Are you 100% sure of this? You may not have init.d support, try copying the adreno_config.txt directly to /data/local/tmp and rebooting.
[Xperia Play Android Development] vokal1992:
Ok, anyone who says that this doesn't work, try flashing the .zip in the Attachments, it will also install busybox and enable Init.d support so it should give compability with any GB rom!

Edit: Re-Uploaded correct .zip
[Xperia Play Android Development] CosmicDan:
This won't work on Xperia 2010 devices, they have an older EGL driver (I tested this on my X10).

@Spizzy, Also add that info to OP (Xperia 2011 devices).
[Xperia Play Android Development] ElmirBuljubasic:
there is no way to "avoid" this?
[Xperia Play Android Development] Spizzy01:
I'm not sure how to word it because the mod also works on other devices (some Samsung, Huawei etc...) So to say 'Xperia 2011 Devices', people may assume it's only for Xperia 2011 devices.

I'll make it Adreno 205+ for now... However I have also tested this on the Dell Streak 5 (Adreno 200) and it worked to some extent. (+500 to GPU on Aututu)
[Xperia Play Android Development] Slothboy:
Hurr durr does it work on ICS?

No, I kid, just reporting that I have weird graphical glitches on Asphalt 7 sometimes, like the gameplay will slow down to 1fps, but if I pause, then resume it goes away, it's kind of strange
[Xperia Play Android Development] tcris45:
it will work on samsung galaxy gio adreno 200?
[Xperia Play Android Development] olokos:
Odp: [MOD][WIP][GB] AdrenoBooster v0.2 [2x Improved Graphics Performance!]

Geezus, try it and tell us, you are in Xperia Play forum - not galaxy gio. >_<

Make a backup first just in case
[Xperia Play Android Development] CosmicDan:
Interesting, the Dell Streak 5 is a Snapdragon S1 - exact same SoC as my Xperia X10. Well it must be a problem with the Xperia 2010 EGL driver only then.
[Xperia Play Android Development] Spizzy01:
I don't suppose the Play's drivers will be compatible with your X10 would they? Qualcomm's drivers are usually for '2XX' series, so you would think that most drivers for any 200 series GPU would work with the others?

Of course, it isn't the case as I've tried loads of other EGL/GPU drivers myself already on the play from other phones... You either get poor performance, or it simply doesn't boot.
[Xperia Play Android Development] CosmicDan:
Definitely not, can't switch hardware libs when the hardware isn't the same :P If anything the Dell Streak 5 libgsl.so (and associated other files) could work on the X10 since it's identical SoC. The X8 is an oddball though, I don't know of any device that uses the same SoC as it It's like a Snapdragon S1.5 or something.

I don't really care, X10 is a backup phone. Was just saying.
[Xperia Play Android Development] TheDynamiteGuy:
can this mod works on xperia ray running cm7 and stock based gb and miui gb??
[Xperia Play Android Development] jiprudy:
This Adreno booster is weird.

When i played Asphalt 6 with freq 1.6, game terribly lag. (nb before using this booster i played this game fine even with freq 1.6)

With this booster when i change to freq 1.2 game run totally fine. Funny.

I notice on PS1 FF IX game, i'm converted using PSXPeria, character on FF IX displayed not smooth but slightly jaggiez

---------- Post added at 04:59 PM ---------- Previous post was at 04:55 PM ----------

Hi Spizzy01 / CosmicDan,

May I know how to back to standard adreno_config.txt
[Xperia Play Android Development] CosmicDan:
It should work on any Xperia 2011 HDPI device (which the Ray is) and any Gingerbread ROM (which MIUI and CM7 are).

Yeah the clock issue is an odd one. My guess is that it saturates the transport bus in SoC and the graphics can't work so fast when the CPU is clocked so high. But it's kinda cool, you don't need to overclock so much and drain battery :)

@ PS1, probably because MSAA is forced disabled. Does it make it faster though? Probably not much I imagine.
[Xperia Play Android Development] Spizzy01:
I was more curious due to possibly getting more compatibility across the board. At the end of the day though, this was made for the Play so I guess the focus should be on the Play.

Navigate to the following locations and remove the files.

/system/etc/init.d - Filename: 93adreno

/system/etc - Filename: adreno_config.txt

/data/local/tmp - Filename: adreno_config.txt
[Xperia Play Android Development] coolkaas:
we all at 4pda.ru successfully use this mod at miui (gb based of course) and at stock.

btw thanks to author!
[Xperia Play Android Development] Spizzy01:
Re: [MOD][WIP][GB] AdrenoBooster v0.2 [2x Improved Graphics Performance!]

No problem, but you should ask permission to distribute first...

...ugh, I give up.
[Xperia Play Android Development] olokos:
Odp: [MOD][WIP][GB] AdrenoBooster v0.2 [2x Improved Graphics Performance!]

.ru - yeah you cant argue with them. Most of russians dont know english and even if they do they ignore you. Well, most of russians, not all of them. I experienced it in CoD from 4 to BOII. Most of them were the cheaters. Though ive had a nice chat with one its really rare.