HWCPipe
HWCPipe copied to clipboard
Android graphics mem drops when HWCPipe is enabled
Hi there, we are using HwcPipe analyzing GPU performance of our game, and we found that on the MTK 9200 chip, a sudden GPU memory drop occurs after calling start_sampling(). This issue was not observed on other platforms, including the MTK 9300.
Our device: Vivo X90
What tool is this measured with? The Android Studio memory profiler?
We don't have a good explanation for why this happens - the context used for counter sampling is completely separate to the main application rendering context, so the shouldn't be any direct effect. The counter context itself obviously allocates a bit more memory for the counter buffers, but it should be minor.
Yes, the picture posted above is from Android Studio, we also tried to collect the memory data directly from the java api("summary.graphics" in Debug.MemoryInfo), but shows the same result.
Thanks for confirming - I'll see if the GPU driver team have any ideas that can explain this one.
Closing - old issue, we could not explain or reproduce on our devices.