PowerVR Graphics SDK tools explained: Advanced features in PVRTraceGUI

So far in this series, I’ve described what PVRTrace is and outlined the core features of PVRTraceGUI. In this post, I’ll detail the advanced features of our analysis tool that simplify the process of identifying misuses of the API, redundancies & potential performance bottlenecks.


Pixel Analysis: Frame Summary


Selected Pixel

A pixel can be selected by clicking on it in the Image Analysis widget. When this is done, the Selected Pixel interface displays the coordinates of the pixel & lists the fragment shader ID’s than contributed to its colour. This inspection – paired with our Depth Complexity and PowerVR Depth Complexity modes – makes it easy to identify redundant/unnecessary blended primitives in the render that can be optimized out.

Frame Summary

The Frame Summary uses data from our Image Analysis and offline profiling compilers to highlight the most ALU intensive parts of the render’s fragment shading.

In the above screenshot, we can see that shader A (#12110173) accounts for more than 50% of the ALU cost of colouring pixels in the frame. Although this shader is only 7 cycles, reducing this to 6 cycles or less will be the best way to increase performance on an ALU bottlenecked device as the shader is used on so many pixels. The next most costly shader is B (#7490107) – accounting for ~20% of the pixel processing computations. As shader B requires many more cycles than shader A, there are likely to be more opportunities to optimize it.

Image Analysis: Pixel Heatmap


As the name suggests, this mode visualizes fragment shader ALU complexity by rendering a heatmap. This uses a colour scale of red (the most expensive shaders) to green (the cheapest shaders).

Paired with the data in the Pixel Analysis widget, this mode makes the process of isolating the costly parts of your render trivial.

Export Data

It’s basic, but it’s extremely useful. The FileàExport Data options can be used to dump the call log, the call statistics (e.g. the number of times each call is made in the recording) & all of the shaders that were captured. This data can then be inspected outside of PVRTraceGUI or parsed in custom tools.


The PVRTraceGUI interface is designed to give you everything you need to quickly identify redundancies and errors in your render. In our upcoming 3.2 SDK release, we’ll be adding a whole host of new features that will make this even easier.

In the next post, I’ll detail how the Playback tool can be used to replay captured data on any of our supported platforms, and also discuss how the Trace Modifications feature can be used to make simple alterations to shaders and the GL call stream for testing (much safer than attempting to hack code in a complex rendering engine!). In the meantime, please check out the previous posts in the series, download the PowerVR Graphics SDK (if you haven’t done so already) and post on our forum if you have any questions. Remember to follow us on Twitter (@ImaginationTech and @PowerVRInsider) and subscribe to our blog.

Leave a Comment

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

Tel: +44 (0)1923 260 511

Related blog articles

What is PowerVR Automotive? Register NOW to hear our webinar.

The automotive industry is going through many changes and that is having a huge impact on the semiconductor IP industry. The vehicle will move from being predominantly mechanical to primarily a computer on wheels enabling a future of self-driving cars,

Image-based lighting

PowerVR Tools and SDK 2018 Release 2 now available

Here’s an early Christmas present for graphics developers – the release of the latest version of our PowerVR Tools and SDK! The headline features for this release include some exciting new examples demonstrating new techniques in our SDK, and some very

on stage in China

PVRIC4 a hit at ICCAD 2018 in China

Imagination’s PVRIC4 image compression tech garnered plenty of attention at the recent ICCAD China 2018 symposium, which took place on 29th and 30th November at the Zhuhai International Convention & Exhibition Centre, China. The annual event focusses on integrated circuit

The ultimate embedded GPUs for the latest applications

Introducing PowerVR Series9XEP, Series9XMP, and Series9XTP As Benjamin Franklin once said, only three things in life are certain: death, taxes and the ongoing rapid advancement of GPUs for embedded applications*. Proving his point, this week, Imagination has once again pushed

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.