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 : No trace displayed on MGD GUI


Hi,

I am trying to install Mali graphics debugger(v2.0.2) on my target(arm_fbdev) as mentioned in the MGD user guide.

I started the mgddaemon and preloaded the interceptor library path before launching the OpenGL ES app but i could not get any trace on MGD GUI.

However, it seems that the host is properly connected as per below log

"Host Connected."

Also . i tried the other alternative to LD_PRELOAD ,i.e., setting LD_LIBRARY_PATH & MGD_LIBRARY_PATH as mentioned in the guide

but still could not get any traces.

I could see libEGL.so and libGLESv2.so in arm_fbdev folder other than the interceptor library.

Please suggest if I am missing anything on setup.

Thanks and Regards

Prabal Ghosh

Parents
  • Yep that would do it, glad you got it working! For the benefit of people googling this later though, it's not advisable to copy the interceptor libs to /usr/lib as it changes the behaviour for normal operation, as everything will now see the MGD libs in /usr/lib and so stuff will stop working unless you have MGD_LIBRARY_PATH correctly set. Correct operation would be achieved without this side effect if you left the real libs in /usr/lib, and set MGD_LIBRARY_PATH to that, and set LD_LIBRARY_PATH to the location of the interceptor libs for the apps you wish to trace .

    Cheers,

    Chris

Reply
  • Yep that would do it, glad you got it working! For the benefit of people googling this later though, it's not advisable to copy the interceptor libs to /usr/lib as it changes the behaviour for normal operation, as everything will now see the MGD libs in /usr/lib and so stuff will stop working unless you have MGD_LIBRARY_PATH correctly set. Correct operation would be achieved without this side effect if you left the real libs in /usr/lib, and set MGD_LIBRARY_PATH to that, and set LD_LIBRARY_PATH to the location of the interceptor libs for the apps you wish to trace .

    Cheers,

    Chris

Children
No data