PowerVR Graphics SDK tools explained: A quickstart guide for running PVRTune on Android

Share on linkedin
Share on twitter
Share on facebook
Share on google

This blog post intends to be a replacement for the “PVRTune.Quick Start Guide for Android.Developer” document included in the latest PowerVR Graphics SDK v3.2.

The article aims to better reflect the current content of this SDK. and get you up to speed with PVRTune (GPU profiler) for Android in just a few minutes.

Prerequisites:

Notice that some of the features of PVRTune (such as the Render State Override) will work on non-PowerVR devices. On the other hand, we can’t guarantee it since we don’t usually perform any testing on non-PowerVR devices.

Overview of operation

PVRTune is divided in two components:

  • PVRPerfServer: Is an application that runs on the PowerVR device. It retrieves the GPU performance data and sends it over the network.
  • PVRTune GUI: Is a GPU profiling tool that runs on a Linux, Mac OS or Windows computer. It connects to the device through PVRPerfServer and displays the GPU performance data in a comprehensive way.

Step 1: Installing PVRHub

PVRHub is the Android application used to install the PVRTrace recording libraries in our device. It can be installed using ADB.

adb install /path/to/PowerVR_SDK/PVRHub/Android_armeabi_armeabi-v7a_x86_mips/PVRHub.apk

(Optional) Step 2: Forwarding the data through ADB

This optional step is required to connect with PVRPerfServer over USB instead of over WiFi.

In order to accomplish this you can use ADB:

adb forward tcp:6520 tcp:6520

Step 3: Profile an application

To start profiling choose the “Start PVRPerfServer” (A) option.

PVRTune Android - step 1

That’s it, now is the time to have fun and profile.

Launch your favourite app (such as the Water demo):

PVRTrace on Android - step 4

From your PC open the PVRTune GUI:

PVRTune Android - step 3

PVRTune will automatically broadcast for PVRPerfServer servers on the subnet and list them in (A). If you did the Step 2 only type in “localhost” and click “Go” (C).

Conclusion

Now you should be sitting in front of a functional PVRTune instance with access to all the hardware data; yet this is just a taste of all what PVRTune can do.

Along with the PVRTrace libraries, PVRPerfServer is capable of sending software counter information, override the render state and display Open GL ES timing data. Check the PVRTune User Manual for an accurate list.

For an overview of the PowerVR Graphics SDK 3.2, check out this blog post we’ve written at launch. Make sure you follow us on Twitter (@PowerVRInsider) for the latest news and announcements from the PowerVR Developer Technology team.

Please leave a comment below

Comment policy: We love comments and appreciate the time that readers spend to share ideas and give feedback. However, all comments are manually moderated and those deemed to be spam or solely promotional will be deleted. We respect your privacy and will not publish your personal details.

Blog Contact

If you have any enquiries regarding any of our blog posts, please contact:

United Kingdom

benny.har-even@imgtec.com
Tel: +44 (0)1923 260 511

Search by Tag

Search for posts by tag.

Search by Author

Search for posts by one of our authors.

Featured posts
Popular posts

Related blog articles

Product and event round-up from the experts in GPU and AI

It’s certainly been a busy few months for Imagination. Towards the latter end of last year, we released a raft of new products and initiatives, and a new CEO took the helm giving us real momentum for 2019. At the

How AI is conducting the future of music technology

“We tend to think of technological advances as destroying what’s gone before, but that doesn’t usually happen. This could lead to a different way of making music.” – Jarvis Cocker, former Pulp frontman, solo artist, writer and broadcaster In recent

Why you should join Imagination at Embedded World 2019

Our technology is focussed entirely on offering SoC manufacturers low power, high-performance options for building groundbreaking products in a range of markets, from automotive to smart devices such as smart speakers to the latest smartphones. Embedded World is one of

Stay up-to-date with Imagination

Sign up to receive the latest news and product updates from Imagination straight to your inbox.

  • This field is for validation purposes and should be left unchanged.