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
翻牆食用
竟然也是全家桶。。。裝一個 里面有四個。。
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改成小寫。。。
安裝路徑不能有空格也別有中文吧 省的又要重裝。。