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,
Hi elanchao,
Could you elaborate on what the problem that you are experiencing is?
Thanks,
Rich
Hi Rich,
I'm sorry that I made a mistake here, shame on my poor English because i am a "foreigner". Thanks for your reply. I'm a unity developer, and i need to test our unity game on the minimum requirements such as Xiaomi Hongmi 1s(小米红米1S). The day before yesterday i got a new XiaoMi Hongmi 1s from the company, and i have downloaded Mali Graphic Debugger for debugging the unity game. I want use this tool to improve the performance of the program. The configuration of the Xiaomi Hongmi has been showed above.
I have already got the root permission and installed the mgddaemon and LibGLES.so following the manual, and I have successfully start the mgddaemon with port 5002. Then i start the MGD later and then connect to 127.0.0.1:5002 successfully. I run my application, the ADB shell told me that the game has been traced, but the MGD show nothing but "No trace data to display".
Did i make an mistake before? This is strange because the application only use OpenGL ES 2.0, and the linux shell showed that the application has been traced. I paused the application and started the frame capture, but got nothing. Could you help me ?
I have already following the manual, and I have rename the LibGLES_mgd.so to LibGLES.so, and remove the egl.cfg. Did i make a mistake before?
Thank You,
Elan
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
Thanks Chris!
I have traced the application correctly and get a lot of information from the MGD just now, thank you again!
This time in east Asia is midnight now, hope you buddy have a nice day.