Hello,
I've been working on this all day and I can't quite get the last mile done.
I've followed the Help documentation to a T, as well as, looked around this site for relevant info. Specifically, Re: Re: Mali Graphics Debugger : libGLES_mgd.so makes crash application Though, no applications are crashing in my case, I'm just not getting trace data. Similarly, I'm working on a Samsung Note 8.0 GT-N5110 with a Mali-400 GPU. I think, for some reason that mgddaemon isn't able to send traces, and I'm trying to track down why.
I'll answer the first few questions in the above post by default.
shell@konawifi:/system/lib/egl $ ls -al
-rwxrwxrwx root root 8 2015-07-22 14:42 egl.cfg
-rwxrwxrwx root root 416 2015-07-22 14:42 egl.cfg.bak
-rwxrwxrwx root root 13344 2014-08-04 07:15 libEGL_mali.so
lrwxrwxrwx root root 2015-07-22 14:46 libEGL_mgd.so -> /system/lib/egl/libGLES_mgd.so
lrwxrwxrwx root root 2015-07-22 14:42 libGLES.so -> /system/lib/egl/libGLES_mgd.so
-rwxrwxrwx root root 79116 2014-08-04 07:14 libGLES_android.so
-rwxrwxrwx root root 3724781 2015-07-22 16:21 libGLES_mgd.so
-rwxrwxrwx root root 25640 2014-08-04 07:15 libGLESv1_CM_mali.so
lrwxrwxrwx root root 2015-07-22 14:46 libGLESv1_CM_mgd.so -> /system/lib/egl/libGLES_mgd.so
-rwxrwxrwx root root 21540 2014-08-04 07:15 libGLESv2_mali.so
lrwxrwxrwx root root 2015-07-22 14:46 libGLESv2_mgd.so -> /system/lib/egl/libGLES_mgd.so
Macintosh:arm_android snovak$ adb shell mgddaemon
1437602372514: mgd_daemon[6520]: INFO: Main: The MGD daemon is starting
Daemon is version: B002
Socket is: \0mgddaemon
1437602372519: mgd_daemon[6520]: INFO: HostConnection: Initializing host connection
1437602372522: mgd_daemon[6520]: INFO: InterceptorListener: Initializing interceptor listener
1437602372523: mgd_daemon[6520]: INFO: Daemon: Daemon initializing
1437602372527: mgd_daemon[6520]: INFO: Daemon: Daemon running
1437602372529: mgd_daemon[6520]: INFO: InterceptorListener: Interceptor Listener waiting for connections
1437602372531: mgd_daemon[6520]: INFO: HostConnection: Host connection listening
Hi Kubacki,
No problem, I did not find any success, unfortunately. I had some luck getting a different device and the adreno profiler to work. But, I had to put special permissions in the app to gain access to profiling, which isn't ideal. I'll have to retrace my steps and get back to this, as I would certainly like to see this working.