Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP Chainfire

19th May 2011, 09:50 PM   |  #1  
Chainfire's Avatar
OP Senior Moderator / Senior Recognized Developer - Where is my shirt?
Thanks Meter: 55,660
 
9,480 posts
Join Date:Joined: Oct 2007
Donate to Me
More
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.
Last edited by Chainfire; 3rd October 2011 at 09:33 PM.
The Following 150 Users Say Thank You to Chainfire For This Useful Post: [ View ]
19th May 2011, 10:53 PM   |  #2  
Chainfire's Avatar
OP Senior Moderator / Senior Recognized Developer - Where is my shirt?
Thanks Meter: 55,660
 
9,480 posts
Join Date:Joined: Oct 2007
Donate to Me
More
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, 67448 views)
Last edited by Chainfire; 24th May 2011 at 12:16 PM.
The Following 93 Users Say Thank You to Chainfire For This Useful Post: [ View ]
19th May 2011, 11:09 PM   |  #3  
TheDeadCPU's Avatar
Retired Senior Moderator
Flag ლ(ಠ益ಠლ) Y U WANT MY LOCATION?
Thanks Meter: 684
 
2,015 posts
Join Date:Joined: Jun 2009
More
The awesomeness of this is so big that it almost makes bacon boring.
Last edited by TheDeadCPU; 19th May 2011 at 11:17 PM.
The Following 17 Users Say Thank You to TheDeadCPU For This Useful Post: [ View ]
19th May 2011, 11:11 PM   |  #4  
Recognized Developer
Thanks Meter: 324
 
1,214 posts
Join Date:Joined: Aug 2010
Donate to Me
woot now that's cool stuff =)
The Following User Says Thank You to bilboa1 For This Useful Post: [ View ]
19th May 2011, 11:13 PM   |  #5  
Chainfire's Avatar
OP Senior Moderator / Senior Recognized Developer - Where is my shirt?
Thanks Meter: 55,660
 
9,480 posts
Join Date:Joined: Oct 2007
Donate to Me
More
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
Last edited by Chainfire; 19th May 2011 at 11:16 PM.
The Following 14 Users Say Thank You to Chainfire For This Useful Post: [ View ]
19th May 2011, 11:15 PM   |  #6  
stian230's Avatar
Senior Member
Flag Penguin land,way up north.
Thanks Meter: 1,186
 
1,218 posts
Join Date:Joined: Oct 2009
Donate to Me
Nice work...
Last edited by stian230; 19th May 2011 at 11:17 PM.
The Following 2 Users Say Thank You to stian230 For This Useful Post: [ View ]
19th May 2011, 11:21 PM   |  #7  
Senior Member
Thanks Meter: 48
 
180 posts
Join Date:Joined: Feb 2010
More
You absolute legend!
The Following User Says Thank You to Fysi For This Useful Post: [ View ]
8th June 2011, 02:42 PM   |  #8  
Jwtiyar's Avatar
Senior Member
Flag Sulaymanyah
Thanks Meter: 132
 
1,107 posts
Join Date:Joined: Nov 2010
Donate to Me
More
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.
8th June 2011, 03:00 PM   |  #9  
lolobabes's Avatar
Senior Member
Flag Manila
Thanks Meter: 22
 
467 posts
Join Date:Joined: Mar 2010
More
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
Last edited by lolobabes; 8th June 2011 at 03:28 PM.
9th June 2011, 12:15 PM   |  #10  
Senior Member
Thanks Meter: 68
 
1,838 posts
Join Date:Joined: Feb 2009
anyone is working for hd2 shaders?
Post Reply Subscribe to Thread

Tags
chainfire3d
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes