This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Mali Graphics Debugger with non-root device

I am trying to profile Asphalt 8 game which is running at 19fps on Galaxy S6 (Exynos 7420) vs 60 fps on LG Flex 2 (Qualcomm® Snapdragon™ 810).

I would like to run Mali Debugger on a non-rooted Galaxy S6 device.

I loaded the libMGD.so as mentioned in the documentation.

But the libMGD library fail to load GL libraries.

I/libMGD  (18369): dlopen of <libEGL.so>

E/libMGD  (18369): Error dereferencing pathname

D/(18369): [ERROR] Failed to load libEGL.  EGL APIs are not available.

..

I/libMGD  (18369): dlopen of <libEGL.so>

E/libMGD  (18369): Error dereferencing pathname

D/(18369): [ERROR] Failed to load libEGL.  EGL APIs are not available.

I/libMGD  (18369): dlopen of <libGLESv2.so>

E/libMGD  (18369): Error dereferencing pathname

D/(18369): [ERROR] Failed to load libGLESv2.  GL APIs are not available.

I can think of two possible solutions:

1)Change dlopen(libMGD.so)to System.loadLibrary("MGD") (MGDDaemon.apk)

2) Use absolute path names for dlopen in libMGD.so


Could you please help me resolve this issue?