Skip to main content
Participant
November 2, 2013
Question

stage3D very slow fps on android

  • November 2, 2013
  • 1 reply
  • 1201 views

Hi,

As I'm now tried everything the last days I could imagine, I now wanted to ask if someone has a similar result, and maybe solved it.

I developed a small 3d app for iOS and android. It is pure AS without any framework like Away3D or something like that.

On iOs everything is runnig perfect. On Android till now always tested on a very slow device and so i wasn't wondering about the poor FPS, but now I bought a Samsung  Galaxy Note 3 which is one of the top performers in 3DMark benchmark, and guess what, I don't have really better performance as on my old android device.

Just for comparison (same 3d data):

iPad3 (3DMARK score 4,600) for my data 10 fps

Acer A200 (3DMARK score 1,400) for my data 6 fps

Samsung Note 3 (3DMARK score 17,000 => should be about 10 times faster than Asus and 4 times faster than iPad3) for my data 7 fps

I tried:

- cutting down the app for only showing 3D content without any 2D elemnts on top

- reducing the AGAL code as well as throwing out any textures

I think I do remember that at the beginning of coding had a setting in the appciation descriptor file which did work for Android very fast, but not for iOS. I'm not sure about this, but as testing mainly on iOS devices, it might be possible, that I did change it for running better on iOS. So here for the first step my application descriptor entries, which might be wrong:

<initialWindow>

    <renderMode>direct</renderMode>

    <depthAndStencil>true</depthAndStencil>

    <autoOrients>true</autoOrients>

    <fullScreen>true</fullScreen>

    <visible>true</visible>

    <softKeyboardBehavior>none</softKeyboardBehavior>

</initialWindow>

<icon>

    some icons...

</icon>

<android>

        <colorDepth>16bit</colorDepth><!-- also tried it with 32bit, no chaneg at all -->

        <manifestAdditions><![CDATA[

            <manifest android:installLocation="auto">

                <!--See the Adobe AIR documentation for more information about setting Google Android permissions-->

                <!--Wenn Sie die Berechtigung android.permission.INTERNET entfernen, ist auch kein Debugging der Anwendung auf Ihrem Gerät mehr möglich.-->

                <uses-permission android:name="android.permission.INTERNET"/>

                <!--<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>-->

                <!--<uses-permission android:name="android.permission.READ_PHONE_STATE"/>-->

                <!--<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>-->

                <!--Die DISABLE_KEYGUARD- und WAKE_LOCK-Berechtigungen müssen gemeinsam    umgeschaltet werden, um auf die SystemIdleMode-APIs von AIR zugreifen zu können.-->

                   <!-- <uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>-->

                <!-- <uses-permission android:name="android.permission.WAKE_LOCK"/>-->

                <!--<uses-permission android:name="android.permission.CAMERA"/>-->

                <!--<uses-permission android:name="android.permission.RECORD_AUDIO"/>-->

                <!--Die ACCESS_NETWORK_STATE- und ACCESS_WIFI_STATE-Berechtigungen müssen gemeinsam    umgeschaltet werden, um die NetworkInfo-APIs von AIR zu verwenden.-->

                <!--<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>-->

                <!--<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>-->

            </manifest>

        ]]></manifestAdditions>

    </android>

    <iPhone>

        <InfoAdditions><![CDATA[

            <key>UIDeviceFamily</key>

                <array>

                    <string>1</string>

                    <string>2</string>

                </array>

            <key>UIPrerenderedIcon</key>

            <true/>   

        ]]></InfoAdditions>

        <requestedDisplayResolution>high</requestedDisplayResolution>

    </iPhone>

If anyone has an idea, you get a very warm welcome from me for every hint I get.

Thanks in advance,

Andi

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
November 2, 2013

make sure you're NOT publishing with "permit debugging" checked and you're NOT publishing with "enable detailed telemetry" checked.

Andi-SCAuthor
Participant
November 2, 2013

Hi kglad,

Thanks for the fast reply, but I'm working still on FB 4.6 and don't find these settings there.

Andi

kglad
Community Expert
Community Expert
November 2, 2013

are there any debug settings in fb?