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: Not getting trace data in GUI

I am trying to trace the GPU activity on an unrooted Samsung S6 using Unity. I have added the libMGD.so to my application and it does appear in my .apk package. I have installed the MGDDaemon and this can see my application.

I start the MGDDaemon and the Mali Graphics Debugger application (Windows8).

Debug | "Connect to target" appears to work and launches a window titled "Capturing Target@/127.0.0.1:5002".

There is no message on the console and no other output appears.

From the MGDDaemon app on device, I select my application which launches.

There are still no traces appearing within the Windows MGD app.

MGD v 3.0.0.6d92cba7

android-non-root\arm\armeabi-v7a\libMGD.so  dated 05/08/2015 18:38

Are messages getting lost somewhere?

Thanks in advance,

Ed

logcat_gearvr_mgd1.txt.zip
Parents
  • I'm facing the same issue, but I don't use Unity for VR.

    All the sympthoms, however, are exactly the same:

    • MGD Daemon is successfully installed and enabled, it detects my Unity app.
    • MGD can connect to the target device. And yes, the "Capturing Target@/127.0.0.1:5002" panel also appears.
    • ... but looks like MGD doesn't get any data. All the panels just show "No content in table" message.

    MGD 3.3.0.1ed1bae6

    Samsung Galaxy Tab S 8.4

    On the Unity side, there's no way to do that "add to the Android.mk and Activity class" stuff.

    So I just put the libMGD.so file from target\android-non-root\arm\armeabi-v7a\ to the project's Assets\Plugins\Android\libs\armeabi-v7a\ folder.

    P.S.: the lack of pre-built example app really complicates the process of setting MGR up. It would be much better if there was pre-built APK for the same app as the one profiled in the "samples" folder.

Reply
  • I'm facing the same issue, but I don't use Unity for VR.

    All the sympthoms, however, are exactly the same:

    • MGD Daemon is successfully installed and enabled, it detects my Unity app.
    • MGD can connect to the target device. And yes, the "Capturing Target@/127.0.0.1:5002" panel also appears.
    • ... but looks like MGD doesn't get any data. All the panels just show "No content in table" message.

    MGD 3.3.0.1ed1bae6

    Samsung Galaxy Tab S 8.4

    On the Unity side, there's no way to do that "add to the Android.mk and Activity class" stuff.

    So I just put the libMGD.so file from target\android-non-root\arm\armeabi-v7a\ to the project's Assets\Plugins\Android\libs\armeabi-v7a\ folder.

    P.S.: the lack of pre-built example app really complicates the process of setting MGR up. It would be much better if there was pre-built APK for the same app as the one profiled in the "samples" folder.

Children