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

Search This thread

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!]

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.




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 ----------



He's experimenting with the values.

I used ur script and it does not work? Maybe upload ur script as a text file? I placed it in init and have adreno_config.txt in data/local/tmp

Is this what's in adreno_config.txt?

; AuroraPlay Adreno Configuration -- VERSION 1

facenessCulling=off
forceAutoTextureCompression=1
triJuice=3
2D.HwBlt=1

Sent from my R800i using xda premium
 
Last edited:

Spizzy01

Senior Member
Nov 20, 2011
1,082
1,410
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.




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 ----------



He's experimenting with the values.
I took the assumption that the line I left in was just the Symlink line lol. I guess not xD

If all else fails, could you not use something like this:

Code:
symlink("/data/local/tmp/adreno_config.txt", "/system/etc/adreno_config.txt");

In the ZIP's updater-script? (I have no idea by the way, just throwing that out there xD)

I'll re-update the ZIP again with your original init.d script then.

I'm currently using my desktop at work so I've got bugger all resources that I would normally have on my PC at home. For all I know the ZIP is most likely borked and not actually flashing anything. lol

If anything we will have to wait until I get home from work to sort the ZIP out.

@Fat_Boy555 - Yes that is the script that is currently being used and soon will be included in v0.5 of AuroraPlay (Hence the title at the top) I was just using that one to avoid faffing about really.

If you've downloaded the new ZIP and it's still not working then please wait until later this evening when I can do it properly.
 
Last edited:

CosmicDan

Senior Member
Jun 19, 2009
5,906
7,746
37
Sydney
Xiaomi Poco X3 Pro
Re: [MOD][WIP] AdrenoBooster v0.1 [2x Improved Graphics Performance!]

I used ur script and it does not work? Maybe upload ur script as a text file? I placed it in init and have adreno_config.txt in data/local/tmp

Is this what's in adreno_config.txt?

; AuroraPlay Adreno Configuration -- VERSION 1

facenessCulling=off
forceAutoTextureCompression=1
triJuice=3
2D.HwBlt=1

Sent from my R800i using xda premium

With that script the txt file needs to be at system/etc/adreno_config.txt

Make sure the txt file is saved as UNIX format.

Sent from Xperia Play (R800a) running Turbo UI Classic with Tapatalk
 

masteril

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

WOW

Sent from my R800i using xda app-developers app
 

Attachments

  • uploadfromtaptalk1361971453005.jpg
    uploadfromtaptalk1361971453005.jpg
    15.1 KB · Views: 297

Spizzy01

Senior Member
Nov 20, 2011
1,082
1,410
Use this ZIP spizzy, adjust as necessary. You probably forgot to set permissions or something.

Fat_Boy - flash this. Boot ROM. Then reboot *again*. Then do a benchmark to test.
Thanks for that Dan.

God knows where mine was going wrong then. I checked the directories after flashing the old ZIP and the files weren't there - Must've been a dodgy update-binary or something.

That's what I get for doing such things during work!

I updated the first post's download link and added a few lines to the updater-script so people know what it is.

I also updated the third post with the 'Tested Settings'. I'll try a few more later.
 

CosmicDan

Senior Member
Jun 19, 2009
5,906
7,746
37
Sydney
Xiaomi Poco X3 Pro
Re: [MOD][WIP] AdrenoBooster v0.1 [2x Improved Graphics Performance!]

I said it a few posts back, these configs actually hurt performance on Jellybean.

We need tests on ICS still, both AOSP and Stock based.

Sent from Xperia Play (R800a) running Turbo UI Classic with Tapatalk
 

masteril

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

1.9 mhz just amazing! Well done all thanks for all the eford that you make for us. Going to test some gaming.

Sent from my R800i using xda app-developers app
 

Attachments

  • uploadfromtaptalk1361972293818.jpg
    uploadfromtaptalk1361972293818.jpg
    15.2 KB · Views: 246

Fat_boy555

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

Maybe because I'm using jb so I dun feel the difference.. Let me try in slot 2 with nxt2jb..
And Im getting screen tear in antutu.. Anyway to remove this since it hurts performance?
Sent from my R800i using xda premium
 

Spizzy01

Senior Member
Nov 20, 2011
1,082
1,410
Maybe because I'm using jb so I dun feel the difference.. Let me try in slot 2 with nxt2jb..
And Im getting screen tear in antutu.. Anyway to remove this since it hurts performance?
Sent from my R800i using xda premium
If you want to delete the mod simply navigate to /System/etc and delete 'adreno_config.txt' in any File Manager.

Be sure to mount 'System' as writeable on your File Manager first.
 

El Diablo

Senior Member
Feb 16, 2008
165
10
No performance increase with AuroraPlay v0.4 and LupusGB v6, JokaWild v3 with Doomkernel v14. (Tested with FPSE).

Can anyone confirm that there is no difference in gaming performance?
 

Spizzy01

Senior Member
Nov 20, 2011
1,082
1,410
No performance increase with AuroraPlay v0.4 and LupusGB v6, JokaWild v3 with Doomkernel v14. (Tested with FPSE).

Can anyone confirm that there is no difference in gaming performance?
All of the screenshots I have provided have been taken with AuroraPlay v0.4. This mod gives a huge performance boost to all Gingerbread ROMs. If you are not experiencing any changes then it is not working correctly for you.

I can confirm that Dead Tigger has a much higher FPS on 'High' settings with the Mod installed than without. FPSE is a bad application to test this sort of performance as unless you are using the OpenGL plugin the majority of it is processed by the CPU.

I'll post some before and after shots eventually, but for now we are more interested in getting the perfect combination of settings and are still in the process of researching what does what.
 

chabbe11

Senior Member
Oct 27, 2009
181
6
Flashed it, but it didn't affect my results. I'm on Stock 2.3.4 with Init.d support, flashed the ZIP and made a complete reboot after the flash. But still, I'm only getting 4500ich results and not near 7500
 

El Diablo

Senior Member
Feb 16, 2008
165
10
All of the screenshots I have provided have been taken with AuroraPlay v0.4. This mod gives a huge performance boost to all Gingerbread ROMs. If you are not experiencing any changes then it is not working correctly for you.

I can confirm that Dead Tigger has a much higher FPS on 'High' settings with the Mod installed than without. FPSE is a bad application to test this sort of performance as unless you are using the OpenGL plugin the majority of it is processed by the CPU.

I'll post some before and after shots eventually, but for now we are more interested in getting the perfect combination of settings and are still in the process of researching what does what.

Yes, I always test with the OpenGL plug-in. What am I doing wrong? Just flashed FW .58 and AP v4, afterwards flashed the Adreno Booster. Looks like I'm missing a step...
 

masteril

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

Flashed it, but it didn't affect my results. I'm on Stock 2.3.4 with Init.d support, flashed the ZIP and made a complete reboot after the flash. But still, I'm only getting 4500ich results and not near 7500

So.. Its not working. you have done something wrong. Or you dont have Init.d. Support.

Sent from my R800i using xda app-developers app
 

Spizzy01

Senior Member
Nov 20, 2011
1,082
1,410
Yes, I always test with the OpenGL plug-in. What am I doing wrong? Just flashed FW .58 and AP v4, afterwards flashed the Adreno Booster. Looks like I'm missing a step...
Download Antutu Benchmark - Give it a quick run and see if it scores over 7000. If not, then that definitely confirms that something has gone wrong somewhere.

@Dan - Your Settlers/Age of Empires rip-off :)P jk) Townsmen seems to run perfectly. How bad was it before the mod? I guess I have to play a fair amount to get plenty of buildings and stuff happening before it starts to crap out?
 

Rittik

Senior Member
Nov 5, 2011
1,293
765
Kolkata
play.google.com
Re: [MOD][WIP][GB/ICS?] AdrenoBooster v0.1 [2x Improved Graphics Performance!]

Wow i was just going through xda.
I own a huawei ideos x5pro..adreno 205. Well this should work same with almost all 205s? Should i try this? I mean awesome topic and seeing you guys antutu scores is pretty epic. Thanked at OP.

What u guys suggest? Should i try? Or is it device specific

-Rik[Rittik]
 

Spizzy01

Senior Member
Nov 20, 2011
1,082
1,410
Wow i was just going through xda.
I own a huawei ideos x5pro..adreno 205. Well this should work same with almost all 205s? Should i try this? I mean awesome topic and seeing you guys antutu scores is pretty epic. Thanked at OP.

What u guys suggest? Should i try? Or is it device specific

-Rik[Rittik]
It is Adreno specific and should work with all Adreno 200 series chipsets. (should!)

Of course, it hasn't been tested yet so I cannot confirm - But there's no reason as to why it shouldn't work.

If you intend on giving it a go be sure to do a Nandroid backup first. If possible, please post back with any results. Thanks. :)
 

Rittik

Senior Member
Nov 5, 2011
1,293
765
Kolkata
play.google.com
Re: [MOD][WIP][GB/ICS?] AdrenoBooster v0.1 [2x Improved Graphics Performance!]

My phone is adreno205 and ofc i backed up nandroid ;)
Anyway you guys changing any drivers in

Root/system/libs/egl ?
Or just config.txt?

-Rik[Rittik]
 

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