Eugene Krasichkov, Product Owner Seth Schneider, Technical...

23
Eugene Krasichkov, Product Owner Seth Schneider, Technical Consultant Engineer

Transcript of Eugene Krasichkov, Product Owner Seth Schneider, Technical...

Page 1: Eugene Krasichkov, Product Owner Seth Schneider, Technical ...delta-course.org/docs/delta5/Day6/Delta5D6L1.pdf · Intel does not guarantee the availability, functionality, or effectiveness

Eugene Krasichkov, Product OwnerSeth Schneider, Technical Consultant Engineer

Page 2: Eugene Krasichkov, Product Owner Seth Schneider, Technical ...delta-course.org/docs/delta5/Day6/Delta5D6L1.pdf · Intel does not guarantee the availability, functionality, or effectiveness

Copyright © 2015, Intel Corporation. All rights reserved. *Other names and brands may be claimed as the property of others.

Optimization Notice2

Intel® Graphics Performance Analyzers (Intel® GPA)

Desktop (Windows*, Ubuntu*) Mobile (Windows*, Android*)

Page 3: Eugene Krasichkov, Product Owner Seth Schneider, Technical ...delta-course.org/docs/delta5/Day6/Delta5D6L1.pdf · Intel does not guarantee the availability, functionality, or effectiveness

Copyright © 2015, Intel Corporation. All rights reserved. *Other names and brands may be claimed as the property of others.

Optimization Notice3

Analyze Android* Platforms

Platforms

Host OS

Windows, Ubuntu, OS X*

OpenGL ES*

1.x, 2.x, 3.x

Target Hardware

Intel™ Atom, ARM*

Android OS

4.1-4.4, 5.x, 6.x

Select your Host

Select your Target

Page 4: Eugene Krasichkov, Product Owner Seth Schneider, Technical ...delta-course.org/docs/delta5/Day6/Delta5D6L1.pdf · Intel does not guarantee the availability, functionality, or effectiveness

Copyright © 2015, Intel Corporation. All rights reserved. *Other names and brands may be claimed as the property of others.

Optimization Notice4

Intel® GPA - the app to optimize your games!

Desktop / AIO10 fps

5 fps

2 fps

30+

fps

Page 5: Eugene Krasichkov, Product Owner Seth Schneider, Technical ...delta-course.org/docs/delta5/Day6/Delta5D6L1.pdf · Intel does not guarantee the availability, functionality, or effectiveness

Copyright © 2015, Intel Corporation. All rights reserved. *Other names and brands may be claimed as the property of others.

Optimization Notice5

What’s inside Intel® GPA for Android*?

System Analyzer

Frame Analyzer Platform Analyzer

Draw-call bar-chartGL ES resources

Metrics, experiments

Metrics Overrides

Frame/Trace capture

Frame-level analysis Visual tasks timeline

GPU frame graphCPU/GLES tasks

Live platform analysis

Page 6: Eugene Krasichkov, Product Owner Seth Schneider, Technical ...delta-course.org/docs/delta5/Day6/Delta5D6L1.pdf · Intel does not guarantee the availability, functionality, or effectiveness

Copyright © 2015, Intel Corporation. All rights reserved. *Other names and brands may be claimed as the property of others.

Optimization Notice6

No Code Changes Needed

No Root Required*

No User Application Installation

ADB Interface

Start Platform Analysis with Minimal Setup

* For platform analysis or debug/INTERNET enabled application

Page 7: Eugene Krasichkov, Product Owner Seth Schneider, Technical ...delta-course.org/docs/delta5/Day6/Delta5D6L1.pdf · Intel does not guarantee the availability, functionality, or effectiveness

Copyright © 2015, Intel Corporation. All rights reserved. *Other names and brands may be claimed as the property of others.

Optimization Notice7

Intel® GPA analysis workflowGame with System Analyzer:

Real-time in-game Analysis / Experiments

Frame Analyzer:Deep frame-level Analysis / Experiments

Platform Analyzer: GPU / GLES/ CPU tasks visual timeline

+

CPU Limited

GPU Limited

Capture frame

Capture PA trace

?

Run with the tool Find your bottlenecks Do detailed analysis1 2 3

Run with Intel® GPA

Page 8: Eugene Krasichkov, Product Owner Seth Schneider, Technical ...delta-course.org/docs/delta5/Day6/Delta5D6L1.pdf · Intel does not guarantee the availability, functionality, or effectiveness

Copyright © 2015, Intel Corporation. All rights reserved. *Other names and brands may be claimed as the property of others.

Optimization Notice

MEET THE ANALYZERSSystem Analyzer, Frame Analyzer, Platform Analyzer

8

Page 9: Eugene Krasichkov, Product Owner Seth Schneider, Technical ...delta-course.org/docs/delta5/Day6/Delta5D6L1.pdf · Intel does not guarantee the availability, functionality, or effectiveness

Copyright © 2015, Intel Corporation. All rights reserved. *Other names and brands may be claimed as the property of others.

Optimization Notice9

System Analyzer

View CPU, GPU, Graphics API, and power metrics in real time

Understand the power utilization

Experiment with graphics pipeline state overrides to perform a high-level iterative analysis

Capture frames and traces for detailed analysis with the Graphics Frame Analyzer for OpenGL* and the Platform Analyzer, respectively

Page 10: Eugene Krasichkov, Product Owner Seth Schneider, Technical ...delta-course.org/docs/delta5/Day6/Delta5D6L1.pdf · Intel does not guarantee the availability, functionality, or effectiveness

Copyright © 2015, Intel Corporation. All rights reserved. *Other names and brands may be claimed as the property of others.

Optimization Notice10

System Analyzer – Details – Real Time Metrics

CPU Metrics

GPU Metrics

Memory Metrics

Power Metrics

Graphics API Metrics

Other Platform Metrics

*Metric availability depends on platform

Page 11: Eugene Krasichkov, Product Owner Seth Schneider, Technical ...delta-course.org/docs/delta5/Day6/Delta5D6L1.pdf · Intel does not guarantee the availability, functionality, or effectiveness

Copyright © 2015, Intel Corporation. All rights reserved. *Other names and brands may be claimed as the property of others.

Optimization Notice11

System Analyzer – Details – 3D settings

Frame rate, resolution, Vsync, and API indicators

Override CPU frequency in real time and see the performance delta

Page 12: Eugene Krasichkov, Product Owner Seth Schneider, Technical ...delta-course.org/docs/delta5/Day6/Delta5D6L1.pdf · Intel does not guarantee the availability, functionality, or effectiveness

Copyright © 2015, Intel Corporation. All rights reserved. *Other names and brands may be claimed as the property of others.

Optimization Notice12

System Analyzer – Details – 3D continued

1x1 Scissor Rect

Disable Alpha Blending

Disable Draw Calls

Disable Z-Test

Simple Fragment Shader

Show Wireframe

Texture 2x2

Analyze with System Analyzer

Texture 2x2

Subway Patrol* for Android*

Page 13: Eugene Krasichkov, Product Owner Seth Schneider, Technical ...delta-course.org/docs/delta5/Day6/Delta5D6L1.pdf · Intel does not guarantee the availability, functionality, or effectiveness

Copyright © 2015, Intel Corporation. All rights reserved. *Other names and brands may be claimed as the property of others.

Optimization Notice13

Platform Analyzer

Correlate CPU and GPU activity to understand whether your app is effectively using all compute resources, or it is CPU/GPU bound

Identify GPU and CPU application frame rate and latency

Observe the relationship between function execution and recorded metrics

Page 14: Eugene Krasichkov, Product Owner Seth Schneider, Technical ...delta-course.org/docs/delta5/Day6/Delta5D6L1.pdf · Intel does not guarantee the availability, functionality, or effectiveness

Copyright © 2015, Intel Corporation. All rights reserved. *Other names and brands may be claimed as the property of others.

Optimization Notice14

Frame Analyzer for OpenGL*

Explore a variety of metrics at the API call level to find performance bottlenecks

Analyze all graphics resources and textures used in the frame

Experiment with rendering states, graphics primitive parameters, as well as shaders without recompiling your game code

Correlate rendering issues with the exact stage of the graphics pipeline

Page 15: Eugene Krasichkov, Product Owner Seth Schneider, Technical ...delta-course.org/docs/delta5/Day6/Delta5D6L1.pdf · Intel does not guarantee the availability, functionality, or effectiveness

Copyright © 2015, Intel Corporation. All rights reserved. *Other names and brands may be claimed as the property of others.

Optimization Notice15

Frame Analyzer for OpenGL* – Ergs and Metrics

Identify performance bottlenecks with the erg graph

Selection individual ergs for deeper analysis

Page 16: Eugene Krasichkov, Product Owner Seth Schneider, Technical ...delta-course.org/docs/delta5/Day6/Delta5D6L1.pdf · Intel does not guarantee the availability, functionality, or effectiveness

Copyright © 2015, Intel Corporation. All rights reserved. *Other names and brands may be claimed as the property of others.

Optimization Notice16

Frame Analyzer for OpenGL* – Experiments

Perform Frame level experiments and immediately see the performance delta.

Simple Fragment Shader

1x1 Scissor Rect

2x2 Textures

Disable Erg(s)

Page 17: Eugene Krasichkov, Product Owner Seth Schneider, Technical ...delta-course.org/docs/delta5/Day6/Delta5D6L1.pdf · Intel does not guarantee the availability, functionality, or effectiveness

Copyright © 2015, Intel Corporation. All rights reserved. *Other names and brands may be claimed as the property of others.

Optimization Notice17

Frame Analyzer for OpenGL* – Texture Viewer

Analyze individual textures associated with ergs

Page 18: Eugene Krasichkov, Product Owner Seth Schneider, Technical ...delta-course.org/docs/delta5/Day6/Delta5D6L1.pdf · Intel does not guarantee the availability, functionality, or effectiveness

Copyright © 2015, Intel Corporation. All rights reserved. *Other names and brands may be claimed as the property of others.

Optimization Notice18

Frame Analyzer for OpenGL* – Geometry View

Analyze Geometry within the scene

Page 19: Eugene Krasichkov, Product Owner Seth Schneider, Technical ...delta-course.org/docs/delta5/Day6/Delta5D6L1.pdf · Intel does not guarantee the availability, functionality, or effectiveness

Copyright © 2015, Intel Corporation. All rights reserved. *Other names and brands may be claimed as the property of others.

Optimization Notice19

Frame Analyzer for OpenGL* – Shader Editing

Make real-time edits to the pixel/fragment shader

Page 20: Eugene Krasichkov, Product Owner Seth Schneider, Technical ...delta-course.org/docs/delta5/Day6/Delta5D6L1.pdf · Intel does not guarantee the availability, functionality, or effectiveness

Copyright © 2015, Intel Corporation. All rights reserved. *Other names and brands may be claimed as the property of others.

Optimization Notice20

Intel® GPA Release Notes

https://software.intel.com/en-us/articles/intel-gpa-release-notes

Page 21: Eugene Krasichkov, Product Owner Seth Schneider, Technical ...delta-course.org/docs/delta5/Day6/Delta5D6L1.pdf · Intel does not guarantee the availability, functionality, or effectiveness

Copyright © 2015, Intel Corporation. All rights reserved. *Other names and brands may be claimed as the property of others.

Optimization Notice

Your feedback is importantPlease complete the online survey

21

http://goo.gl/dZXKzk

For Instructors, The QR code and URL are examples. Be sure you put the QR Code and the correct URL for your module on this slide and then remove this box. Check here to find the correct code

Page 22: Eugene Krasichkov, Product Owner Seth Schneider, Technical ...delta-course.org/docs/delta5/Day6/Delta5D6L1.pdf · Intel does not guarantee the availability, functionality, or effectiveness

Copyright © 2015, Intel Corporation. All rights reserved. *Other names and brands may be claimed as the property of others.

Optimization Notice

Legal Disclaimer & Optimization Notice

INFORMATION IN THIS DOCUMENT IS PROVIDED “AS IS”. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS DOCUMENT. INTEL ASSUMES NO LIABILITY WHATSOEVER AND INTEL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO THIS INFORMATION INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.

Software and workloads used in performance tests may have been optimized for performance only on Intel microprocessors. Performance tests, such as SYSmark and MobileMark, are measured using specific computer systems, components, software, operations and functions. Any change to any of those factors may cause the results to vary. You should consult other information and performance tests to assist you in fully evaluating your contemplated purchases, including the performance of that product when combined with other products.

Copyright © 2015, Intel Corporation. All rights reserved. Intel, Pentium, Xeon, Xeon Phi, Core, VTune, Cilk, and the Intel logo are trademarks of Intel Corporation in the U.S. and other countries.

Optimization Notice

Intel’s compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804

22

Page 23: Eugene Krasichkov, Product Owner Seth Schneider, Technical ...delta-course.org/docs/delta5/Day6/Delta5D6L1.pdf · Intel does not guarantee the availability, functionality, or effectiveness