PowerVR SDK Overview Tools To Get Great Graphics...

28
www.imgtec.com August 2012 PowerVR SDK Overview Tools To Get Great Graphics Performance

Transcript of PowerVR SDK Overview Tools To Get Great Graphics...

Page 1: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

www.imgtec.com

August 2012

PowerVR SDK Overview Tools To Get Great Graphics Performance

Page 2: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

2 © Imagination Technologies IMG Presentation – SIGGRAPH 2012

Imagination Technologies – PowerVR Graphics

Imagination Technologies - multi-media IP market leader

20+ years history in graphics & multimedia - strong patent portfolio

Most comprehensive embedded graphics IP roadmap

Target market of more than 800 million PowerVR Graphics enabled devices

50% Market share across all embedded GPUs and near 80% market share for GPU IP

The Embedded Graphics IP Experts

Page 3: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

3 © Imagination Technologies IMG Presentation – SIGGRAPH 2012

What is the PowerVR Insider SDK?

Asset Optimization Geometry; Textures

Coding Source code, shader editors, emulation

environment

Deployment Abstraction layer; example projects

Optimization Performance analysis; API tracing

Enabling Development

PVRVFrame

PVRShaman &

PVRUniSCoEditor

PVRGeoPOD &

Collada2POD

PVRTexTool &

PVRTexLib

PVRTune &

PVRScope

PVRTrace

Page 4: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

4 © Imagination Technologies IMG Presentation – SIGGRAPH 2012

What is the PowerVR Insider SDK?

Example Techniques Step by step guide

basics to advanced techniques

Same project structure

PVRShell abstraction layer

PVRTools helper library

General graphics knowledge

PowerVR specific optimizations

Source Code

Page 5: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

5 © Imagination Technologies IMG Presentation – SIGGRAPH 2012

PVRGeoPOD & Collada2POD

PVRGeoPOD POD exporter plug-in for 3D Studio Max,

Maya and Blender

Collada2POD Provides conversion from the Khronos

Collada interchange format to POD

GUI and command line versions

Windows, Linux and OSX

Geometry Export and Optimisation

Page 6: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

6 © Imagination Technologies IMG Presentation – SIGGRAPH 2012

PVRTexTool

Processes and compresses textures All OpenGL ES (1.x, 2.0), DirectX (9, 10)

Normal map generation, colour bleeding, border addition, high quality scaling algorithms and sky box optimization

Support for PVRTC, PVRTC2

GUI Application

Command Line Utility

Library for Toolchain Integration

Application Plug-ins Adobe Photoshop

Autodesk 3DSMax

Autodesk Maya

Texture Export and Compression

Page 7: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

7 © Imagination Technologies IMG Presentation – SIGGRAPH 2012

PVRTC & PVRTC2

What is PVRTC? High quality, high ratio texture compression format, designed for PowerVR hardware

PVRTC and PVRTC2 both support:

4 bits per pixel RGBA; 8x saving

2 bits per pixel RGBA; 16x saving

PVRTC2 better image quality, pre-multiplied alpha, NPOT sizes, sub-texturing

Texture Compression

PVRTC 2bpp DXT/S3TC 4bpp

PVRTC 4bpp Original 32bpp

Page 8: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

8 © Imagination Technologies IMG Presentation – SIGGRAPH 2012

PVRShaman

Integrated visual shader development environment See visual results of changes

Instant feedback on shader cost

Prototype entire scenes & characters POD models or import Collada files

Material editing

Integrated PVRShaderEditor

Integrated Compiler

DirectX, OpenGL and OpenGL ES (1.1 & 2.0)

WYSIWYG Prototyping Environment

Page 9: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

9 © Imagination Technologies IMG Presentation – SIGGRAPH 2012

PVRShaderEditor (PVRUniSCoEditor)

PVRUniSCoEditor Shader Editor Integrated shader performance information

Error reporting

PVRUniSCo Offline command-line compiler

Profile your shaders

Updated compilers SGX 53x

SGX 540

SGX 543

Shader Editor and Compiler

Page 10: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

10 © Imagination Technologies IMG Presentation – SIGGRAPH 2012

PVRVFrame

PowerVR OpenGL ES emulator OpenGL ES (1.1 & 2.0) emulation on

Windows, Linux and OSX

PVRVFrame features Develop and debug without PowerVR

hardware

Supports all MBX and SGX extensions

Choose a profile for a specific core

PC Emulation

Page 11: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

11 © Imagination Technologies IMG Presentation – SIGGRAPH 2012

PVRTrace

Powerful debugging tool

Scene recording All API calls

EGL

OpenGL ES 1.1

OpenGL ES 2.0

GUI Analysis Function calls

Data passed

Textures

Shaders

Render State

API Call Tracing Tool

Page 12: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

12 © Imagination Technologies IMG Presentation – SIGGRAPH 2012

PVRTrace Overview

Page 13: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

13 © Imagination Technologies IMG Presentation – SIGGRAPH 2012

PVRTrace Analysis Interface

Frame Summary &

Function Counts Function Calls & Filters

Data Viewer Render States, Textures, Shaders

Frame Scrubber

Frame Selector

Visual Analysis

Page 14: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

14 © Imagination Technologies IMG Presentation – SIGGRAPH 2012

PVRTune

Real-time tool for analysing application performance on SGX Details how SGX hardware modules are working when running graphics applications

Displays accurate information from on-chip counters

Negligible graphics performance overhead

Enabled by default in many already shipping devices

Cross-Platform Client: Windows, OSX, Linux

Server: Android, Linux, Windows and more

Page 15: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

15 © Imagination Technologies IMG Presentation – SIGGRAPH 2012

PVRTune – PowerVR GPU Specific Terminology

Basic hardware knowledge to understand performance See “SGX Architecture Guide for Developers” for full details on www.powervrinsider.com

3D TA

Page 16: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

16 © Imagination Technologies IMG Presentation – SIGGRAPH 2012

PVRTune Analysis Interface

Hardware

Performance

Counters

Hardware

Counter

Groups

TA load

visualisation

Graph

views

Connection

Status

3D load

visualisation

Page 17: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

17 © Imagination Technologies IMG Presentation – SIGGRAPH 2012

CPU Bound Application Case Study

CPU may be at or near 100%

Gaps between TA and 3D tasks

Page 18: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

18 © Imagination Technologies IMG Presentation – SIGGRAPH 2012

Vertex Bound Application Case Study

Gaps between 3D tasks No gaps between TA tasks

“USSE load: vertex” and “TA load” may be high

Page 19: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

19 © Imagination Technologies IMG Presentation – SIGGRAPH 2012

Pixel/Fragment Bound Application Case Study

No gaps between

3D tasks

Large gaps

between TA tasks

“USSE load: pixel” and “USSE clock cycles per pixel” may be high

Page 20: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

20 © Imagination Technologies IMG Presentation – SIGGRAPH 2012

V-Sync Limited Application Case Study

SGX sleeping

unpredictably

TA & 3D serialised

Frame rate hovering

around a fixed number

Page 21: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

21 © Imagination Technologies IMG Presentation – SIGGRAPH 2012

PVRScope Library

In your own applications: Access SGX hardware counters

Pass custom counters to PVRTune

Receive data from PVRTune

On-device GPU Performance Counters

Page 22: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

22 © Imagination Technologies IMG Presentation – SIGGRAPH 2012

PVRTune & PVRScope Custom Markers

Custom Marker

Page 23: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

23 © Imagination Technologies IMG Presentation – SIGGRAPH 2012

PVRTune & PVRScope Remote Editing

Page 24: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

www.imgtec.com

August 2012

What's Next ? PowerVR Rogue & SDK 3.0 !

Page 25: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

25 © Imagination Technologies IMG Presentation – SIGGRAPH 2012

PowerVR Rogue Architecture

PowerVR Rogue Cores in Silicon Now Customer product announcements & launches to follow in 2013

Full support for just announced Khronos OpenGL ES 3.0 API (*)

Instancing, Multiple Render Targets (MRTs), Transform Feedback, Occlusion Culling, etc.

Focus on Power & Performance Efficiency

New Gen. Tile Based Deferred Shading, Lossless Compression, Scalable Compute Clusters, …

(*) Product is based on a published Khronos Specification, and is expected to pass the Khronos Conformance Testing Process. Curre nt conformance status can be found at www.khronos.org/conformance

New Hardware = More Features, More Performance

Page 26: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

26 © Imagination Technologies IMG Presentation – SIGGRAPH 2012

PowerVR SDK v3.0

PowerVR SDK v3.0 with full Rogue Architecture Support Initial version launching at the end of summer 2012 – previews here at SIGGRAPH !

PVRVFrame Conformant ES1.1 and ES2.0 (*)

Support for OpenGL ES 3.0 (*)

Including Shader Validation

PVRTrace Android APK for easy usage

Auto-configuration

PVRTexTool OpenGL ES 3.0 and DirectX 11.1 Formats

Updated Compilers Rogue Support & Optimised S5/5XT

(*) Product is based on a published Khronos Specification, and is expected to pass the Khronos Conformance Testing Process. Current conformance status can be found at www.khronos.org/conformance

New Hardware = New SDK with matching feature set

Page 27: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

27 © Imagination Technologies IMG Presentation – SIGGRAPH 2012

PowerVR SDK - meeting YOUR requirements

Want to know more ?

Visit us at Booth 522

Check out our online resources

www.powervrinsider.com

Get in touch directly

[email protected]

Send us your feedback !

Page 28: PowerVR SDK Overview Tools To Get Great Graphics Performanceimgtec.eetrend.com/sites/imgtec.eetrend.com/files/download/201403/... · PowerVR SDK Overview Tools To Get Great ... 50%

www.imgtec.com

August 2012

PowerVR SDK Overview Tools To Get Great Graphics Performance