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

Getting Mali Graphics Debugger to work on Xiaomi Hongmi 1s - "No trace data to display"

Hi, I'm use the Mali Graphics Debugger with a Xiaomi Hongmi 1s(小米红米1S), and there is a problem. Here's my configuration:

Client: Xiaomi Hongmi 1s, Android 4.4.2

Host: Windows 7 x64

MGD version: 1.3.2.0df6a938

I have installed the mgddaemon and LibGLES.so following the manual, and then I have started mgddaemon with port 5002. I start the MGD later and then connect 127.0.0.1:5002 -- it is connected successfully,

Parents
  • Hi Elan,

    Did you ensure the application was force-closed before you started tracing? After installing libGLES_mgd.so onto the device, the process must be completely killed in order for the runtime linker to link in the MGD interceptor. Android does not necessarily kill the application process when you "close" the application by pressing the home button. If in doubt, restarting the device will definitely kill everything, or you can use the task switcher/force close/etc.

    The flow is:

    Install MGD interceptor + mgddaemon

    Run mgddaemon

    Connect from host

    Force close application if it isn't already

    Run application

    Trace should then start flowing into the GUI

    Hth,

    Chris

Reply
  • Hi Elan,

    Did you ensure the application was force-closed before you started tracing? After installing libGLES_mgd.so onto the device, the process must be completely killed in order for the runtime linker to link in the MGD interceptor. Android does not necessarily kill the application process when you "close" the application by pressing the home button. If in doubt, restarting the device will definitely kill everything, or you can use the task switcher/force close/etc.

    The flow is:

    Install MGD interceptor + mgddaemon

    Run mgddaemon

    Connect from host

    Force close application if it isn't already

    Run application

    Trace should then start flowing into the GUI

    Hth,

    Chris

Children