Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,731,300 Members 52,570 Now Online
XDA Developers Android and Mobile Development Forum

[Android 2.1+][03.10.2011][v3.2] Chainfire3D [ROOT][OpenGL ES 2.0+]

Tip us?
 
Chainfire
Old
(Last edited by Chainfire; 3rd October 2011 at 08:33 PM.)
#1  
Chainfire's Avatar
Senior Moderator / Senior Recognized Developer - Where is my shirt? - OP
Thanks Meter 48684
Posts: 8,982
Join Date: Oct 2007

 
DONATE TO ME
Default [Android 2.1+][03.10.2011][v3.2] Chainfire3D [ROOT][OpenGL ES 2.0+]

OpenGL Configuration Guide

So how does one configure Chainfire3D the best way possible ? It is easy if you know what you are doing. By default, you want to enable as little as possible.

Basics
As stated, you want to enable as little as possible to make apps work the way you want, as the more you enable, the more CPU Chainfire3D will use to do the work.

IMPORTANT #1: Simply enabling all the options is counterproductive, unless you know you need them all.

IMPORTANT #2: Enabling both "Reduce texture quality" and "Unroll textures" is quite a silly thing to do. Read their descriptions, and think about it for a minute

Both options are available because performance-wise, on some hardware one is better, while on other hardware the other is better.

IMPORTANT #3: "Reduce texture size" is NOT compatible with a LOT of apps. If you are seeing weird things, this setting is likely the problem.

(1) When starting out, you simply shouldn't enable anything. When running an app, and it doesn't work as expected, first go into the configuration and see if there is a plugin (only) you can use to make it work better.

(2) If there is no plugin or you are not satisfied with it, try the "Reduce texture quality" option to see if it improves performance. This is the most "compatible" option to use. Though texture memory use is cut in half, often you don't see a big difference (or any difference at all even) in the end-result being displayed on screen.

(3) Alternatively, try the "Unroll textures" option. Be sure to UNcheck the "Reduce texture quality" option when using this.

(4) As last resort, use the "Reduce texture size" option. While this option greatly reduces memory usage and can have an awesome speed improvement as result, it is NOT compatible with a LOT of apps.

(5) If performance is adequate, try enabling the MSAA feature to improve visual quality.

Specifics - Free version
In the free version, you can only configure the "default" settings, so you'll likely be in the Chainfire3D configuration tool a lot. I strongly advise that when you are NOT using Chainfire3D for something specific, you disable all the options. This is better for system performance.

Specifics - Pro version
In the pro version, I strongly advise disabling ALL the options under "default" settings, and ONLY use "per-app" configuration. This will greatly reduce the chance of conflicting settings between different apps, which does actually happen a lot ! It is also the best possible configuration you can have performance-wise.
BLOG - G+(Chainfire) - G+(Personal) - TWITTER - IRC - DONATE

A proper quote includes only the relevant paragraphs, and a proper post never ends with the word "why"

Android
HTC G1, Hero, One
Samsung i5800, i9000*2, P1000*2, P7100, i9100*2, N7000, P6800, i9300, N7100, i9505, N9005
Sony T LT30p, Z C6603
Nexus Galaxy*2, N7, N10, N7-2013

SuperSU, Mobile ODIN, TriangleAway, DSLR Controller, CF-Root, 500 Firepaper, OpenDelta, USB Host Diagnostics, ExynosAbuseAPK, Live dmesg+logcat, NoMoarPowah!, CF-Bench, Chainfire3D, CF.lumen, SGS2 SIM Unlocker, GingerBreakAPK, SuperPower, and more!

Windows Mobile 5/6
E-Mobile EM-ONE
HTC Wizard*2, Kaiser, Touch, Diamond, Pro, HD*2, Diamond 2, Pro 2*2, HD2*2
Samsung i780, i900*2, i8000*2, b7300, b7320, b7330, b7620*2, b6520

WMWifiRouter, KaiserTweak, FPUEnabler, WMLongLife, WMRegOptimizer, CFC+GUI, TF3D+v2 ports, Kaiser+Omnia2+Snapdragon 3D drivers, GfxBoost, and more!

Windows Phone 7
LG GW910

NOTICE: I do not respond to tech support questions through PM.
The Following 150 Users Say Thank You to Chainfire For This Useful Post: [ Click to Expand ]
 
Chainfire
Old
(Last edited by Chainfire; 24th May 2011 at 11:16 AM.)
#2  
Chainfire's Avatar
Senior Moderator / Senior Recognized Developer - Where is my shirt? - OP
Thanks Meter 48684
Posts: 8,982
Join Date: Oct 2007

 
DONATE TO ME
Default Plugins / API

Currently available plugins

There are currently no plugins available from my hand, but it appears somebody has compiled and released libGLEMU_NVIDIA, libGLEMU_QUALCOMM, and libGLEMU_POWERVR plugins. You may find them if you search for them

WARNING: I did not write, compile, or release these plugins, and thus I cannot vouch for their quality, or that they don't do anything evil to your device. You should also be aware that they may not be legal to use in your area.

Plugin installation
Plugins are .so files called libGLEMU_xxxxx.so . They should be wrapped in a libGLEMU_xxxxx.zip file. Simply put this zip file on your /sdcard, and use the "Install Plugin" option in Chainfire3D.

API
Attached is a zip file containing some information "by example" on how to build plugins. Read the README.TXT file!
Attached Files
File Type: zip Chainfire3D-API-v1.0.zip - [Click for QR Code] (9.2 KB, 66016 views)
BLOG - G+(Chainfire) - G+(Personal) - TWITTER - IRC - DONATE

A proper quote includes only the relevant paragraphs, and a proper post never ends with the word "why"

Android
HTC G1, Hero, One
Samsung i5800, i9000*2, P1000*2, P7100, i9100*2, N7000, P6800, i9300, N7100, i9505, N9005
Sony T LT30p, Z C6603
Nexus Galaxy*2, N7, N10, N7-2013

SuperSU, Mobile ODIN, TriangleAway, DSLR Controller, CF-Root, 500 Firepaper, OpenDelta, USB Host Diagnostics, ExynosAbuseAPK, Live dmesg+logcat, NoMoarPowah!, CF-Bench, Chainfire3D, CF.lumen, SGS2 SIM Unlocker, GingerBreakAPK, SuperPower, and more!

Windows Mobile 5/6
E-Mobile EM-ONE
HTC Wizard*2, Kaiser, Touch, Diamond, Pro, HD*2, Diamond 2, Pro 2*2, HD2*2
Samsung i780, i900*2, i8000*2, b7300, b7320, b7330, b7620*2, b6520

WMWifiRouter, KaiserTweak, FPUEnabler, WMLongLife, WMRegOptimizer, CFC+GUI, TF3D+v2 ports, Kaiser+Omnia2+Snapdragon 3D drivers, GfxBoost, and more!

Windows Phone 7
LG GW910

NOTICE: I do not respond to tech support questions through PM.
The Following 93 Users Say Thank You to Chainfire For This Useful Post: [ Click to Expand ]
 
TheDeadCPU
Old
(Last edited by TheDeadCPU; 19th May 2011 at 10:17 PM.)
#3  
TheDeadCPU's Avatar
Retired Senior Moderator
Thanks Meter 679
Posts: 2,014
Join Date: Jun 2009
Location: ლ(ಠ益ಠლ) Y U WANT MY LOCATION?
The awesomeness of this is so big that it almost makes bacon boring.
Follow me on twitter?
Please only PM on very urgent matter. All other PMs will be ignored.
The Following 17 Users Say Thank You to TheDeadCPU For This Useful Post: [ Click to Expand ]
 
bilboa1
Old
#4  
Recognized Developer
Thanks Meter 303
Posts: 1,158
Join Date: Aug 2010

 
DONATE TO ME
woot now that's cool stuff =)
The Following User Says Thank You to bilboa1 For This Useful Post: [ Click to Expand ]
 
Chainfire
Old
(Last edited by Chainfire; 19th May 2011 at 10:16 PM.)
#5  
Chainfire's Avatar
Senior Moderator / Senior Recognized Developer - Where is my shirt? - OP
Thanks Meter 48684
Posts: 8,982
Join Date: Oct 2007

 
DONATE TO ME
Now if only somebody would be so nice to compile and post PVRTC / ATITC / S3TC plugins on an external host, you could play for example TegraZone games on your SGS2
BLOG - G+(Chainfire) - G+(Personal) - TWITTER - IRC - DONATE

A proper quote includes only the relevant paragraphs, and a proper post never ends with the word "why"

Android
HTC G1, Hero, One
Samsung i5800, i9000*2, P1000*2, P7100, i9100*2, N7000, P6800, i9300, N7100, i9505, N9005
Sony T LT30p, Z C6603
Nexus Galaxy*2, N7, N10, N7-2013

SuperSU, Mobile ODIN, TriangleAway, DSLR Controller, CF-Root, 500 Firepaper, OpenDelta, USB Host Diagnostics, ExynosAbuseAPK, Live dmesg+logcat, NoMoarPowah!, CF-Bench, Chainfire3D, CF.lumen, SGS2 SIM Unlocker, GingerBreakAPK, SuperPower, and more!

Windows Mobile 5/6
E-Mobile EM-ONE
HTC Wizard*2, Kaiser, Touch, Diamond, Pro, HD*2, Diamond 2, Pro 2*2, HD2*2
Samsung i780, i900*2, i8000*2, b7300, b7320, b7330, b7620*2, b6520

WMWifiRouter, KaiserTweak, FPUEnabler, WMLongLife, WMRegOptimizer, CFC+GUI, TF3D+v2 ports, Kaiser+Omnia2+Snapdragon 3D drivers, GfxBoost, and more!

Windows Phone 7
LG GW910

NOTICE: I do not respond to tech support questions through PM.
The Following 14 Users Say Thank You to Chainfire For This Useful Post: [ Click to Expand ]
 
stian230
Old
(Last edited by stian230; 19th May 2011 at 10:17 PM.)
#6  
stian230's Avatar
Senior Member
Thanks Meter 1185
Posts: 1,216
Join Date: Oct 2009
Location: Penguin land,way up north.

 
DONATE TO ME
Nice work...
Nexus 5 White 32g
Samsung galaxy S 4
samsung GALAXY SIII Lte I9305
Htc one X
samsung Galaxy S2
Htc vision x 2

Nexus one
Htc Magic x 2
Htc Diamond
Sony ericsson p1i
Htc TyTN II
Sony ericsson p800
Qtek 9000
Qtek 9090


The Following User Says Thank You to stian230 For This Useful Post: [ Click to Expand ]
 
Fysi
Old
#7  
Senior Member
Thanks Meter 48
Posts: 180
Join Date: Feb 2010
You absolute legend!
The Following User Says Thank You to Fysi For This Useful Post: [ Click to Expand ]
 
Jwtiyar
Old
#8  
Jwtiyar's Avatar
Senior Member
Thanks Meter 127
Posts: 1,017
Join Date: Nov 2010
Location: Sulaymanyah

 
DONATE TO ME
my phone rooted i installed recovery and i have cyanogenmod ROM,
but when i try to open the app it say (could not acquire SuperUser access ! is your device rooted?

Nexus S.
thanks.
My WebBlog
Me on G+


Nokia N73 >> LG gt540 >> HTC wildfire >> HTC Desire >> Nexus S >> Desire HD >> HTC Sensation >> HTC One X >> HTC One >> Moto G >> HTC One M8
If I helped You Just Press Thanks Button Below
 
lolobabes
Old
(Last edited by lolobabes; 8th June 2011 at 02:28 PM.)
#9  
lolobabes's Avatar
Senior Member
Thanks Meter 22
Posts: 467
Join Date: Mar 2010
Location: Manila
got samurai vengeance 2 and riptide to work, can i just confirm that the right plugin for bang bang thd is nvidia right? hangs on N1
 
djsolidsnake86
Old
#10  
Senior Member
Thanks Meter 67
Posts: 1,824
Join Date: Feb 2009
anyone is working for hd2 shaders?
Tags
chainfire3d
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes