The issue can be reproduced with the latest ue5-main branch from the github on 1/5/2023.
Recently I have profiling the performance on Android devices for our project, and I have observed the memory consumed in Mali gpu is higher than qualcomm. Then I have tried the third person template with latest engine, and the issue is the same. From llm & llmplatform, the difference is that Mali has around 200-300m Untracked memory.
Our project is using Vulkan, but I have tried opengl es as well which has same behavior. In addition, the mobile deferred rendering was enabled with r.Mobile.ShadingPath=1 for all tests. The Third Person template was created with mobile platform & scalable quality preset as well as r.Mobile.ShadingPath=1 in the defaultengine.ini. For packaging, only vulkan was enabled.
I have used several Mali devices: Pixel 6a with ARM Mali-G78, Oppo Reno3 with ARM Mali-G77, P30 with ARM Mali-G76, etc. The Qualcomm devices are Oneplus 9 pro with Adreno ™ 660 and Sony XPERIA 5 III with Adreno ™ 660.
Attached screenshots & llm csv files which was using the Third Person template with latest ue5-main branch engine on Pixel 6a & Sony XPERIA 5 III.
LLM_Pid31340_2023.01.05-16.04.01_XQ-BQ72.csv (23.5 KB)
LLMPlatform_Pid31340_2023.01.05-16.04.01_XQ-BQ72.csv (7.0 KB)
LLM_Pid483_2022.07.30-15.02.24_Pixel_6a.csv (50.6 KB)
LLMPlatform_Pid483_2022.07.30-15.02.24_Pixel_6a.csv (10.3 KB)
In addition, the difference with dumpsys meminfo command is the Graphics part:
here is the info on Pixel Mali:
App Summary
Pss(KB) Rss(KB)
------ ------
Java Heap: 4252 18820
Native Heap: 32064 36060
Code: 179260 284644
Stack: 1652 1904
Graphics: 346008 346008 ^
Private Other: 137220
System: 22653
Unknown: 140812
TOTAL PSS: 723109 TOTAL RSS: 828248 TOTAL SWAP PSS: 270
and here is on Sony Qualcomm:
App Summary
Pss(KB) Rss(KB)
------ ------
Java Heap: 4504 19992 ^
Native Heap: 21112 24668
Code: 197860 315656
Stack: 1412 1548
Graphics: 76364 76368
Private Other: 137584
System: 20547
Unknown: 140576
TOTAL PSS: 459383 TOTAL RSS: 578808 TOTAL SWAP PSS: 77
PSS diff mainly depends on Graphics side.
Thanks!