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

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.

Search by Tag

Search for posts by tag.

Search by Author

Search for posts by one of our authors.

Featured posts
Popular posts

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

Related blog articles

British Engineering Excellence Award

PowerVR Vision & AI design team collect another award

We’re delighted that the design team for our PowerVR Series2NX Neural Network Accelerator (NNA) has been honoured with a prestigious British Engineering Excellence Award (BEEA). The BEEAs were established in 2009 to demonstrate the high calibre of engineering design and innovation in the

Series8XT AR/VR Banner

Imagination Technologies: the ray tracing pioneers

After a period out of the spotlight, ray tracing technology has recently come back into focus, taking up a lot of column inches in the tech press. The primary reason is because graphics cards for the PC gaming market have

Amazon Fire Stick 4K pic

Amazon Lights up its Fire TV Stick 4K with PowerVR

Amazon, the internet shopping giant, announced earlier this week the latest version of its media streaming device, the Fire TV Stick 4K. First released in 2016, the Fire TV stick brings catch-up streaming services to any TV with an HDMI

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.
>
Contact Us

Contact Us