android build failing in emulator

Hi



Our app is working perfectly on devices. We never needed to run using the emulators within eclipse. But it was not until samsung store rejected our app for failing in all their devices (which probably meant they ran automated tests on emulators) did we realize that our app was failing in the emulator with the same crash log they sent us. After several failed attempts to debug the cause, we thought to run a simple PVR example using the emulator. We found even the samples were producing the same crash in the emulator. We are currently using the latest 3.2 SDK (3.2@2654748)



We ran using the armabi option in the emulator.



To reproduce simple build the sample and run using any emulator. Please let me know if its not resulting in any errors. But if this is something already known to you, how can we communicate this with the samsung store to approve our app ?


Hi,



The Android PowerVR SDK provided through our installer was designed for and tested with the Android NDK & SDK command line tools, as this approach allowed us to use our existing directory structure for Android builds.



We provide another Android PowerVR SDK with a modified directory structure that is designed to better integrate with Eclipse. You can download it by following the instructions in the “Android SDK Manager Integration” section of our SDK download page.



I’ve got a few questions about your build process:


  1. What operating system is your development machine running?

  2. Which Example did you try to build in Eclipse?

  3. What is the error you're getting in Eclipse?

  4. If you build the Example using the Android command-line tools (the SDK User Guide explains how to do this), do you hit the same error?

  5. Can you try building the same Example from our "Android SDK Manager Integration" download to see if this produces the same error?

Can you answer if you have run any examples in an emulator regardless of the IDE used ?

Also we have no problem using your SDK and eclipse and launch the app on the device. As said, regardles of our setup, its important to know if emulation is a problem in general as we will never know what systems and emulators samsung might be using to approve our apps !!

We frequently test the SDK Examples on Windows, Linux and OS X using our PVRVFrame emulator. Which emulator are you using?



Thanks,

Joe


I am referring to the emulator provided using eclipse.



youtube.com/watch?v=0AvU3k4UL9g



As said again, I can run our app and your examples perfectly using a device from eclipse and the PC emulation capable using your PVR SDK.



Again, the concern is do these emulators from eclipse work at your end as this needs to be established to samsung that their testing strategy may be wrong if proven otherwise.

Our Android builds are only tested on Android hardware. We haven’t tested them with the Eclipse Android emulator. Which version of Android is your emulator running?



I’ve filed BRN46743 for Android emulation builds to be tested in the future.



Thanks,

Joe

Hi Joe,



Android 2.3.3 armabi.



Thanks for the proposed test. Let me know if you have results from your end for any basic sample.

Hello,



I’ve have given it a go and found an issue of our main loader function in the PVRShell. Seems that very old implementations of JNI struggle with NULL a jstring value where “” is expected.



In order to solve that you can change the file /path/to/SDK/Shell/OS/Android/PVRShellOS.cpp:

In the function: android_main

The lines:

		jstring jsArgs = (jstring)env->CallObjectMethod(intent, gseid, env->NewStringUTF("args"));<br />
<br />
const char * args = env->GetStringUTFChars(jsArgs, 0);<br />
<br />
if (args != NULL)<br />
{<br />
init.CommandLine(args);<br />
<br />
// Tidy up the args string<br />
env->ReleaseStringUTFChars(jsArgs, args);<br />
}
```<br />
<br />
Should be changed to:<br />
	jstring jsArgs = (jstring)env->CallObjectMethod(intent, gseid, env->NewStringUTF("args"));<br />

if (args != NULL)
{
const char * args = env->GetStringUTFChars(jsArgs, 0);

init.CommandLine(args);

// Tidy up the args string
env->ReleaseStringUTFChars(jsArgs, args);
} ```

In order not to call env->GetStringUTFChars with a NULL value.

That should do the trick for you :)!

Cheers,
Guillem

Hello,

Yes, me too found the same error.

And that can be fixed using above implementation (@GuillemV Line )

Please let us know when you are planning for new SDK release with all the bug fixes.

I have got some more issues.

Please let me know where I can log those bugs.



Regards,

Sankha

Hi Sankha,



The bug fixes will make it into our next major release (SDK v3.3), which is due for release in March.



The best place to file bug reports and feature requests is our new Feedback system.



Regards,

Joe

Hi GuillemV



Thanks for the response and it does fix the problem.

However, the android emulators are running into a new problem. The shaders and textures are not getting loaded.



Here is a log of it.



02-04 04:29:43.594: I/Avighna(1276): [PVRPlatform] |INFO creating SFX stream

02-04 04:29:43.594: I/com.powervr.AdventurousMaze(1276): [PVRPlatform] |INFO creating SFX stream

02-04 04:29:43.604: I/Avighna(1276): [PVRGLES2Renderer] |OK| setting readpath =

02-04 04:29:43.604: I/com.powervr.AdventurousMaze(1276): [PVRGLES2Renderer] |OK| setting readpath =

02-04 04:29:43.604: I/Avighna(1276): [PVRGLES2Renderer] |OK| readpath set

02-04 04:29:43.604: I/com.powervr.AdventurousMaze(1276): [PVRGLES2Renderer] |OK| readpath set

02-04 04:29:43.604: I/Avighna(1276): [PVRGLES2Renderer] |OK| got defaultFBO

02-04 04:29:43.604: I/com.powervr.AdventurousMaze(1276): [PVRGLES2Renderer] |OK| got defaultFBO

02-04 04:29:43.604: I/Avighna(1276): [PVRGLES2Renderer] |OK| loading screenQuad.pfx …

02-04 04:29:43.604: I/com.powervr.AdventurousMaze(1276): [PVRGLES2Renderer] |OK| loading screenQuad.pfx …

02-04 04:29:43.694: E/Avighna(1276): [PVRGLES2Renderer] |ERROR| PFX loading failed. Invalid PFX file screenQuad.pfx PVRMessage : ERROR: Linking shaders in file ‘screenQuad.pfx’:

02-04 04:29:43.694: E/Avighna(1276): Failed to link: seTex, TexCo+

02-04 04:29:43.694: I/com.powervr.AdventurousMaze(1276): [PVRGLES2Renderer] |ERROR| PFX loading failed. Invalid PFX file screenQuad.pfx PVRMessage : ERROR: Linking shaders in file ‘screenQuad.pfx’:

02-04 04:29:43.694: I/com.powervr.AdventurousMaze(1276): Failed to link: seTex, TexCo+

02-04 04:29:43.714: I/Avighna(1276): [PVRGLES2Renderer] |OK| loading screenQuadDepthTex.pfx …

02-04 04:29:43.714: I/com.powervr.AdventurousMaze(1276): [PVRGLES2Renderer] |OK| loading screenQuadDepthTex.pfx …

02-04 04:29:43.744: E/Avighna(1276): [PVRGLES2Renderer] |ERROR| (null)

02-04 04:29:43.744: I/com.powervr.AdventurousMaze(1276): [PVRGLES2Renderer] |ERROR| (null)

02-04 04:29:43.764: D/dalvikvm(1276): GC_FOR_ALLOC freed 65K, 5% free 2837K/2984K, paused 184ms, total 189ms

02-04 04:29:43.774: E/Avighna(1276): [PVRGLES2Renderer] |ERROR| PFX loading failed. Invalid PFX file screenQuadDepthTex.pfx PVRMessage : ERROR: Linking shaders in file ‘screenQuadDepthTex.pfx’:

02-04 04:29:43.774: E/Avighna(1276): Failed to link: ???

02-04 04:29:43.774: I/com.powervr.AdventurousMaze(1276): [PVRGLES2Renderer] |ERROR| PFX loading failed. Invalid PFX file screenQuadDepthTex.pfx PVRMessage : ERROR: Linking shaders in file ‘screenQuadDepthTex.pfx’:

02-04 04:29:43.774: I/com.powervr.AdventurousMaze(1276): Failed to link: ???

02-04 04:29:43.784: I/dalvikvm-heap(1276): Grow heap (frag case) to 3.333MB for 510736-byte allocation

02-04 04:29:43.804: I/Avighna(1276): [PVRGLES2Renderer] |OK| loading fallbackShaderV3.pfx …

02-04 04:29:43.804: I/com.powervr.AdventurousMaze(1276): [PVRGLES2Renderer] |OK| loading fallbackShaderV3.pfx …

02-04 04:29:43.894: E/Avighna(1276): [PVRGLES2Renderer] |ERROR| (null)

02-04 04:29:43.894: I/com.powervr.AdventurousMaze(1276): [PVRGLES2Renderer] |ERROR| (null)

02-04 04:29:43.904: E/Avighna(1276): [PVRGLES2Renderer] |ERROR| PFX loading failed. Invalid PFX file fallbackShaderV3.pfx PVRMessage : ERROR: Linking shaders in file ‘fallbackShaderV3.pfx’:

02-04 04:29:43.904: E/Avighna(1276): Failed to link: tex,1);

02-04 04:29:43.904: E/Avighna(1276): }

02-04 04:29:43.934: I/com.powervr.AdventurousMaze(1276): [PVRGLES2Renderer] |ERROR| PFX loading failed. Invalid PFX file fallbackShaderV3.pfx PVRMessage : ERROR: Linking shaders in file ‘fallbackShaderV3.pfx’:

02-04 04:29:43.934: I/com.powervr.AdventurousMaze(1276): Failed to link: tex,1);

02-04 04:29:43.934: I/com.powervr.AdventurousMaze(1276): }

02-04 04:29:43.934: I/Avighna(1276): [PVRGLES2Renderer] |OK| loading PointParticle.pfx …





This above log is during loading stage. While render loop the following log is spewed continuously.



02-04 04:29:55.174: E/emuglGLESv2_enc(1276): glDrawElements: no data bound to the command - ignoring

02-04 04:29:55.174: E/Avighna(1276): [PVRGLES2Renderer] |ERROR| (null)

02-04 04:29:55.174: I/com.powervr.AdventurousMaze(1276): [PVRGLES2Renderer] |ERROR| (null)

02-04 04:29:55.184: E/emuglGLESv2_enc(1276): glDrawElements: no data bound to the command - ignoring

02-04 04:29:55.184: E/Avighna(1276): [PVRGLES2Renderer] |ERROR| (null)

02-04 04:29:55.184: I/com.powervr.AdventurousMaze(1276): [PVRGLES2Renderer] |ERROR| (null)

02-04 04:29:55.184: E/emuglGLESv2_enc(1276): glDrawElements: no data bound to the command - ignoring

02-04 04:29:55.184: E/Avighna(1276): [PVRGLES2Renderer] |ERROR| (null)

02-04 04:29:55.184: I/com.powervr.AdventurousMaze(1276): [PVRGLES2Renderer] |ERROR| (null)

02-04 04:29:55.184: E/emuglGLESv2_enc(1276): glDrawElements: no data bound to the command - ignoring

02-04 04:29:55.184: E/Avighna(1276): [PVRGLES2Renderer] |ERROR| (null)

02-04 04:29:55.184: I/com.powervr.AdventurousMaze(1276): [PVRGLES2Renderer] |ERROR| (null)

02-04 04:29:55.184: E/emuglGLESv2_enc(1276): glDrawElements: no data bound to the command - ignoring

02-04 04:29:55.214: E/Avighna(1276): [PVRGLES2Renderer] |ERROR| (null)

02-04 04:29:55.214: I/com.powervr.AdventurousMaze(1276): [PVRGLES2Renderer] |ERROR| (null)

02-04 04:29:55.244: E/emuglGLESv2_enc(1276): glDrawElements: no data bound to the command - ignoring

02-04 04:29:55.244: E/Avighna(1276): [PVRGLES2Renderer] |ERROR| (null)

02-04 04:29:55.244: I/com.powervr.AdventurousMaze(1276): [PVRGLES2Renderer] |ERROR| (null)

02-04 04:29:55.244: E/emuglGLESv2_enc(1276): glDrawElements: no data bound to the command - ignoring

02-04 04:29:55.244: E/Avighna(1276): [PVRGLES2Renderer] |ERROR| (null)

02-04 04:29:55.244: I/com.powervr.AdventurousMaze(1276): [PVRGLES2Renderer] |ERROR| (null)

02-04 04:29:55.244: E/emuglGLESv2_enc(1276): glDrawElements: no data bound to the command - ignoring

02-04 04:29:55.254: E/Avighna(1276): [PVRGLES2Renderer] |ERROR| (null)

02-04 04:29:55.254: I/com.powervr.AdventurousMaze(1276): [PVRGLES2Renderer] |ERROR| (null)

02-04 04:29:55.254: E/emuglGLESv2_enc(1276): glDrawElements: no data bound to the command - ignoring

02-04 04:29:55.254: E/Avighna(1276): [PVRGLES2Renderer] |ERROR| (null)

02-04 04:29:55.254: I/com.powervr.AdventurousMaze(1276): [PVRGLES2Renderer] |ERROR| (null)

02-04 04:29:55.264: E/emuglGLESv2_enc(1276): glDrawElements: no data bound to the command - ignoring

02-04 04:29:55.264: E/Avighna(1276): [PVRGLES2Renderer] |ERROR| (null)



This is happening in the latest android 4.4.2 emulator. Any emulator below 3.2 does not support openGL ES emulation I think as I get this message in the logcat repeatedly.



"Called unimplemented OpenGL ES API"



Thanks.


Hello,



I am not entirely sure what can be the error. While looking after that I’ve found an interesting bug in our PVRTools :slight_smile:



Can you please make some changes to /Tools/PVRTError/?

  1. Include the Android native logcat headers

    #if defined(ANDROID)

    #include

    #endif

  2. Change the whole PVRTErrorOutputDebug function so it uses Logcat in Android systems:

    void PVRTErrorOutputDebug(char const * const format, …)

    {

    va_list arg;

    char pszString[1024];



    va_start(arg, format);

    vsnprintf(pszString, 1024, format, arg);

    va_end(arg);





    #if defined(UNICODE)

    wchar_t *pswzString = (wchar_t *)malloc((strlen(pszString) + 1) * sizeof(wchar_t));



    int i;

    for(i = 0; pszString != ‘’; i++)

    {

    pswzString = (wchar_t)(pszString);

    }

    pswzString = ‘’;



    #if defined(_WIN32)

    OutputDebugString(pswzString);

    #elif defined(ANDROID)

    __android_log_print(ANDROID_LOG_ERROR, “PVRTools”, “%s”, pswzString);

    #else

    fprintf(stderr, pswzString);

    #endif



    free(pswzString);

    #else

    #if defined(_WIN32)

    OutputDebugString(pszString);

    #elif defined(ANDROID)

    __android_log_print(ANDROID_LOG_ERROR, “PVRTools”, “%s”, pszString);

    #else

    fprintf(stderr, pszString);

    #endif

    #endif

    }





    This should tell us what exactly is going wrong.



    Thanks,

    Guillem

Hi



Here is the log.

Two things are apparent, the loading of PFX is failing and glBindTexture call also.









02-05 02:07:14.709: I/System.out(1157): loading PVRPlatform …

02-05 02:07:14.709: D/dalvikvm(1157): Trying to load lib /data/app-lib/com.powervr.AdventurousMaze-1/libPVRPlatform.so 0xb3d9dbe0

02-05 02:07:14.719: D/dalvikvm(1157): Added shared lib /data/app-lib/com.powervr.AdventurousMaze-1/libPVRPlatform.so 0xb3d9dbe0

02-05 02:07:14.749: D/Avighna(1157): inside JNI_OnLoad…SUCCESS

02-05 02:07:14.749: I/System.out(1157): PVRPlatform load success

02-05 02:07:14.939: W/ContextImpl(1157): Failed to ensure directory: /storage/sdcard/Android/obb/com.powervr.AdventurousMaze

02-05 02:07:14.979: W/ContextImpl(1157): Failed to ensure directory: /storage/sdcard/Android/data/com.powervr.AdventurousMaze/files

02-05 02:07:15.129: D/Avighna(1157): inside Register…SUCCESS

02-05 02:07:15.339: D/(1157): HostConnection::get() New Host Connection established 0xb734b8e8, tid 1170

02-05 02:07:15.409: I/com.powervr.AdventurousMaze(1157): PVRShell: EGL 1.4 initialized

02-05 02:07:15.599: D/dalvikvm(1157): GC_FOR_ALLOC freed 54K, 5% free 2836K/2968K, paused 65ms, total 68ms

02-05 02:07:15.609: I/dalvikvm-heap(1157): Grow heap (frag case) to 3.329MB for 510736-byte allocation

02-05 02:07:15.679: D/dalvikvm(1157): GC_FOR_ALLOC freed <1K, 4% free 3334K/3468K, paused 66ms, total 66ms

02-05 02:07:15.679: I/Avighna(1157): Java function SetToGameMode registered

02-05 02:07:15.679: I/Avighna(1157): Java function ExitGUIActivity registered

02-05 02:07:15.679: I/Avighna(1157): Java function GetPlatformsAvighnaDataPath registered

02-05 02:07:15.689: I/Avighna(1157): Java function SetGameDataInt registered

02-05 02:07:15.689: I/Avighna(1157): Java function GetGameDataInt registered

02-05 02:07:15.689: I/Avighna(1157): Java function GetBannerAdHeight registered

02-05 02:07:15.689: I/Avighna(1157): Java function SendScoreToFacebook registered

02-05 02:07:15.689: I/Avighna(1157): Java function OpenFacebook registered

02-05 02:07:15.689: I/Avighna(1157): Java function InfoClicked registered

02-05 02:07:15.689: I/Avighna(1157): Java function InstructionsClicked registered

02-05 02:07:15.689: I/Avighna(1157): GLES2App InitView called

02-05 02:07:15.689: I/Avighna(1157): android path is /storage/sdcard/AvighnaData/

02-05 02:07:15.689: D/Avighna(1157): failed creating log file /sdcard/PVRGLES2RendererLog.avlog.txt

02-05 02:07:15.689: I/com.powervr.AdventurousMaze(1157): failed creating log file /sdcard/PVRGLES2RendererLog.avlog.txt

02-05 02:07:15.689: I/Avighna(1157): [PVRGLES2Renderer] |OK| Initing app…

02-05 02:07:15.689: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| Initing app…

02-05 02:07:15.689: D/Avighna(1157): failed creating log file /sdcard/PVRPlatformLog.avlog.txt

02-05 02:07:15.689: I/com.powervr.AdventurousMaze(1157): failed creating log file /sdcard/PVRPlatformLog.avlog.txt

02-05 02:07:15.839: I/Avighna(1157): [PVRPlatform] |INFO creating SFX stream

02-05 02:07:15.839: I/com.powervr.AdventurousMaze(1157): [PVRPlatform] |INFO creating SFX stream

02-05 02:07:15.839: I/Avighna(1157): [PVRGLES2Renderer] |OK| setting readpath =

02-05 02:07:15.849: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| setting readpath =

02-05 02:07:15.869: I/Avighna(1157): [PVRGLES2Renderer] |OK| readpath set

02-05 02:07:15.919: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| readpath set

02-05 02:07:15.919: I/Avighna(1157): [PVRGLES2Renderer] |OK| got defaultFBO

02-05 02:07:15.929: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| got defaultFBO

02-05 02:07:15.929: I/Avighna(1157): [PVRGLES2Renderer] |OK| loading screenQuad.pfx …

02-05 02:07:15.929: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loading screenQuad.pfx …

02-05 02:07:16.049: E/Avighna(1157): [PVRGLES2Renderer] |ERROR| PFX loading failed. Invalid PFX file screenQuad.pfx PVRMessage : ERROR: Linking shaders in file ‘screenQuad.pfx’:

02-05 02:07:16.049: E/Avighna(1157): Failed to link: seTex, TexCo?

02-05 02:07:16.049: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |ERROR| PFX loading failed. Invalid PFX file screenQuad.pfx PVRMessage : ERROR: Linking shaders in file ‘screenQuad.pfx’:

02-05 02:07:16.049: I/com.powervr.AdventurousMaze(1157): Failed to link: seTex, TexCo?

02-05 02:07:16.059: I/Avighna(1157): [PVRGLES2Renderer] |OK| loading screenQuadDepthTex.pfx …

02-05 02:07:16.059: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loading screenQuadDepthTex.pfx …

02-05 02:07:16.109: E/Avighna(1157): [PVRGLES2Renderer] |ERROR| (null)

02-05 02:07:16.109: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |ERROR| (null)

02-05 02:07:16.139: E/Avighna(1157): [PVRGLES2Renderer] |ERROR| PFX loading failed. Invalid PFX file screenQuadDepthTex.pfx PVRMessage : ERROR: Linking shaders in file ‘screenQuadDepthTex.pfx’:

02-05 02:07:16.139: E/Avighna(1157): Failed to link:

02-05 02:07:16.139: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |ERROR| PFX loading failed. Invalid PFX file screenQuadDepthTex.pfx PVRMessage : ERROR: Linking shaders in file ‘screenQuadDepthTex.pfx’:

02-05 02:07:16.139: I/com.powervr.AdventurousMaze(1157): Failed to link:

02-05 02:07:16.139: I/Avighna(1157): [PVRGLES2Renderer] |OK| loading fallbackShaderV3.pfx …

02-05 02:07:16.139: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loading fallbackShaderV3.pfx …

02-05 02:07:16.209: E/Avighna(1157): [PVRGLES2Renderer] |ERROR| (null)

02-05 02:07:16.219: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |ERROR| (null)

02-05 02:07:16.229: E/Avighna(1157): [PVRGLES2Renderer] |ERROR| PFX loading failed. Invalid PFX file fallbackShaderV3.pfx PVRMessage : ERROR: Linking shaders in file ‘fallbackShaderV3.pfx’:

02-05 02:07:16.229: E/Avighna(1157): Failed to link:

02-05 02:07:16.229: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |ERROR| PFX loading failed. Invalid PFX file fallbackShaderV3.pfx PVRMessage : ERROR: Linking shaders in file ‘fallbackShaderV3.pfx’:

02-05 02:07:16.229: I/com.powervr.AdventurousMaze(1157): Failed to link:

02-05 02:07:16.239: I/Avighna(1157): [PVRGLES2Renderer] |OK| loading PointParticle.pfx …

02-05 02:07:16.239: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loading PointParticle.pfx …

02-05 02:07:16.259: I/Choreographer(1157): Skipped 53 frames! The application may be doing too much work on its main thread.

02-05 02:07:16.399: E/Avighna(1157): [PVRGLES2Renderer] |ERROR| (null)

02-05 02:07:16.399: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |ERROR| (null)

02-05 02:07:16.439: E/Avighna(1157): [PVRGLES2Renderer] |ERROR| PFX loading failed. Invalid PFX file PointParticle.pfx PVRMessage : ERROR: Linking shaders in file ‘PointParticle.pfx’:

02-05 02:07:16.439: E/Avighna(1157): Failed to link:

02-05 02:07:16.439: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |ERROR| PFX loading failed. Invalid PFX file PointParticle.pfx PVRMessage : ERROR: Linking shaders in file ‘PointParticle.pfx’:

02-05 02:07:16.439: I/com.powervr.AdventurousMaze(1157): Failed to link:

02-05 02:07:16.439: I/Avighna(1157): [PVRGLES2Renderer] |OK| loading Lines.pfx …

02-05 02:07:16.439: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loading Lines.pfx …

02-05 02:07:16.579: E/Avighna(1157): [PVRGLES2Renderer] |ERROR| (null)

02-05 02:07:16.579: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |ERROR| (null)

02-05 02:07:16.599: D/(1157): HostConnection::get() New Host Connection established 0xb74f5510, tid 1157

02-05 02:07:16.599: E/Avighna(1157): [PVRGLES2Renderer] |ERROR| PFX loading failed. Invalid PFX file Lines.pfx PVRMessage : ERROR: Linking shaders in file ‘Lines.pfx’:

02-05 02:07:16.599: E/Avighna(1157): Failed to link: ?A?A?

02-05 02:07:16.599: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |ERROR| PFX loading failed. Invalid PFX file Lines.pfx PVRMessage : ERROR: Linking shaders in file ‘Lines.pfx’:

02-05 02:07:16.599: I/com.powervr.AdventurousMaze(1157): Failed to link: ?A?A?

02-05 02:07:16.599: I/Avighna(1157): [PVRGLES2Renderer] |OK| Renderer Created width = 480 height = 800

02-05 02:07:16.599: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| Renderer Created width = 480 height = 800

02-05 02:07:16.629: I/Avighna(1157): [PVRGLES2Renderer] |OK| Loading Geom Sphere.avgeom …

02-05 02:07:16.649: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| Loading Geom Sphere.avgeom …

02-05 02:07:16.649: I/Avighna(1157): [PVRGLES2Renderer] |OK| Geom Sphere.avgeom has verts=240 tris=80

02-05 02:07:16.649: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| Geom Sphere.avgeom has verts=240 tris=80

02-05 02:07:16.689: I/Avighna(1157): [PVRGLES2Renderer] |OK| Geom Sphere.avgeom load success

02-05 02:07:16.689: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| Geom Sphere.avgeom load success

02-05 02:07:16.709: D/Avighna(1157): failed creating log file /sdcard/ScriptMain.avlog.txt

02-05 02:07:16.709: I/com.powervr.AdventurousMaze(1157): failed creating log file /sdcard/ScriptMain.avlog.txt

02-05 02:07:17.009: D/Avighna(1157): luaL_loadfilex : memfile for ScriptMain.lua found

02-05 02:07:17.159: D/Avighna(1157): luaL_loadfilex : memfile for RefTool.lua found

02-05 02:07:17.199: D/Avighna(1157): luaL_loadfilex : memfile for Trace.lua found

02-05 02:07:17.199: D/Avighna(1157): luaL_loadfilex : memfile for LuaSharedPtrRef.lua found

02-05 02:07:17.209: D/Avighna(1157): luaL_loadfilex : memfile for LinkedList.lua found

02-05 02:07:17.219: D/Avighna(1157): luaL_loadfilex : memfile for StateMachine.lua found

02-05 02:07:17.249: D/Avighna(1157): luaL_loadfilex : memfile for GUIWidget.lua found

02-05 02:07:17.359: D/Avighna(1157): luaL_loadfilex : memfile for GameGUIState.lua found

02-05 02:07:17.439: D/Avighna(1157): luaL_loadfilex : memfile for SoundObjectsDefinitions.lua found

02-05 02:07:17.439: D/Avighna(1157): luaL_loadfilex : memfile for SoundManager.lua found

02-05 02:07:17.449: I/Avighna(1157): [PVRGLES2Renderer] |OK| loading texture destroyers.pvr…

02-05 02:07:17.449: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loading texture destroyers.pvr…

02-05 02:07:17.459: E/PVRTools(1157): PVRTTextureLoadFromPointer failed: glBindTexture() failed.

02-05 02:07:17.459: E/Avighna(1157): [PVRGLES2Renderer] |ERROR| unable to load texture destroyers.pvr [return val = 1]

02-05 02:07:17.459: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |ERROR| unable to load texture destroyers.pvr [return val = 1]

02-05 02:07:17.469: I/Avighna(1157): [PVRGLES2Renderer] |OK| loading texture arial_bold.pvr…

02-05 02:07:17.469: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loading texture arial_bold.pvr…

02-05 02:07:17.959: I/Avighna(1157): [PVRGLES2Renderer] |OK| loaded texture arial_bold.pvr

02-05 02:07:17.959: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loaded texture arial_bold.pvr

02-05 02:07:18.029: I/Avighna(1157): [PVRGLES2Renderer] |OK| loading texture hud_icons2.pvr…

02-05 02:07:18.029: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loading texture hud_icons2.pvr…

02-05 02:07:18.129: I/Avighna(1157): [PVRGLES2Renderer] |OK| loaded texture hud_icons2.pvr

02-05 02:07:18.129: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loaded texture hud_icons2.pvr

02-05 02:07:18.159: I/Avighna(1157): [PVRGLES2Renderer] |OK| loading texture hud_bg.pvr…

02-05 02:07:18.159: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loading texture hud_bg.pvr…

02-05 02:07:18.169: I/Avighna(1157): [PVRGLES2Renderer] |OK| loaded texture hud_bg.pvr

02-05 02:07:18.169: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loaded texture hud_bg.pvr

02-05 02:07:18.209: I/Avighna(1157): [PVRGLES2Renderer] |OK| loading texture banner-ip.pvr…

02-05 02:07:18.209: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loading texture banner-ip.pvr…

02-05 02:07:18.209: E/PVRTools(1157): PVRTTextureLoadFromPointer warning: PVRTC not supported. Converting to RGBA8888 instead.

02-05 02:07:18.329: I/Avighna(1157): [PVRGLES2Renderer] |OK| loaded texture banner-ip.pvr

02-05 02:07:18.329: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loaded texture banner-ip.pvr

02-05 02:07:18.409: I/Choreographer(1157): Skipped 41 frames! The application may be doing too much work on its main thread.

02-05 02:07:18.519: I/Avighna(1157): [PVRGLES2Renderer] |OK| loading texture splash.pvr…

02-05 02:07:18.529: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loading texture splash.pvr…

02-05 02:07:18.529: E/PVRTools(1157): PVRTTextureLoadFromPointer warning: PVRTC not supported. Converting to RGBA8888 instead.

02-05 02:07:19.109: I/Choreographer(1157): Skipped 41 frames! The application may be doing too much work on its main thread.

02-05 02:07:20.319: I/Avighna(1157): [PVRGLES2Renderer] |OK| loaded texture splash.pvr

02-05 02:07:20.319: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loaded texture splash.pvr

02-05 02:07:20.389: I/Avighna(1157): [PVRGLES2Renderer] |OK| loading texture btn_bg.pvr…

02-05 02:07:20.389: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loading texture btn_bg.pvr…

02-05 02:07:20.399: E/PVRTools(1157): PVRTTextureLoadFromPointer warning: PVRTC not supported. Converting to RGBA8888 instead.

02-05 02:07:20.579: I/Avighna(1157): [PVRGLES2Renderer] |OK| loaded texture btn_bg.pvr

02-05 02:07:20.579: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loaded texture btn_bg.pvr

02-05 02:07:20.979: I/Avighna(1157): [PVRGLES2Renderer] |OK| loading texture killedScreen.pvr…

02-05 02:07:20.979: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loading texture killedScreen.pvr…

02-05 02:07:20.979: E/PVRTools(1157): PVRTTextureLoadFromPointer warning: PVRTC not supported. Converting to RGBA8888 instead.

02-05 02:07:22.589: I/Avighna(1157): [PVRGLES2Renderer] |OK| loaded texture killedScreen.pvr

02-05 02:07:22.589: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loaded texture killedScreen.pvr

02-05 02:07:22.589: I/Avighna(1157): [PVRGLES2Renderer] |OK| loading texture won.pvr…

02-05 02:07:22.589: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loading texture won.pvr…

02-05 02:07:22.599: E/PVRTools(1157): PVRTTextureLoadFromPointer warning: PVRTC not supported. Converting to RGBA8888 instead.

02-05 02:07:24.469: I/Avighna(1157): [PVRGLES2Renderer] |OK| loaded texture won.pvr

02-05 02:07:24.469: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loaded texture won.pvr

02-05 02:07:25.139: I/Avighna(1157): [PVRGLES2Renderer] |OK| loading texture maze1.pvr…

02-05 02:07:25.139: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loading texture maze1.pvr…

02-05 02:07:25.259: I/Avighna(1157): [PVRGLES2Renderer] |OK| loaded texture maze1.pvr

02-05 02:07:25.259: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loaded texture maze1.pvr

02-05 02:07:25.289: I/Avighna(1157): [PVRGLES2Renderer] |OK| loading texture maze2.pvr…

02-05 02:07:25.289: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loading texture maze2.pvr…

02-05 02:07:25.389: I/Avighna(1157): [PVRGLES2Renderer] |OK| loaded texture maze2.pvr

02-05 02:07:25.389: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loaded texture maze2.pvr

02-05 02:07:25.399: I/Avighna(1157): [PVRGLES2Renderer] |OK| loading texture maze3.pvr…

02-05 02:07:25.399: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loading texture maze3.pvr…

02-05 02:07:25.519: I/Avighna(1157): [PVRGLES2Renderer] |OK| loaded texture maze3.pvr

02-05 02:07:25.519: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loaded texture maze3.pvr

02-05 02:07:25.659: I/Choreographer(1157): Skipped 36 frames! The application may be doing too much work on its main thread.

02-05 02:07:26.009: I/Avighna(1157): [PVRGLES2Renderer] |OK| loading texture simplebtn.pvr…

02-05 02:07:26.009: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loading texture simplebtn.pvr…

02-05 02:07:26.009: E/PVRTools(1157): PVRTTextureLoadFromPointer warning: PVRTC not supported. Converting to RGBA8888 instead.

02-05 02:07:26.209: I/Avighna(1157): [PVRGLES2Renderer] |OK| loaded texture simplebtn.pvr

02-05 02:07:26.209: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loaded texture simplebtn.pvr

02-05 02:07:26.209: I/Avighna(1157): [PVRGLES2Renderer] |OK| loading texture simplebtn_pressed.pvr…

02-05 02:07:26.209: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loading texture simplebtn_pressed.pvr…

02-05 02:07:26.209: E/PVRTools(1157): PVRTTextureLoadFromPointer warning: PVRTC not supported. Converting to RGBA8888 instead.

02-05 02:07:26.419: I/Avighna(1157): [PVRGLES2Renderer] |OK| loaded texture simplebtn_pressed.pvr

02-05 02:07:26.419: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loaded texture simplebtn_pressed.pvr

02-05 02:07:28.489: I/Avighna(1157): [PVRGLES2Renderer] |OK| loading texture particle.pvr…

02-05 02:07:28.489: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loading texture particle.pvr…

02-05 02:07:28.529: E/PVRTools(1157): PVRTTextureLoadFromPointer warning: PVRTC not supported. Converting to RGBA8888 instead.

02-05 02:07:28.609: I/Avighna(1157): [PVRGLES2Renderer] |OK| loaded texture particle.pvr

02-05 02:07:28.609: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |OK| loaded texture particle.pvr

02-05 02:07:28.689: D/Avighna(1157): [PVRGLES2Renderer] |DEBUG| invisibility restored = 45

02-05 02:07:28.689: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |DEBUG| invisibility restored = 45

02-05 02:07:28.699: D/Avighna(1157): [PVRGLES2Renderer] |DEBUG| coins restored = 0

02-05 02:07:28.699: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |DEBUG| coins restored = 0

02-05 02:07:28.699: E/Avighna(1157): [PVRGLES2Renderer] |ERROR| (null)

02-05 02:07:28.699: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |ERROR| (null)

02-05 02:07:28.729: E/emuglGLESv2_enc(1157): glDrawElements: no data bound to the command - ignoring

02-05 02:07:28.729: E/Avighna(1157): [PVRGLES2Renderer] |ERROR| (null)

02-05 02:07:28.729: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |ERROR| (null)

02-05 02:07:28.739: E/emuglGLESv2_enc(1157): glDrawElements: no data bound to the command - ignoring

02-05 02:07:28.739: E/Avighna(1157): [PVRGLES2Renderer] |ERROR| (null)

02-05 02:07:28.739: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |ERROR| (null)

02-05 02:07:28.739: E/emuglGLESv2_enc(1157): glDrawElements: no data bound to the command - ignoring

02-05 02:07:28.749: E/Avighna(1157): [PVRGLES2Renderer] |ERROR| (null)

02-05 02:07:28.749: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |ERROR| (null)

02-05 02:07:28.749: E/emuglGLESv2_enc(1157): glDrawElements: no data bound to the command - ignoring

02-05 02:07:28.779: E/Avighna(1157): [PVRGLES2Renderer] |ERROR| (null)

02-05 02:07:28.799: I/com.powervr.AdventurousMaze(1157): [PVRGLES2Renderer] |ERROR| (null)

Hi,



In regards of the glBindTexture there is nothing I can do as the error comes from the emulator OpenGL implementation.



We will investigate what is possible issue you are seeing with PFX. I’ll let you know as soon as we have an answer.



Thanks!

Guillem