[MOD][GB] AdrenoBooster v0.7 [2x Graphics Performance!][Updated: 10/06/2013]

Search This thread

Spizzy01

Senior Member
Nov 20, 2011
1,082
1,410
Just flash the zip uploaded in first post to apply mod?

Sent from my R800i using xda premium
Yes.

@Dan

oxiliForceVsSingleThread=1
oxiliForceFsSingleThread=1
oxiliForceSingleSp=1

All 3 together improve performance however if you have the bottom one without the other two performance is dropped. They also seem to have a negative impact on CPU performance ever so slightly. But the increase in performance outweighs the negative impact.

See below with all enabled.

znli52.png
 

jiprudy

Senior Member
Jan 24, 2013
122
18
Hi Spizzy01,

Normal xperia play, i check on antutu website only score about 3036

Now i'm using LuPuS GB Kernel v6 and AuroraPlay v0.4. smartassv2 sio max freq 1601 min 249 mhz

So only add adreno_config.txt without updating any new adreno driver can give Antutu score 7000 plus ???? whoa.....
 

Fat_boy555

Senior Member
Apr 3, 2012
1,136
165
Singapore
Samsung Galaxy S4
OnePlus 2
Re: [MOD][WIP] AdrenoBooster v0.1 [Improved Graphics Performance!]

Yes.

@Dan

oxiliForceVsSingleThread=1
oxiliForceFsSingleThread=1
oxiliForceSingleSp=1

All 3 together improve performance however if you have the bottom one without the other two performance is dropped. They also seem to have a negative impact on CPU performance ever so slightly. But the increase in performance outweighs the negative impact.

See below with all enabled.

znli52.png
Applied and ran benchmark 3d still same 2d increase. Any idea why?

Sent from my R800i using xda premium
 

Spizzy01

Senior Member
Nov 20, 2011
1,082
1,410
Hi Spizzy01,

For this test, may i know what your clock frequency ?

Because normal xperia play, i check on antutu website only score about 3036

Now i'm using LuPuS GB Kernel v6 and AuroraPlay v0.4.

So only add adreno_config.txt without updating any new adreno driver can give Antutu score 7000 plus ???? whoa.....

Frequency is at 1.6ghz scoring 7800 max at the moment. 1.4Ghz scores around 7500. 1.2Ghz scores around 7300. Stock clock scores 7000.

Applied and ran benchmark 3d still same 2d increase. Any idea why?

Sent from my R800i using xda premium

Hmm... The patcher in the first post?

It's working for me, I'll quickly check and post back for you. Give me a few secs. :)

Edit: Give yer' phone a reboot. That should do the trick.
 
Last edited:

Fat_boy555

Senior Member
Apr 3, 2012
1,136
165
Singapore
Samsung Galaxy S4
OnePlus 2
Re: [MOD][WIP] AdrenoBooster v0.1 [Improved Graphics Performance!]

Frequency is at 1.6ghz scoring 7800 max at the moment. 1.4Ghz scores around 7500. 1.2Ghz scores around 7300. Stock clock scores 7000.



Hmm... The patcher in the first post?

It's working for me, I'll quickly check and post back for you. Give me a few secs. :)

Only diff is the 3d I get same for 2d as ur benchmark or about there..

Sent from my R800i using xda premium
 

Spizzy01

Senior Member
Nov 20, 2011
1,082
1,410
Only diff is the 3d I get same for 2d as ur benchmark or about there..

Sent from my R800i using xda premium
That is normal behaviour. The configuration we are using has not made any changes to 2D performance really, as you can see from the benchmarks this improves on 3D performance more than anything else.
 

Fat_boy555

Senior Member
Apr 3, 2012
1,136
165
Singapore
Samsung Galaxy S4
OnePlus 2
Re: [MOD][WIP] AdrenoBooster v0.1 [Improved Graphics Performance!]

That is normal behaviour. The configuration we are using has not made any changes to 2D performance really, as you can see from the benchmarks this improves on 3D performance more than anything else.

Oic any ideas why it's not working? Or maybe u could tell me where to manually copy the txt file to and what else to do.

Sent from my R800i using xda premium
 

Spizzy01

Senior Member
Nov 20, 2011
1,082
1,410
Oic any ideas why it's not working? Or maybe u could tell me where to manually copy the txt file to and what else to do.

Sent from my R800i using xda premium
Copy the text file to /Data/local/tmp

However if you have any init.d scripts that clear this folder on boot, it will not work.

Edit: Prolonged usage of oxiliForceVsSingleThread=1, oxiliForceFsSingleThread=1 and oxiliForceSingleSp=1 seems to have a very negative effect on 2D performance throughout general operation of the OS and other apps... Gonna test some more...

Edit2: 2D.eglSwapMode=interrupt causes looping 2D graphics. Aututu and other applications fail to initialize.
 
Last edited:

Fat_boy555

Senior Member
Apr 3, 2012
1,136
165
Singapore
Samsung Galaxy S4
OnePlus 2
Re: [MOD][WIP] AdrenoBooster v0.1 [Improved Graphics Performance!]

Copy the text file to /Data/local/tmp

However if you have any init.d scripts that clear this folder on boot, it will not work.

Edit: Prolonged usage of oxiliForceVsSingleThread=1, oxiliForceFsSingleThread=1 and oxiliForceSingleSp=1 seems to have a very negative effect on 2D performance throughout general operation of the OS and other apps... Gonna test some more...

Edit2: 2D.eglSwapMode=interrupt causes looping 2D graphics. Aututu and other applications fail to initialize.

How do u know if I have a script clearing the folder?

Sent from my R800i using xda premium
 

Spizzy01

Senior Member
Nov 20, 2011
1,082
1,410
How do u know if I have a script clearing the folder?

Sent from my R800i using xda premium
Check System/Etc/init.d folder for any cache clearing or 'Cleaner' scripts. Open them up, see what they do.

If you've flashed the ZIP though it should just work. Unless your ROM doesn't have init.d support - Which to be honest is something I should have mentioned first.
 

Fat_boy555

Senior Member
Apr 3, 2012
1,136
165
Singapore
Samsung Galaxy S4
OnePlus 2
Re: [MOD][WIP] AdrenoBooster v0.1 [2x Improved Graphics Performance!]

Check System/Etc/init.d folder for any cache clearing or 'Cleaner' scripts. Open them up, see what they do.

If you've flashed the ZIP though it should just work. Unless your ROM doesn't have init.d support - Which to be honest is something I should have mentioned first.

Slim bean and turbo kernel has init support I think So I'm not sure.. Dunno but I dun think I have any script that clears cache.. Where does the zip copy or do exactly? Or what files does it add?

Sent from my R800i using xda premium
 
Last edited:

Spizzy01

Senior Member
Nov 20, 2011
1,082
1,410
Slim bean and turbo kernel has init support I think So I'm not sure.. Dunno but I dun think I have any script that clears cache.. Where does the zip copy or do exactly? Or what files does it add?

Sent from my R800i using xda premium
I'm redoing the ZIP now. I'll let you know when to redownload.

Edit: OK. Redownload and give that a shot. I've also now made the ZIP Multiboot-aware.
 
Last edited:
  • Like
Reactions: Fat_boy555

masteril

Senior Member
Nov 30, 2012
774
170
Re: [MOD][WIP] AdrenoBooster v0.1 [2x Improved Graphics Performance!]

Using nxt2jb.flashed zip dont work. Moved txt file still no Luck

Sent from my R800i using xda app-developers app
 

Spizzy01

Senior Member
Nov 20, 2011
1,082
1,410
Thanks for all the replies guys, but if it doesn't work for you at the moment please leave it at that. Do not respond to the thread saying it doesn't work, it's a WIP and therefore issues like that are expected.

@Dan - I think there is a problem with the init.d script. It increases boot time by a lot as Aurora normally only takes around 3 seconds to boot, but with the ZIP flashed it rises to at least 8 seconds without the adreno_config.txt actually taking effect.

Should I change the ZIP to simply mount DATA and flash it to the tmp location? If peoples ROMs remove it then that's something people will have to live with for now.

Or should we change the init.d script to:

Code:
#!/system/bin/sh
#

-s /system/etc/adreno_config.txt /data/local/tmp/adreno_config.txt
 

Fat_boy555

Senior Member
Apr 3, 2012
1,136
165
Singapore
Samsung Galaxy S4
OnePlus 2
Re: [MOD][WIP] AdrenoBooster v0.1 [2x Improved Graphics Performance!]

Thanks for all the replies guys, but if it doesn't work for you at the moment please leave it at that. Do not respond to the thread saying it doesn't work, it's a WIP and therefore issues like that are expected.

@Dan - I think there is a problem with the init.d script. It increases boot time by a lot as Aurora normally only takes around 3 seconds to boot, but with the ZIP flashed it rises to at least 8 seconds without the adreno_config.txt actually taking effect.

Should I change the ZIP to simply mount DATA and flash it to the tmp location? If peoples ROMs remove it then that's something people will have to live with for now.

Or should we change the init.d script to:

Code:
#!/system/bin/sh
#

-s /system/etc/adreno_config.txt /data/local/tmp/adreno_config.txt

How about placing it in both locations? Like system/etc and data/local/etc

Sent from my R800i using xda premium
 

Spizzy01

Senior Member
Nov 20, 2011
1,082
1,410
Lmao... xD

eg1ums.png


(This wasn't caused by the mod by the way, it was a derp move on my part)

Edit: I've updated the ZIP to install directly to /Data/local/tmp now. If it still doesn't work for you, please wait for the next version or until me and Dan have finished testing things. Thanks.
 
Last edited:

CosmicDan

Senior Member
Jun 19, 2009
5,906
7,746
37
Sydney
Xiaomi Poco X3 Pro
How about placing it in both locations? Like system/etc and data/local/etc

Sent from my R800i using xda premium

What would be the point of that? The file needs to be at /data/local/etc/adreno_config.txt, the purpose if linking that to system on every boot if not done already is so it (a) can be included in ROM's and (b) will persist after a data wipe.


Thanks for all the replies guys, but if it doesn't work for you at the moment please leave it at that. Do not respond to the thread saying it doesn't work, it's a WIP and therefore issues like that are expected.

@Dan - I think there is a problem with the init.d script. It increases boot time by a lot as Aurora normally only takes around 3 seconds to boot, but with the ZIP flashed it rises to at least 8 seconds without the adreno_config.txt actually taking effect.

Should I change the ZIP to simply mount DATA and flash it to the tmp location? If peoples ROMs remove it then that's something people will have to live with for now.

Or should we change the init.d script to:

Code:
#!/system/bin/sh
#

-s /system/etc/adreno_config.txt /data/local/tmp/adreno_config.txt

That script makes no sense :p Here is the init.d script I use and it works fine for me:

Code:
#!/sbin/sh
#

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

The "if" is just checking if the file is not a symlink, that way it only links when it needs to. Avoid unneccessary writes.


BTW, all these settings on Jellybean seem to just hurt performance. That sucks. Or maybe it's because I'm on Slot 2, my SDCard is doing weird things lately.

---------- Post added at 11:43 PM ---------- Previous post was at 11:43 PM ----------

What happened? I have scores like urs for the 3d 1.. And Im trying various ways to get the mod working.

Sent from my R800i using xda premium

He's experimenting with the values.
 

Spizzy01

Senior Member
Nov 20, 2011
1,082
1,410
What happened? I have scores like urs for the 3d 1.. And Im trying various ways to get the mod working.

Sent from my R800i using xda premium
Nothing related to the mod. I set my CPU governor to Powersave instead of Performance by accident.

Please try flashing the new ZIP. If it doesn't work... Then... I dno ><

I just tried it on a fresh install of AuroraPlay, it works fine... =o
 

Top Liked Posts

  • There are no posts matching your filters.
  • 169
    2vbvu6x.png


    This only works on Gingerbread, not anything else. We are still working on finding alternative tweaks for ICS and JB
    This is a MOD to boost the performance of the Adreno 205 GPU in the Xperia Play. (This mod should also work on other Adreno devices (Adreno 205+) and whilst some people have had some success I cannot confirm which devices other than the Play it works with)

    This mod is a joint collaboration/venture of me and CosmicDan. However, as of version 0.2 CosmicDan has unfortunately left the Xperia 2011 range for better things. I wish him every success in the future.

    CosmicDan was able to find a variant of the 'adreno_config.txt' file that contains settings that should work on our device. Since finding this we have found numerous combinations of settings that increase the performance of our chips. See below.

    What does it do?
    The configuration file consists of multiple options, each which do their very own unique 'tweaking' to the way the GPU performs. One of the most notable options we are using is 'triJuice', an explanation of which is below:

    If our phones were to have their own driver application, what this would be doing is essentially moving the 'Quality/Performance' slider towards 'Performance'. This tells the GPU to concentrate on 'Performance' rather than 'Quality'.

    See CosmicDan's explanation here:
    It's common graphics stuff and the same for PC's, we have told the GPU to put a focus on performance instead of quality. But the quality is not sacrificed much, it's barely noticeable. Maybe some games will look not so well, you'll have to test and see.

    It's like we've lowered effect and texture detail on a system-wide level, allowing the CPU and GPU to give more time to work on geometry and frame updates and such. Useful because many games don't have settings for graphics quality.

    Another notable option is 'forceAutoTextureCompression'. This saves RAM and makes texture rendering faster, but the actual loading of the game might be a tiny bit slower - however once it's loaded it will have faster rendering.

    A list of possible settings for this configuration file are below (For detailed descriptions please see attached)

    Post 3 lists which settings tend to increase or reduce performance, I will not give instructions on how to modify this however if you to intend on making your own config file please use Post 3 as a guide.

    Code:
    ; Performance Analysis
    
    performance=normal
    disableExtraSwapBlit=0
    ignoreGLFlush=0
    
    ;   Binning
    
    binning=hw
    forceGuardband=0
    guardbandValue=0
    forceGmemSize=0
    gmemSize=0
    veboSetting=0
    veboSetting=0
    numBins_weight=80
    numGroups_weight=20
    
    ;    Logging
    
    log.resolves=0
    log.pm4=0
    log.pm4mem=0
    log.shaders=0
    log.sc_dev=0
    log.sc_dev_shader_name=sc_dev_dump.txt
    log.cffdump=0
    log.cffdump_with_ifh=0
    log.cffdump_no_memzero=0
    log.dumpx=0
    log.primitives=0
    
    ;    Debugging
    
    waitForIdleAfterDraw=0
    waitForIdleOnSubmit=0
    disableSwapTsIdle=0
    clockGating=off
    useSafeMode=0
    redirectDebugMessages=0
    forceChipId=Default
    
    ;    Primitive Conversion.
    
    convertTristrips=default
    convertTrifans=default
    convertLineloops=default
    shader_sub.write=0
    shader_sub.read=0
    shader_sub.trivialfs=0
    
    ;    Features and Performance
    
    facenessCulling=default
    vboDataAlignment=natural 
    enableOptimizedTextureUpdates=1
    enableOptimizedVboUpdates=1
    forceAutoTextureCompression=1
    triJuice=1
    enableInlineConstantUpdates=1
    enableMemoryPool=1
    enableFastClears=1
    ditherSafeFastClears=0
    shadowGmemInAppBuffers=1
    textureTiling=0
    preserveZStencilOnSwap=0
    allowDepthExport=0
    untileDynamicTextures=1
    fullSurfaceDynamicUpdatePath=1
    useGpuTilingHints=1
    
    ;    MultiSampling Antialiasing (MSAA) 
    
    MSAASmoothing=Normal
    MSAABufferAllocation=never
    forceMSAAMode=0
    MSAAMode=0
    VAESEnable=0
    VAESGenericError=0
    VAESFailNth=0
    VAESDoNotFailFirstN=0
    VAESRandomSeed=0
    VAESFailPercent=0
    
    ;    2D Settings
    
    2D.HwBlt=1
    2D.eglSwapMode=noidle
    2D.forceEglSwapInterval=0
    2D.eglSwapInterval=0
    
    ;    LEIA Features 
    
    leiaEnableLrzWrites=0
    leiaEnableLrzExpansion=0
    leiaExportColorForLrzUnresolve=0
    leiaEnableFastLrzUnresolves=0
    
    ;    Oxili settings.
    
    oxiliDisableLazyUpdates=0
    oxiliDisableChunkedUpdates=0
    oxiliForceShaderDirectUpdates=0
    oxiliForceConstantDirectUpdates=0
    oxiliForceIstoreCacheMode=1
    oxiliForceCstoreSingleBuffer=0
    oxiliForceShaderSingleContext=0
    oxiliForceSuperthreadMode=1
    oxiliForceVsSingleThread=0
    oxiliForceFsSingleThread=0
    oxiliForceSingleSp=0
    oxiliSkipClears=0
    oxiliForceSysmemRender=1
    
    ;    Other settings
    
    FPSCap=60
    allowFloatFBOs=1
    suppressTimestampInterrupts=0
    GPUIdleTimeout=off
    GPUIdleTimeoutMsec=0

    Please ignore the values of the above settings unless otherwise stated. The majority of these are stock/default values for our device.

    Downloads - Official repository

    AdrenoBooster v0.7

    AdrenoBooster v0.6

    AdrenoBooster v0.5 - Quality Edition

    AdrenoBooster v0.4.1 - Battery Edition

    AdrenoBooster v0.3 - Minimal Edition - This version will give you the best performance - stability ratio. Whilst the other versions may give you better performance but in some rare instances lower quality/artifacts, this version should give you the best of both worlds.

    AdrenoBooster v0.1

    AdrenoBooster v0.2

    Instructions

    Download and copy the ZIP to SD Card. Then flash using CWM. :)

    NOTE: Please ensure you reboot your device after the first boot post-installation of the mod or it will not be active.


    Requirements

    Init.d support
    Root
    Any Gingerbread ROM


    Screenshots

    2n08w2w.png
    r8t2yh.png
    screenshot_2013_02_27_2107_by_br_david-d5wes33.png


    IMPORTANT!! - Please ensure you thank 'CosmicDan' as well for this fantastic mod. A huge portion of the work has been done by him!
    (See 5th post if you would like to 'Thank' him)
    54
    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
    35
    Troubleshooting

    First, give yourself another reboot - Just in case!

    If it still doesn't seem to be working for you, check to see if the files have copied to your device. Check the following locations for the following files with any file manager with Root support.

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

    You should also see adreno_config.txt in the following location if the init.d script is working correctly: /data/local/tmp
    If this file is not in this location then chances are you do not have init.d support.

    Black screen on boot? See here: http://xdaforums.com/showpost.php?p=40013461&postcount=377

    Extras

    You can assist with the testing of some of these settings by doing the following:

    • Open a new text file in a standard text editor (Notepad++ or Notepad for Windows)
    • Choose values from the above post to put into your configuration file. (Use the attached adreno_config.txt file as an indication of what setting does what)
    • Save this new file as 'adreno_config.txt'
    • Copy this text file to your phones SD Card.
    • Open your File Manager on your phone (I use ES File Explorer)
    • Prepare adreno_config.txt on your SD Card for copying
    • Navigate to /Data/local/tmp and paste the file there
    • Reboot.

    Please be aware that if you have any cleaner init.d scripts this will NOT work, as when you reboot /data/local/tmp will be deleted.


    Devs/Chefs/Tinkerers

    If you would like to add this to your ROM please simply drop a short request in this thread or PM.

    After which, please ensure proper credit is given.


    Current Antutu Highscore
    (With the benefits of this mod) - By CrypticRook

    2wn8ylt.jpg



    Manually Uninstalling the Mod


    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
    31
    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
    22
    Quick post because I'm short on time atm.

    AdrenoBooster v0.7 Released


    This is an initial/tester version. Please let me know how it performs so I can do some final tweaks (if any).

    This version supports loads more devices and is highly recommended.

    It also includes numerous build.prop entries to enable GPU Accelleration/Rendering throughout the UI and OS.
    If you are having negative results at any point, try removing the build.prop entries and see how things go.

    Download
    AdrenoBooster v0.7 - NovaProject