I am using Arm Mobile Studio for the first time and trying to work with Graphics Analyzer acording to Arm Mali GPU Training Series Ep 3.4 : Graphics Analyzer, but getting this
using Huawei P20 Lite With Android 9.0 as a test device. How can i overcome this problem.
Thank you for fast response, i just click Learn>Get Started then used Performance Advisor and Streamline as stated in the tutorials. As explained in the video click Open the Device Manager > Select device>Package>Start CaptureI am using Unity 2020.3 and Graphics API is OpenGL ES also package looks debuggable in the Analyzer>Device Manager.
Thanks for the extra info. Based on what you've tried I think the problem is that you used Performance Advisor without letting the lwi_me.py script complete shutdown. Can you try running the PA lwi_me.py script, and then after capturing, returning the PA terminal and hit the <Enter> key so the script has a chance to clean up the device. This will ensure the PA interceptor is getting removed.I'll confirm with the engineering team later, but it looks like Graphics Analyzer is failing to reinstall the interceptor if the PA interceptor is present on the device, so the PA interceptor is getting used by mistake.
Kind regards, Pete
I tried what you said. Unfortunately it didn't work that way, but there was something I forgot to mention. I prepared my Unity project according to Performance Advisor User Guide PDF > 2.3.1 Prepare your Unity Project section and in the Assets>Plugin folder, there was a file named "libMGD.so" and propblably Analyzer was using this library. So i deleted it and build app to device again then tried to capture in Graphic Analyzer and it worked!
Peter Harris said:Have you used the tools before? It looks like its picking up an older version of the interceptor library.
This was successful thanks to the tip you gave me in your previous answer! Thank you for enlightening me Pete, you are the best!
> I prepared my Unity project according to Performance Advisor User Guide PDF > 2.3.1 Prepare your Unity Project section and in the Assets>Plugin folder, there was a file named "libMGD.so" and probably Analyzer was using this library. Ah, yes, that would take precedence. Thanks for confirming the solution, and we'll make sure to clarify this issue in our next release!
P.S. Note that the library integration into the Unity application build is only needed for Android 9 or older. For Android 10+ we can inject the Performance Advisor library at runtime using OpenGL ES layers.