10

Performance analysis with Arm Mobile Studio

 1 year ago
source link: https://community.arm.com/arm-community-blogs/b/graphics-gaming-and-vr-blog/posts/p3-performance-analysis-with-arm-mobile-studio
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Performance analysis with Arm Mobile Studio

1464.Mobile_2D00_Studio_2D00_Blog_2D00_2020.jpg_2D00_900x506x2.jpg?_=638058341564151036
December 5, 2022
4 minute read time.

In this blog series, we have been covering Arm's free Mali GPU training series for mobile graphics developers. Today, we present module 3, which introduces Arm Mobile Studio, our free-to-use performance analysis tool suite for identifying performance problems on off-the-shelf Android devices. We demonstrate how to capture and analyze a performance profile of a mobile game, to see how the device’s CPU and GPU resources were used. You will also learn how to debug graphics API calls and shader programs to find more ways to optimize content for mobile.

If you missed the first two blogs in this series, you can catch up here: 

Introducing Arm Mobile Studio

In the first video, we introduce some of the benefits you can gain from having a strong optimization process, and how Arm Mobile Studio could enhance your existing development workflow.

Cannot see this video? Try this link instead.

Capture a performance profile and generate a Performance Advisor report

Now, let us learn how to capture performance data from a game running on a connected Android device, and how to generate and analyze a Performance Advisor report.

Cannot see this video? Try this link instead.

Interpreting game performance in Streamline

Next, we explore the Streamline capture to see how the CPU and GPU workloads from the game were handled by the mobile device.

Cannot see this video? Try this link instead.

How to trace API calls and identify graphics issues with Graphics Analyzer

In the previous video, we learned that the game could contain objects that are too complex for their on-screen size, and distance from the camera. Next, we take a capture with Graphics Analyzer, to explore the scene in more detail. We can look at all the graphics API calls that the application made, and step through them one by one to see how the scene is built.

Cannot see this video? Try this link instead.

Shader analysis and problem detection with Mali Offline Compiler

Lastly, we demonstrate how to run Mali Offline Compiler on a fragment or vertex shader program. This generates a report showing the expected performance of that shader on a Mali GPU.

Cannot see this video? Try this link instead.

Developer resources to help you

Download Arm Mobile Studio for free from the Arm Developer website. You need to create an Arm account to access the download.

Work through the starter guides for Performance Advisor, Streamline, Graphics Analyzer, and Mali Offline Compiler to help you take captures and run reports.

There is also a tutorial to help you analyze Streamline captures, and comprehensive user guides with all the detail on each tool:

Our comprehensive performance counter reference guides, describe all of the performance counter data that Streamline can collect for each Mali GPU. There is also a handy data sheet to help you compare the capabilities of each Mali GPU.

Studios that use a continuous integration system can take advantage of automated performance testing, running Arm Mobile Studio across multiple devices in a device farm. The reported data can be fed into any JSON-compatible database, so that you can build visual dashboards and alerts to monitor how performance changes over time. If you are interested in implementing this at your studio, here is a tutorial that walks you through the basic setup.

Get in touch

This concludes Module 3 of the Mali GPU training. We hope you enjoyed the course, and that you are now well prepared to tackle optimization problems for mobile games. Thanks for watching.

For further support while working with Mali devices or Arm Mobile Studio, go to Arm’s Graphics and Gaming Forum, where you can ask questions, and Arm will be happy to help. If you prefer to contact us privately, feel free to email us at [email protected].


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK