5,604,686 Members 38,573 Now Online
XDA Developers Android and Mobile Development Forum

[26.07.2010] Turbo3D v3.0 *FINAL* (also available from Marketplace)

Tip us?
 
Chainfire
Old
(Last edited by Chainfire; 26th July 2010 at 01:39 PM.)
#1  
Chainfire's Avatar
Senior Moderator / Senior Recognized Developer - Where is my shirt? - OP
Thanks Meter 46111
Posts: 8,834
Join Date: Oct 2007

 
DONATE TO ME
Default [26.07.2010] Turbo3D v3.0 *FINAL* (also available from Marketplace)

Turbo3D
(Formerly known as HD2/Leo 3D Driver Patch)



PLEASE READ THE ENTIRE POST BEFORE DOWNLOADING ! CHEFS: PLEASE SEE this POST.

About
Many Snapdragon devices (HD2, Expo, S200/F1, TG-01, etc) have an issue with OpenGL that makes 3D games very slow and/or stutter. Turbo3D tries to fix this. The driver works on non-Snapdragon devices as well, but I doubt you'll see a lot of difference.

Usage
The CAB file for Turbo3D is attached and called "Chainfire-Turbo3D-X.X.cab", where X.X is the version number.

The Turbo3D driver is fully automatic - just install and reboot - yet you can override the default configuration. A short help file is also included in the configuration tool ("Turbo3D" in the start menu)

The Turbo3D driver can operate in 3 modes:

(1) "Original" - Don't do any magic, just use the stock 3D drivers, mostly terrible
(2) "Fast" - Improve performance as much as possible, works great for most games and apps
(3) "Smooth" (Anti-Stutter) - Prevent stutter lag, some games and apps need this mode to run smoothly

By default, any application the driver does not "know", runs in "Fast" mode. This default can be changed in the configuration tool. As soon as an app runs that uses GL, the driver registers this, and after running it for the first time, the mode to use for this app can be configured in the configuration tool. For most apps and games you will probably never have to change the default settings.

As stated, some apps and games require "Smooth" mode to run fluently (these are marked with a * in the list in the second post), for these you will have to go into the config tool and change the setting for that specific app.

This leaves only one setting in the configuration tool unexplained: the "frame time" setting. By default this is set to "18 ms" which seems to work well for most users. If you find all your GL apps and games are still stuttering, try setting this value to "20 ms" or "22 ms". It will slow down rendering slightly, but it might improve visuals. On my own device I get the very best performance on the "18 ms" settings, with "17 ms" introducing major stutter again.

Please note that the driver settings are read when an application starts. Changing settings in the configuration will not take effect until you restart the application that is using GL.

Compatibility
Compatible with all OpenGL able devices, but you will probably only see benefits on Snapdragon devices.

Installation
Before installing Turbo3D, first manually uninstall any older versions of Turbo3D or HD2/Leo 3D Driver Patch.

After that, just install the CAB (to device, NOT to storage card !), and reboot your device.

Do NOT install Turbo3D on a ROM that has an older version of the driver cooked in !

Marketplace and donations
Over 65 000 users are using my 3D drivers, only a handful have donated. So I'm going to try a little experiment:

You can now also get Turbo3D from Marketplace as an alternative form of donation (no need for PayPal). This is also so the general non-XDA public can get notice of the driver. The price is $ 3.99 / Euro 3.39 - or equivalent in your countries currency. The link only works if Turbo3D is available in your native market. Currently it is available in all English markets, and soon it will also be available in all German, French, and Dutch markets. If you are not from any of these markets, you can navigate to the United States / English or United Kingdom / English markets through Marketplace settings. Please, if you are from inside the EU, use United Kingdom, and if from outside the EU, use United States market (has to do with taxes, saves me a lot of work).

If you decide to give a little back to me through Marketplace, please also leave a 5 star rating and a comment on how well it works on your device and apps / games. This again helps me get more purchases from the non-XDA public

You can still donate directly to me here: http://www.jongma.org/dx.php

I've spent hundreds of hours trying to perfect this - please show your appreciation for my hard work ! Thank you !

Note that there is no functional difference between the version attached to this post and the one on Marketplace, but I would manually uninstall one before installing the other.

Extra
Attached is also a hardware accelerated Direct3D Mobile driver ("Chainfire-TG01-D3DM.cab"). Stock HD2 ROMs do not come with this driver. You could try installing it and seeing if it improves performance for certain apps and games, probably those that use DirectDraw. Some people have for example reported improved performance in CorePlayer using this CAB file. It was originally taken from the TG-01. I've been told by some chefs there is a Microsoft-built D3DM driver floating around that gives even better performance. I would not install this CAB file on anything else but a stock HD2.

Thanks to
lesscro, NuShrike, l3v5y, nrgz28, heliosdev, clubtech, christonabike, aussiebum, kholk, hanskl, GinKage, p50kombi, AstainHellbring and anyone I might have forgotten who helped test or had useful comments, etc.

Download
If you appreciate this patch, please make a donation or purchase it from Marketplace (see above)

NO REDISTRIBUTING THIS DRIVER! FOR COOKING RULES, SEE this POST --- SOFT-RESET AFTER INSTALLATION --- INSTALL ON DEVICE, NOT STORAGE CARD

all downloads << 3.0: 67091
Attached Files
File Type: cab Chainfire-TG01-D3DM.cab - [Click for QR Code] (1.04 MB, 48935 views)
File Type: cab Chainfire-Turb3D-3.0.cab - [Click for QR Code] (419.9 KB, 45662 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.
 
Chainfire
Old
(Last edited by Chainfire; 25th July 2010 at 06:40 PM.)
#2  
Chainfire's Avatar
Senior Moderator / Senior Recognized Developer - Where is my shirt? - OP
Thanks Meter 46111
Posts: 8,834
Join Date: Oct 2007

 
DONATE TO ME
Default Apps, games, benchmarks

Apps and games
This patch has been tested (at least somewhat) with the following apps and games:

- glBenchmark
- helios.dev "Test OpenGL"
- helios.dev "Test OpenGL 2"
- A few of my own OpenGL test tools
- Sense
- SPB Mobile Shell 3.5 (HW accel)
- Opera Mobile (GL mode, see this post by Tung_meister)
- Cubespace
- NFS Undercover [v0.1.5 doesn't seem to work nice, but v17 does?]
- Electopia Demo
- Boom Blox *
- Tower Defense **
- Flight Commander *
- Monopoly World *
- Xtrakt
- Experiment 13
- PowerVR demos *

* Reported to work best in "slow / anti-stutter" mode
** Reports differ on whether to use "slow / anti-stutter" mode or not

Note that if your phone is busy doing other things it will still make your phone slow! This patch only tries to fix driver-related stutter.

Please report your games/apps, whether they work better or not and in which mode they work right!

glBenchmark
Attached are some glBenchmark results of the various patch revisions. Some awesome improvements in the HD and Pro tests, as well as kTriangles/s. Though glBenchmark is nice, these figures do need to be taken with a grain of salt - it's not all that is important, smoothness and compatibility are also important.

Here's a grab out of the results.

Stock HD2 vs Patch 1.1

GLBenchmark HD ES 1.1: 487% ~ 1598 Frames up from 328
GLBenchmark HD ES 1.1 no GPU Skinning: 502% ~ 1647 Frames up from 328
GLBenchmark PRO ES 1.1: 107% ~ 229 Frames up from 215
GLBenchmark Pro ES 1.1 no GPU Skinning: 157% ~ 625 Frames up from 397
Swapbuffer speed: 496% ~ 556 up from 112

Averages: Lights: 116% ~ 1550 kTriangles/s up from 1350
Averages: Texture Filter: 159% ~ 2150 kTriangles/s up from 1350
Averages: Texture Size: 158% ~ 2150 kTriangles/s up from 1350
Averages: Triangles: 161% ~ 2150 kTriangles/s up from 1350

Test Suite
Well, it's not really a test suite, but here's 35mb of OpenGL ES v1 and v2 apps, games and demos I use for testing: http://rapidshare.com/files/40810203...Suite.rar.html

Note that all of the included files are freely available from XDA, the authors' site, or a freeware app site.
Attached Files
File Type: zip glBenchmark-Results-1.1.zip - [Click for QR Code] (11.7 KB, 2005 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.
 
Chainfire
Old
(Last edited by Chainfire; 26th July 2010 at 01:29 PM.)
#3  
Chainfire's Avatar
Senior Moderator / Senior Recognized Developer - Where is my shirt? - OP
Thanks Meter 46111
Posts: 8,834
Join Date: Oct 2007

 
DONATE TO ME
Default Chefs and Developers

For Chefs

I am putting down some ground rules for using my driver in your ROMs:

The rules apply only to the Chainfire-Turbo3D-X.X package (you can do whatever you want with the TG01-D3DM package).

Cooking the driver patch is allowed if-and-only-if all of these conditions are met:

- The main release and support thread of your ROM is located on XDA-Developers.com
- The download of the ROM is "free for all" (with an exception for closed beta ROMs)
- The release and support threads note that this driver is used, "Chainfire" is credited for it, and includes a link to this thread ( http://forum.xda-developers.com/showthread.php?t=592663 )
- Turbo3D configuration tool must be included, working, and be available through the start menu (or a subfolder thereof)
- All files must end up in \Windows
- You must test it before releasing (NOTE: Turbo3D uses a service! Make sure it is working!)

If you do cook it into your ROM, I request you let me know either by sending me a PM or posting in this thread (thank you). I feel these conditions are fair. If you can't meet all of them, feel free to PM me.

All DLL and EXE files in my CAB are signed with a dummy certificate, you might want to remove those signatures before cooking in.

For developers

This patch blocks 4 bits-per-subpixel modes, but these can still be used by setting EGL_CONFIG_ID in your GL configuration attributes. Attached is a CSV with a listing of all (original) configurations, including their various attributes (including EGL_CONFIG_ID).
Attached Files
File Type: zip HD2-eglConfigs.zip - [Click for QR Code] (757 Bytes, 4705 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.
 
Chainfire
Old
(Last edited by Chainfire; 26th July 2010 at 12:40 PM.)
#4  
Chainfire's Avatar
Senior Moderator / Senior Recognized Developer - Where is my shirt? - OP
Thanks Meter 46111
Posts: 8,834
Join Date: Oct 2007

 
DONATE TO ME
Default Changelogs

v3.0 *FINAL*, 26.07.2010
- Final tweaks
- Marketplace release (EN-US)
- Ready for cooking
- Works on all GL-capable devices, though aside from Snapdragon I doubt you'll see any difference.

v2.60 BETA, 21.07.2010
- Complete rebranding to "Turbo3D"
- CL libraries have been removed, as they don't work and nobody uses them anyways
- Added "help" tab
- Fixed an issue that caused "unknown" apps always to run in "fast" mode, instead of the configured default GL mode
- Fixed an issue related to .NET based OpenGL ES v2 apps
- Frametime is back to 18 ms
- Added "Test Suite" link to first post

v2.50 BETA, 08.07.2010
- Added ordinals to proxied functions, improves compatibility for some OEM-built apps (for example on LG Expo)
- Completely reworked the loading and initialization of the driver, so no ROM files have to be overwritten anymore. This negates the need for a seperate patch for each different device model, and improves compatibility with custom ROMs and newer stock ROMs.

v2.0, 20.04.2010
- Adapted the driver to decide performance factors based on registry instead of hard-coded
- Added CF3DConf, the configuration UI for the driver

v1.1, 01.12.2009
- Added glModeSwitch app to switch between normal (fast) and anti-stutter (slow) modes
- Fixed nasty timing error
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.
 
VanKurt
Old
#5  
Senior Member
Thanks Meter 0
Posts: 130
Join Date: Jun 2009
Location: Duisburg / Aachen / B÷blingen
Hi Chainfire!
Thanks for the effort. I've just installed your patch. Sadly it doesn't change anything
 
Chainfire
Old
#6  
Chainfire's Avatar
Senior Moderator / Senior Recognized Developer - Where is my shirt? - OP
Thanks Meter 46111
Posts: 8,834
Join Date: Oct 2007

 
DONATE TO ME
Quote:
Originally Posted by VanKurt View Post
Hi Chainfire!
Thanks for the effort. I've just installed your patch. Sadly it doesn't change anything
- Did you soft-reset your device after installation?
- Which exact program/game are you having a problem with and what exactly is that problem.

Again, please note that if your device is busy with other things it will still slow down your game/app. Giving the phone a few minutes after boot-up of 'alone time' usually helps if that is the problem.
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.
 
rovex
Old
#7  
rovex's Avatar
Senior Member
Thanks Meter 222
Posts: 1,129
Join Date: Nov 2008
Experiment 13 seems to work ok for me, perhaps a little smoother if anything.
 
naTpuoTXDA
Old
#8  
Member
Thanks Meter 2
Posts: 76
Join Date: May 2009
Location: Vladivostok
Chainfire Hi! First of all thank You for Your work both Leo and O2! Install your patch and electopia running much better than it was before. No lags! testing...
 
VanKurt
Old
#9  
Senior Member
Thanks Meter 0
Posts: 130
Join Date: Jun 2009
Location: Duisburg / Aachen / B÷blingen
Quote:
- Did you soft-reset your device after installation?
- Which exact program/game are you having a problem with and what exactly is that problem.

Again, please note that if your device is busy with other things it will still slow down your game/app. Giving the phone a few minutes after boot-up of 'alone time' usually helps if that is the problem.
Yes, I resetted the device and closed every running app.
For testing I used a little test-app I just wrote. It displays 16 textured quads and runs only at 5/6 FPS (with or without patch).

(Screenshot and binaries attached)
Attached Thumbnails
Click image for larger version

Name:	ScreenShot1.jpg
Views:	4712
Size:	20.4 KB
ID:	252054  
Attached Files
File Type: zip Test.zip - [Click for QR Code] (332.9 KB, 1832 views)
 
naTpuoTXDA
Old
#10  
Member
Thanks Meter 2
Posts: 76
Join Date: May 2009
Location: Vladivostok
Me too 5-6 fps

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Microsoft Finally Brings Remote Desktop to Windows Phone

You may recall that back in October of last year, Microsoft released itsofficial … more

SideControl Gains New Powers through Xposed

You may recall that a little overa month ago, we first talked about SideCutsby XDA Forum … more

Leak Points to Windows Start Menu’s Return as Soon as August

About a month ago at this year’s Build conference, Microsoft … more

Wearables Walkthrough: Tasker on the Samsung Galaxy Gear – XDA Developer TV

The future certainly looks like it is full of wearables. … more