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 <libGLESv2.so>
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?