Imagination PowerVR SDK Blog

eglGetProcAddress error in PVRTrace for Android

pvrtrace

#1


Hi all,
I am trying to get some trace with PVRTrace in Android 4.03 with TI OMAP4430 platform.
By following the instruction of the PVRTrace User Manual, the application can show with these PVRTrace library.
The logcat  shows that these SO library have been loaded, but I found a lot of error about "eglGetProcAddress Extension Error".
I have tried network/offline recording but got similar error.
Anyone can give me some suggestions about this error?
Many thanks for your help.

Best Regards,
Richard

11-02 09:08:05.414: D/libEGL(7337): loaded /system/lib/egl/libGLES_android.so
11-02 09:08:05.421: I/PVRTrace(I)(7337): The current working directory is /
11-02 09:08:05.421: I/PVRTrace(I)(7337): Config file found: //pvrtrace.cfg
11-02 09:08:05.421: I/PVRTrace(I)(7337): NetworkControl(I): Enabled
11-02 09:08:05.421: I/PVRTrace(I)(7337): Config File HostEs1LibPath: /system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
11-02 09:08:05.421: I/PVRTrace(I)(7337): Config File HostEs2LibPath: /system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
11-02 09:08:05.421: I/PVRTrace(I)(7337): Config File HostEs3LibPath: 
11-02 09:08:05.429: I/PVRTrace(I)(7337): Checking Exclude/Include Lists...............
11-02 09:08:05.429: I/PVRTrace(I)(7337): Initialize Server
11-02 09:08:05.429: D/PVRTrace(LD)(7337): CDataPathHerdSockets::initialise
11-02 09:08:05.429: D/PVRTrace(LD)(7337): RcOpenInit = OK
11-02 09:08:05.429: I/PVRTrace(I)(7337): Opening trace file to record: /data/trace.pvrt
11-02 09:08:05.453: I/PVRTrace(I)(7337): Trace file Open in: /data/trace.pvrt
11-02 09:08:05.453: D/libEGL(7337): loaded /vendor/lib/egl/libEGL_PVRTRACE.so
11-02 09:08:05.453: I/PVRTrace(I)(7337): Loading Host library.... /system/vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
11-02 09:08:05.453: I/PVRTrace(I)(7337): Host Library Loaded: /system/vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
11-02 09:08:05.453: E/PVRTrace(E)(7337): PVRTrace failed to find function: eglSetSwapRectangleANDROID
11-02 09:08:05.453: I/PVRTrace(I)(7337): Error loading library eglSetSwapRectangleANDROID
11-02 09:08:05.453: E/PVRTrace(E)(7337): PVRTrace failed to find function: eglGetRenderBufferANDROID
11-02 09:08:05.453: I/PVRTrace(I)(7337): Error loading library eglGetRenderBufferANDROID
11-02 09:08:05.460: I/PVRTrace(I)(7337): eglGetProcAddress Extension Error: eglLockSurfaceKHR
11-02 09:08:05.460: I/PVRTrace(I)(7337): eglGetProcAddress Extension Error: eglUnlockSurfaceKHR
11-02 09:08:05.460: I/PVRTrace(I)(7337): Loading Host library.... /system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
11-02 09:08:05.460: I/PVRTrace(I)(7337): Host Library Loaded: /system/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
11-02 09:08:05.460: I/PVRTrace(I)(7337): Loading Host library.... /system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
11-02 09:08:05.460: I/PVRTrace(I)(7337): Host Library Loaded: /system/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
11-02 09:08:05.460: I/PVRTrace(I)(7337): eglGetProcAddress Extension Error: eglSetSwapRectangleANDROID
11-02 09:08:05.460: I/PVRTrace(I)(7337): eglGetProcAddress Extension Error: eglGetRenderBufferANDROID
11-02 09:08:05.460: I/PVRTrace(I)(7337): eglGetProcAddress Extension Error: eglGetSystemTimeFrequencyNV
11-02 09:08:05.460: I/PVRTrace(I)(7337): eglGetProcAddress Extension Error: eglGetSystemTimeNV
11-02 09:08:05.468: D/libEGL(7337): loaded /vendor/lib/egl/libGLESv1_CM_PVRTRACE.so
11-02 09:08:05.468: I/PVRTrace(I)(7337): eglGetProcAddress Extension Error: glAlphaFuncxOES
............

#2


Hi Richard Lu,

If you are not using that extension in your application you don't have anything to worry. 

We have change the message "error" for "warning" as in the Android Java Layer who asks for all that extension by default.

And just to let you know, next week we are going to release a new version of PVRTrace 3.0 Revision 2 with a few issues fixed.


Regards,

David





#3

Hi DGonzalez,


    Thanks for your quickly replay,
May I know when will the new version of SDK be released?

Thank you,

Best Regards,
Richard Lu