yashsingh1/xdaforums huggingface dataset:
[Android Software Development] tolis626:
Hey Chainfire,installed latest CF3D and all's good.Even 16x MSAA has no performance cost on my Galaxy S II(My GPU's overclocked at 400MHz :D ).Is it possible though that MSAA has a negative effect on some textures?Some textures took more time than normal to load or something like that.Or is it the depth buffer?I set it to 24bit! :p

Sorry for asking,but I'm doing a full wipe right now and won't be able to test for the next hour or so. :)
[Android Software Development] Chainfire:
What does it say under grayed out, that you need the EGL driver ?

Please give me the output of:

Maybe the driver was somehow not properly installed. The EGL driver is more tricky to install than the other drivers.

16x MSAA does have a performance cost, but whatever you are rendering is rendered so far it still doesn't drop under 60fps, you mean ;) That being said, I mostly use only 16x myself as well.

MSAA should have no effect on texture loading time... but who knows :)

As for depth buffer, don't touch it if you don't need to.
[Android Software Development] shaolin95:
Says:

driver is required for this feature so indeed does not seem to be installing.

Still need the output from those commands?
[Android Software Development] Chainfire:
Yes please.

That being said, my SGS1 doesn't even support proper MSAA it seems, so ;) But I'd still like to know what the problem is here. Need to confirm whether it's a bug in the driver or the app :)
[Android Software Development] Bec07:
What do you mean by that? What's the worst that could happen?
[Android Software Development] :
Do now bang bang racing and monster madness run??

unfortunately cant buy here.
[Android Software Development] a_friend:
Bang bang still does not work maybe jt never will?
[Android Software Development] Bec07:
AFAIK big bang requires PhysX and that's exactly what it says it is. Processing dynamically moving objects, particles, ragdolls etc in games aka physics.

The game is quite bad, I have it on my Iconia a500 tablet and the controls are awful. You have to drag your finger in front of that car all around the screen, most of the times covering the car and track itself.

It's so bad this game should come with a stylus.
[Android Software Development] tolis626:
Well,I stand corrected.It just isn't noticeable! ;)

I figured out all about the depth buffer though.It was to blame for what I described earlier.No matter now,it's sorted.I just love to tinker with all settings. :D

By the way,could you give an example of an app that needs depth buffer?

And finally,thanks for your great work.You are making me not regret the switch to Sammy(among other things that is!). :)
[Android Software Development] Chainfire:
Monster Madness... it still doesn't run with that enabled, but it does need it ;)
[Android Software Development] shaolin95:
Thanks!
[Android Software Development] Chainfire:
Well, I have figured the issue with 4xMSAA and SGS1 (SGS1 does not support 16xMSAA), and have it fixed in my development build.

However, with the setup I'm seeing from you, it's just never going to work. That doesn't look proper to me in any case :S
[Android Software Development] shaolin95:
Is it due to CM7? I am willing to beta test of course :-)
[Android Software Development] nightranger73:
And now I'm wondering... are we going to see new or updated plugins?

Sent from my GT-I9100

If you find this post usefull please press the "Thanks" button
[Android Software Development] Chainfire:
Yes, it's due to CM7. I have no idea how I would go about solving this though - the drivers just seem to be setup wrong to me. Either case, I don't specifically support CM and I probably never will. (What I mean to say with that is - I'm not spending a lot of extra time and effort for CM compatibility)
[Android Software Development] tolis626:
If I ain't mistaken,Monster Madness uses the Unreal Engine?If so,would it be needed for Dungeon Defenders to run too?Just wandering cause I can play DD on my Desire HD,but it's plain unplayable.Lag and stutter plague my experience heavily and,having an SGS2 doesn't really help me see the Adreno 205's good side. :rolleyes:
[Android Software Development] shaolin95:
Thats disappointing considering how popular CM7 is. I hope you give it a shot if you ever have a few minutes to spare. :D

Oh well..no extra driver options fun for me at least for now. :)
[Android Software Development] Chainfire:
2.7 bugfix release :)

Let me know if the (non-CM) EGL driver issues are now solved :)

Changes:

2.6:

~ Bugfix: install shaders/plugins on empty install

~ Bugfix: restore on empty install

2.7:

+ Max MSAA detection

~ MSAA compatibility

+ Force kill before app launch

~ Bugfix: rescan EGL driver version in per-app settings

~ Bugfix: SuperUser issue
[Android Software Development] Chainfire:
They do both use the Unreal Engine, but DD does not need the 16-bit setting. Actually Monster Madness uses an nVidia specific depth buffer that cannot be emulated even with CF3D, but giving it a traditional depth buffer and lying about it mostly works. The graphics aren't perfect and such, but it pretty much works.

The problem with both Monster Madness and Dungeon Defenders is however that they constantly crash, due to how the Unreal Engine does some things. That is what really needs to be fixed for these two, and this is not an easy task :)

I can't help it. I can see from that screeny that the way these drivers are set up, it simply will not be compatible with the EGL (I've not seen an original OEM firmware with this setup) driver. And even if it was, the ROM provides faulty information about the driver, which is something I simply refuse to write a workaround for.
[Android Software Development] tolis626:
Aha...NVidia and their bull**** making our lives hard!Oh well...

I think I remember you being quite surprised they even run on the devices they run because they make very few calls on the GPU,am I right?Well,if it's THAT much work,screw them.You can do better things with the time those would need.And I don't mean only developing for us to enjoy,but go for a drink or something. ;)

Oh,and also screw CM if you want.I too would love CF3D to be compatible with it for my Desire HD and my friend's Desire,but what the heck?It's your work pal.You never signed an agreement that it'll be compatible with everything.It's your choice and don't let anyone-including me-influence you. :)

I only got two questions for you:

1)Did you find out anything about the issues in GOF2?The black rectangle and disappearing text.

2)Is there any way you could turn V-Sync(Or 60FPS cap for some) off with CF3D?Not that there is any particular reason,but it would be fair for phones like the Galaxy S II,especially in benchmarking.See,Tegra phones don't usually have V-Sync and actually cheat in low-demand benchmarks,like Quadrant's planet one or Neocore.Seeing how different performance actually is would be nice,not mandatory though.
[Android Software Development] MaBlo:
Wow MSAA is simply amazing, I notice a massive improvement. Finally got rid of that jagged fruit in Fruit Ninja!
[Android Software Development] Chainfire:
It's not because they make very few calls, it's because some calls are made that are "very weird". I'm still undecided on whether the things that crash are actually supposed to be coped with by the GPU or not. I'm sure they are not correct, but I'm not sure if the GPU is expected to handle them gracefully (obviously, it doesn't).

I know, it's a waste of time working on it, but I get aggravated when things don't work :)

As for the nVidia specific depth buffer, it's actually a Good Idea(tm). Too bad it isn't standard :) Basically it gives you more precision at close range and less at far range. It has a few advantages that work particularly well for low-memory low-power devices like mobile phones. nVidia isn't all bad you know ;)

Funny thing about CM (and MIUI) is that they do customize a hell of a lot, but they also break a lot. Several of my "root" apps have issues with both CM and MIUI ROMs that simply aren't fixable from my side of things - this while they work like a charm across various firmwares from various different OEMs on various different sets of hardware. And I do believe there are still many more rooted users with "stock-ish" firmwares than there are running CM and MIUI.

No, and I've spent a lot of time searching what the problem could be. I got together with a shader expert I know, and apart from the debugging I did myself we also spent several hours together trying to figure out what exactly the problem is. Suffice to say, we have found a lot of things that were NOT the problem ;)

There's one last thing I want to check out, and then I'm completely done with it :) It's certainly playable (I always play it on my SGS2, and never on my Tegra2 powered 10.1 tablet) but I am annoyed it's not perfect. And frankly I'm curious what the problem actually is!

I have spent a few hours on this (actually it was one of the first things I spent time on when I finally got the CF3D EGL driver to actually boot a few weeks ago) but haven't figured it out. That was SGS2 specific though, there is no "generic" way to disable vsync on mobile SoCs. There are generic function calls for this in various APIs, but as far as I know not a single popular device actually implements these calls. Any vsync disable would be chipset - and likely kernel and driver - specific.

Wow, that's a lot of fail for a single post :)
[Android Software Development] Spartoi:
Hmm, installing the EGL driver seems to make Samurai II Vengance (non-THD) and Battleheart unplayable (Samurai freezes at menu screen and Battleheart remains on a black screen after the MikaMobile screen). I uninstalled the EGL driver and reinstalled Chainfire without EGL and the games work again.

Galaxy S2.
[Android Software Development] Chainfire:
Will check those out :) Which firmware are you running ?
[Android Software Development] tolis626:
The whole of mankind is a fail my friend but look at us now! ;)

Well,you know more technical stuff than I do(MUCH more in fact :p ),so I'll leave it to you. ;)

Yes,GOF2 is very playable,it just needs some perfecting.If possible,all's good-if not,it's good again.Not to worry I think.

As for the VSync stuff,I think it's a kernel thing but who will build a kernel just for that?Just imagine benchmarking the GS2 with it off though.It will break all limits! :-D
[Android Software Development] Spartoi:
KF2 (VillianRom 1.4).
[Android Software Development] cmd512:
This app and Tegrak's OC app are the very definition of "worth every penny." Thanks again Chainfire, 16x MSAA is gorgeous on my SGSII. :)
[Android Software Development] shaolin95:
Why dont you mind your business mate? :mad:

My question for HIM not you and I did not demand anything , I asked very politely. He explained why it wont work and is all clear so you being a smart ass was not needed. :rolleyes:
[Android Software Development] tolis626:
Guys,I just accidentally turned my screen black by reducing all colors to zero and can't seem to fix it.What can I do instead of restoring my nandroid?thank-you! :)
[Android Software Development] tolis626:
Where were you offended pal?I just said it's his own work and that he can do whatever he wants with it.In case you missed it I clearly said I too want CM support,but anyway.Believe what you want,I didn't want to offend anyone. :)
[Android Software Development] Chainfire:
adb shell

su

setprop persist.cf3d.nightmode disabled
[Android Software Development] tolis626:
Yep,I already found it.I just was too lazy to stand up from bed. :D

Many thanks chainfire,you are the absolute best! :)
[Android Software Development] Chainfire:
Found this problem and have a workaround (in next update).
[Android Software Development] viper001:
Id like to buy/donate but have no access to market paid apps.,Google limitation. Please PM details on how to. :-)
[Android Software Development] Spartoi:
Already eh. :p
[Android Software Development] mattiadj:
How can I find the changelog??

Every time I see an update I hope that some games like bang bang racing works.... It's this the case??

Inviato dal mio Desire HD usando Tapatalk
[Android Software Development] paliyoes:
Installed in SmartQ T10 Tablet and I feel the system more responsivness and fluid with this new version :D
[Android Software Development] Bec07:
Tegra 2 reported as not having MSAA capabilities, is this true?

No NEON, no MSAA...
[Android Software Development] a user:
activating 4xAA on DHD for Galaxy on Fire 2 makes only the top half of the screen viewable. the bottom half is simply black.

but the game works normal. you can even press stuff on the bottom half.

edit: samuraii 2 THD version also hangs on main menu with all buttons invisable. only the background graphic witht he logo is visible and it shows no reaction. had to force kill

edit2: ok it is not because of 4xAA, it is the beta EGL driver itself.

edit3: guerilla bob THD also hangs on the "powered by nvidia"-logo screen with new beta driver.

edit4: pinball hd works with the egl driver, 4xAA not tested.
[Android Software Development] Chainfire:
Bang Bang will quite likely never work.

I'm surprised, I just looked it up: indeed, Tegra 2 does not support MSAA !

Interesting, will try to figure this out. I don't have any modern HTCs though, so it's gonna be a tricky one :) Still, try the EGL driver again with the next update, maybe it fixes the issue.
[Android Software Development] a user:
alright. stick to egl for testing. thanks for the fast reply!

waiting for the next update then ;)
[Android Software Development] TheMathMan:
Has this fixed HW Solitaire?
[Android Software Development] Chainfire:
2.8 released, with EGL bugfix. Let me know which problems are solved :)
[Android Software Development] tolis626:
WHAT?Tegra doesn't support MSAA?Muhahahahahahaha!I feel happy I didn't buy the G2X or some tablet with Tegra 2! :D

Galaxy S II and Desire HD...My phones ftw! :D
[Android Software Development] oleost:
Chainfire; It would be great if you could include the changelog on the first page also.

But great work with the updates, to bad my phone is in for repair now. :(

Looking forward to test the new functions.

I collected the posts that I could find with updates.

Changelog

[B]v2.8[/B]
- Bugfix: EGL driver bugfix.

[B]v2.7[/B]
- Added Max MSAA detection
- Bugfix: MSAA compatibility
- Added Force kill before app launch
- Bugfix: rescan EGL driver version in per-app settings
- Bugfix: SuperUser issue

[B]v2.6[/B]
- Bugfix: install shaders/plugins on empty install
- Bugfix: restore on empty install

[B]v2.5[/B]
- Changed CF3D driver version detection, should be much faster
- Minor changes to installation script
- Changed Pro-version detection
- Added installation warnings
- Can now be installed on Honeycomb (still risky!)
- Added backup/restore functionality (Pro)
- Added button to launch an app directly from the per-app settings screen (Pro)
- Added experimental EGL driver (depth buffer, MSAA) (Pro)
- Lots of code refactoring

[B]v2.0[/B]
- Fixed some linking issues (should fix Tap Tap Revenge, for example)
- Added option to uninstall plugins and shaders (Pro)
- Added some warning and clarification messages to driver (un)installation
- Fixed that Chainfire3D exits if you toggle NightMode
- Added custom color filter selection to NightMode

[B][B]v1.9[/B][/B]
- Modified framebuffer handling
- Automatically detects faulty shaders and dumps them
- Added capability to replace shaders in apps
- Added capability to dump all shaders from an app
- Added shader-related debug messages in logcat
- Added installation capability for shader replacement packages
- CF3D driver updated to version 2.40

[B]v1.5[/B]
-Redone "pro" Per-app openGL configuration.

[B]V1.3[/B]
-Added automatic BGRA <--> RGBA conversion depending on hardware capabilities.
[Android Software Development] a user:
all fine now :D

all games work again without 4xAA.

samurai II works with 4xAA although i can't tell to see a difference.

except galaxy on fire 2:

well now with 4xAA it is only the lower 1/4 of the screen black. before it was the bottom half. strange, right?

also it seems that 4xAA is actually doing nothing. but am not sure about this.
[Android Software Development] mucinch:
Can anyone tell me the best options for Galaxy S? e.g Reduce texture quality or Unroll textures. Having either of them enabled doesn't seem to make any difference:confused:
[Android Software Development] a user:
if does not make a difference why care? ;)
[Android Software Development] mucinch:
Well, I couldn't find any, maybe my phone can:p
[Android Software Development] marinos2000:
i still have problem about free space :/ nothink of solutions i read helped .

i am using hd2 americandroid sd
[Android Software Development] Spartoi:
Samurai II and and Battleheart are working now.

Could you enable an option in the default settings to have MSAA? I have about 30 games and enabling them all to MSAA 16x is :mad:
[Android Software Development] coincoinlapin:
Nice and clean, thanks mate.
[Android Software Development] Brut.all:
How to know what options to use with a specific game? Is there any list of compatibility or something like that?

I want to buy pro version, but for now there are no games I want to play which don't work natively, but work with Chainfire3D. I tried to run GOF2 on my SGS2, but it doesn't work with any options I choose in free version of C3D. I see black screen and that's all. Some people say GOF2 works for them. Does that mean pro version is more compatible with this game, so it'll probably work for me as well if I buy GOF2 or is this another problem?
[Android Software Development] tolis626:
Hey guys,could anyone actually help me on this one?Fix Market doesn't do anything for me.The only different thing is that a message for me to accept the terms of agreement appears.But NO extra apps appear.

I had that problem again when I wanted to install Asphalt 6 on my GS2,which I finally got sorted with Gameloft's support.Now,I want to install Samurai Vengeance but when I click for it to install from inside Tegra Zone,when it tries to redirect me to the market to buy it it says that the application can't be found or something.Could anyone shed some light on this?I really hate it when things don't work for me.

Thanks! :)

Oh and Chainfire,awesome work man.You finally made my Desire HD kneel before me!It went to 28fps from 48fps(1576MHz performance :cool: ) at Nenamark using 4x MSAA. :D

Only problem with the GS2 is that with MSAA,Nenamark2 hangs like my GPU is too undervolted(While it's not).Any ideas?Not terrible but anyway. :)
[Android Software Development] oleost:
1. You have applied the nVidia plugin?

2. You have applied the market fix AFTER you installed the nVidia plugin?

3. Have you tried closing market with an task manager, or restart your phone?

4. Have you tried searching for "THD" in the market, ? does nVidia games appear?

5. So search for "Samurai II: Vengeance THD" in google market, instead of nzone app..
[Android Software Development] tolis626:
First of all thanks.You are the first one to help me with this in a long time. :)

Secondly,I have tried everything you mentioned to no avail.And when I was searching for Asphalt 6 I even used Qualcomm and PowerVR plugins,but again for nothing.It just doesn't want to work on my phone.I've changed roms,settings,plugins,rebooted many many times,but still no joy.On my Desire HD on the other hand everything works flawlessly.Shame. :(

Maybe there is a way to do it manually?If yes,I'll try. :)
[Android Software Development] MaBlo:
Have you tried to reinstall the drivers? I have no such problems, MSAA also works flawlessly on Nenamark2 for me :)
[Android Software Development] tolis626:
Nenamark doesn't work with my current GPU setup for some reason.Every single game works flawlessly with my GPU overclocked at 400MHz with 1100mV.Nenamark doesn't.Needs 1150mv for some reason when using 16x MSAA.

Also,I don't think reinstalling the drivers will help,as I've upgraded two or three times on my current rom and have also changed two or three roms. :)
[Android Software Development] Chainfire:
I'd also be interested in figuring out what the cause the market fix fail issue (this is on SGS2, right?). It seems the things you tried negate all the ideas I had.

However, I'm away from my dev-pc, my files, etc, until Monday, so ask me again then, as I'll likely have forgot (sorry, but I know myself ;))
[Android Software Development] Chainfire:
Did you install the nVidia plugin ?

GOF2 does not run perfectly, I'd give it something like 90%. Stars, smoke, and text, sometimes turn invisible. However, it does run, and smooth. Again, make sure you are using the nVidia plugin, and also keep in mind the black screen that happens when you launch GOF2 can stick for like 30-60 seconds before the game actually begins.
[Android Software Development] Ron Overdrive:
So how are you guys with non-Tegra phones getting access to these Tegra games? Piracy? Setting the plugin to NVIDIA and fixing the market settings does jack for me. Even Tegra Zone tells me my device isn't compatible.
[Android Software Development] lambstone:
Just because you are incapable of making it work doesn't mean that everyone are pirates. (not saying that everyone isn't either). You have to specifically set NVIDIA plugin for Tegra Zone. I did that on my nexus s and it works fine. (perhaps device compatibility issue with chainfire?)
[Android Software Development] Ron Overdrive:
Tried that already and doesn't work. And honestly the piracy comment was meant in sarcasm. The device in question is a HTC EVO Shift running CyanogenMod 7.1 nightly and I've tried both the standard and experimental EGL driver if that helps any.
[Android Software Development] Harvin Dhillon:
Got a weird problem myself for the latest version 2.8 free. I have NViDiA plugin selected. Installed fine.

Samurai Vengence THD version says not supported

Riptide with shaders installed, has weird textures.So does GOF2

Plants vs Zombies seem to work fine however...

on my SGS2
[Android Software Development] BorisDeviant:
Working good on my Desire HD. But is it normal that MSAA is capped to 4x ?
[Android Software Development] oleost:
I dont know you device, but maybe it doesnt support more than 4x ?
[Android Software Development] cigaro78:
SGS2 here.. Sorry to rain on the party but I'm not sure what I just bought.

I've installed the drivers etc, bought the pinball HD game, and now I can play that particular game and apparently not much else - as far as I can tell only samurai HD and fruit ninja also work.

Everything else I tried failed. Dungeon Defender, Galaxy on Fire, ALL of the new gameloft titles... I had to either uninstall or 'refund' everything.

Can someone provide a list of what games work with CF3d on SGS2? Thank you.
[Android Software Development] Brut.all:
Yeah, I use nVidia plugin with GOF2. Is it possible that one build of plugins is better than other? Is there a sense to update plugins from time to time? Or is implementing of plugins so straightforward that every plugin in the internet is identical?

And I was waiting several minutes. Music was playing and I could tap on menu items or something, but I didn't see anything :-/
[Android Software Development] tolis626:
Alrighty then!Monday it is!If I remember it that is...I know myself too! :p

And on that last part,you should meet me pal.Here in Greece we say that someone is in their own world when they have their minds away from their head at all times.Well,my own world is in a galaxy far far away...Something like the guy at GOF2! :p

Thanks anyway! :)
[Android Software Development] tolis626:
No one has managed to play Dungeon Defenders or any game that uses the Unreal Engine.As for the others,it's weird that they don't work.Try uninstalling then reinstalling the plugins.It's better that you set everything for each app seperately.Also,make sure that no options are selected(like Unroll textures) before you run the app for the first time.If they work with no options selected,you are free to experiment.If not,try uninstalling and reinstalling the drivers and try without the EGL driver. :)
[Android Software Development] tolis626:
Well,using CyanogenMod won't make things easy for you.There is trouble with Cf3D and CM for a long time now. :)