mali gpu debugger

https://community.arm.com/developer/tools-software/graphics/b/blog/posts/accelerating-mali-gpu-analysis-using-arm-mobile-studio?_ga=2.63595119.1707627554.1563937012-2006915827.1543458513

数据很全很开心 下面的问题就是 怎么能连手机跑起来。。。

这里带宽数据给的好详细啊 

load/store 

texture

tile buffer

都有曲线

https://community.arm.com/developer/tools-software/graphics/b/blog/posts/integrating-arm-mobile-studio-with-unity?_ga=2.104958531.1707627554.1563937012-2006915827.1543458513

mali这边好多宝贝啊

https://developer.arm.com/tools-and-software/graphics-and-gaming/arm-mobile-studio/learn

FQ食用 

竟然也是全家桶。。。装一个 里面有四个。。

arm mobile studio:

streamline      ---performance analyzer CPU&GPU

graphic analyzer    ---GPU API debugger

offline compiler    ----Shader static analysis

performance advisor   --Analysis reports

===================================================

https://developer.arm.com/tools-and-software/graphics-and-gaming/arm-mobile-studio/downloads

https://developer.arm.com/tools-and-software/graphics-and-gaming/arm-mobile-studio/learn/get-started/get-started-with-graphics-analyzer

安装配置步骤

后面有unity 和unreal的配置方法

照上面配置

装android studio自动下android sdk

adb在platform-tools里面

pc和phone在同一局域网 (才能ping通

adb devices

ping phoneip

adb kill-server

要开5002端口

adb tcpip 5002

adb connect yourphoneIP : 5002

adb devices

unity copy  libMGD.so/unreal 在设置里勾选mali

android studio路径配给unity

出包

装GA 在手机

从GA里面list选你要debug的app

在host上connect

如果端口开对了 就能看到frame了

///////////////////////////

5002: 由于目标计算机积极拒绝,无法连接。 (10061)

failed to connect to 192.168.XX.XXX:5002

开发者模式里面的设置

usb线 

adb -s devicename forward tcp:5002 tcp:5002

adb forward --list

////////////////////////////////////////

read timeout

换了个华为p30照着操作了一顿 需要load libAGA MGD我都试过

connection这个error没有了 

log出一些error 没有trace 数据

总之 华为mali MGD不好用!我用别的!

估计root的会好些 但是华为。。

root了还是有问题

https://github.com/ARM-software/Tool-Solutions/tree/master/mobile-application-profiling

https://github.com/ARM-software/Tool-Solutions/tree/master/mobile-application-profiling/mobile-studio-scripts

这个 

mali streamline给这么多数据 说明他们很厉害了 数据相当全

可官网unity 连huawei那些docs全不好使。。。他们怎么想的。。写一东西不想让人用吗。。。

脚本裏面大寫M改成小寫。。。

安裝路徑不能有空格也別有中文吧 省的又要重裝。。

原文地址:https://www.cnblogs.com/minggoddess/p/11275331.html