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

Galaxy s2 Arm 400 Not able to use MGD -Preload not working

Am Trying to Use MGD(Mali Graphics Debugger)
When i try to "export LD_PRELOAD=/path/to/intercept/libinterceptor.so" as per the Document
"Could not load needed library 'libdl.so.2' for 'libinterceptor.so'"


and if i try to Libdl.s0.2 it depends libc.so.6 and Finally End up in this Error libdl.so.2 is not a valid ELF object.

Am using the Latest Version "Mali Graphics Debugger v1.2.1"

Target Device Details :

  • Device : Galaxy s2
  • Android Version : 4.1.2
  • Kernel : 3.0.31

Note :

used the Methind 8.1.4 Mentioned in the user Document too as Below:

  • "LD_LIBRARY_PATH=/path/to/intercept/dir/:$LD_LIBRARY_PATH
  • MGD_LIBRARY_PATH=/path/to/original/drivers/dir/ "

I tried Having Both Processlist.cfg & not having the same still No Trace is Generated.

If i dont use Pre load it ll Connect to the Port and No Trace is Generated .Please Help me to Resolve them.

Thanks in Advance

Parents
  • Hi subrhmanyam,

    I think there's been some confusion, if you're running on Android you should not be using the PRELOAD method, you should just be putting libGLES_mgd.so in /system/lib/egl/ and modifying /system/lib/egl/egl.cfg to point to it. You seem to be following the Linux target instructions.

    Hope this helps,

    Chris

Reply
  • Hi subrhmanyam,

    I think there's been some confusion, if you're running on Android you should not be using the PRELOAD method, you should just be putting libGLES_mgd.so in /system/lib/egl/ and modifying /system/lib/egl/egl.cfg to point to it. You seem to be following the Linux target instructions.

    Hope this helps,

    Chris

Children
No data