keywords: Graphics, RGP, NSight, RenderDoc, Snapdragon, Tracing, Profiling, Monitoring, Sighting, Capture, Android, MIUI, iOS, Mobile

How to check supported OpenGL ES version and Vulkan version on Android device

Download Device Info HW from Google Play, open it and switch to soc tab.

How to capture GPU frame for Android UE5 game in Snapdragon Profiler

1, Enable USB debug and GPU debug on Android device:

2, Build Android package using OpenGL ES in UE5 editor settings.

Although both DebugGame and Shipping are available for profiling, but for better performance, shipping version is the only choice.

Snapdragon Profiler can’t capture GPU data for Vulkan layer games built in UE5 (at least in the latest version 5.3). You need to capture frame in AGI (Android GPU Inspector) for Vulkan games.

3, Startup Snapdragon Profiler.

4, Connect device.

5, Switch Layout to OpenGL, if can’t see OpenGL option, maybe the GPU debugging wasn’t enable on Android device.

Sometimes device may disable GPU debugging automatically for saving performance, so you need to enable it again.

6, Click Snapshot GPU Frame Capture.

7, Click Launch to open game.

search the package name.
After a while of stun, you game process appear in the list, then click Take Snapshot.

Finally, capture GPU frame successfully.

How to check the dispatch count (calls)

RGP: Overview -> Frame summary -> Event Statistics -> Dispatch

RenderDoc: Window -> Statistics Viewer -> Dispatch calls

NSight: (in GPU Trace Profiler) Metrics -> Dispatch Started

Dispatch Started is the ratio of current dispatch count to the maximum dispatch count. See the Nsight profiling specifications.

Hardware Information

Check GPU API (OpenGL, D3D, Vulkan) extentions

C++ Library for pulling system and hardware information, without hitting the command line.

Dig the well before you are thirsty. -Chinese Proverbs