SlideShare a Scribd company logo
Погружение в глубины
           черной бездны с Intel® GPA
             Павел Головинский, Евгений Городецкий, Intel
                       Константин Попов, Biart




                            Copyright© 2012, Intel Corporation. All rights reserved.
КРИ 2012             *Other brands and names are the property of their respective owners.   1
План доклада




                 Copyright© 2012, Intel Corporation. All rights reserved.
          *Other brands and names are the property of their respective owners.   2
Intel® Graphics Performance Analyzers
(Intel® GPA)
                • Инструментарий анализа
                  производительности графических
                  приложений
                • DirectX* 9, 10, 10.1, 11
                • Windows 7, 8 (32/64-bit)
                • Доступен бесплатно:
                                           www.intel.com/software/gpa

                     Copyright© 2012, Intel Corporation. All rights reserved.
              *Other brands and names are the property of their respective owners.   3
Анализ приложения с Intel® GPA
                                Игра с GPA HUD /
                                System Analyzer
                                                                                        Parallel Studio XE /
 GPA Frame Analyzer                          Запуск
                                              игры                                     GPA Platform Analyzer



             Ограничена                                                       Ограничена
                GPU                                                              CPU


    Покадровый           Анализ поведения игры                                               Анализ выполнения
   анализ на GPU          в реальном времени                                                    задач на CPU
                             Copyright© 2012, Intel Corporation. All rights reserved.
                      *Other brands and names are the property of their respective owners.                       4
Intel® GPA 2012
                                   •       Новый System Analyzer
                                   •       Поддержка Android* на Atom (NDA)
                                   •       Метрики потребления энергии
                                   •       Улучшения в Platform и Frame Analyzer
                                   •       Теперь доступен на
                                           Intel® Visual Computing Source:
                                                      http://www.intel.com/software/vcsource
                                   • Новый релиз GPA 2012 R3
                                     на следующей неделе!

                  Copyright© 2012, Intel Corporation. All rights reserved.
           *Other brands and names are the property of their respective owners.                5
System Analyzer
                                 •       Рабочая ОС: Windows, Ubuntu**
Высокоуровневый анализ           •       Целевая ОС: Windows, Android**
      приложения
                                 •       Подключение
                                            –     К системе в целом
                                            –     К не инструментированным приложениям без исходного кода
                                            –     К приложениям на мобильном устройстве Intel x86 под ОС Android*
                                 •       Общая информация о приложении
                                 •       Анализ программных и аппаратных метрик
                                 •       Проведение графических экспериментов
                                 •       Управление
                                       – Экспорт метрик в CSV
                                       – Захват текущего кадра или трассы для детального анализа
                                       – Пауза приложения и покадровое переключение кадров
                                 ** NDA – доступ по договору о неразглашении
                            Copyright© 2012, Intel Corporation. All rights reserved.
                     *Other brands and names are the property of their respective owners.                   6
Frame Analyzer
Низкоуровневый анализ               •       Рабочая и целевая ОС: Windows* 7, 8
   рендеринга кадра                 •       Графическое API: DirectX 9, 10, 10.1, 11
                                    •       Визуализация захваченного кадра игры
                                              –      Вызовы рисования, время их выполнения и результаты
                                              –      Состояние DX для каждого вызова
                                              –      Промежуточные результаты рендер-таргетов
                                              –      Используемые текстуры (сохранение DDS, просмотр Hex)
                                              –      Код и константы шейдеров (на HLSL или ассемблере)
                                    •       Эксперименты над отдельными вызовами рисования
                                    •       AdvisorBETA: Рекомендации по оптимизации
                                            кадра и отдельных вызовов

                               Copyright© 2012, Intel Corporation. All rights reserved.
                        *Other brands and names are the property of their respective owners.            7
Platform Analyzer
   Анализ параллельного           •       Рабочая и целевая ОС: Windows* 7, 8
исполнения задач CPU и GPU        •       Захват трассы исполнения на CPU:
                                            –      Программа инструментируется разработчиком
                                            –      Intel® Instrumentation and Tracing Technology (ITT)
                                  •       Захват трассы вызовов DX на GPU:
                                            –      Не требует специальной инструментации приложения
                                  •       Визуализация исполнения задач на CPU и GPU:
                                            –      Параллельные задачи и зависимости
                                            –      Пользовательские события (маркеры)
                                  •       Поддержка Intel OpenCL**
                                  ** NDA – доступ по договору о неразглашении

                               Copyright© 2012, Intel Corporation. All rights reserved.
                        *Other brands and names are the property of their respective owners.             8
Знакомьтесь с Biart
                       • Независимая игровая студия (game / engine)
                       • Зарегистрирована в Delaware, USA
                         c R&D офисом в Москве
                       • Первая игра выпущена в 2007
                       • Разработка движка biEngine начата в 2008
                       • Поддержка PC, XBox360 и PlayStation 3
                       • Поддержка Android / iOS в разработке



                  Copyright© 2012, Intel Corporation. All rights reserved.
           *Other brands and names are the property of their respective owners.   9
Deep Black: Reloaded
                 • Подводный Sci-Fi шутер от первого лица
                 • Выпущена на PC в Q1 2012
                 • Будет выпущена на Xbox* 360 и PlayStation* 3
                   в 2012 издателем 505 Games
                 • Основана на движке biEngine




                  Copyright© 2012, Intel Corporation. All rights reserved.
           *Other brands and names are the property of their respective owners.   10
Ultrabooks™ и Intel® HD Graphics

                                    20% наших пользователей
                                    используют Intel ® HD Graphics!
                                    * По данным продаж Deep Black




                    Copyright© 2012, Intel Corporation. All rights reserved.
             *Other brands and names are the property of their respective owners.   11
Оптимизация с помощью GPA

                         Обнаружены 3 основных проблемы:
                                   – Большое количество draw-вызовов
                                   – Ограничение скоростью заполнения
                                     (shader / fill-rate)
                                   – 3 основных полноэкранных прохода
                                     могут быть оптимизированы




                 Copyright© 2012, Intel Corporation. All rights reserved.
          *Other brands and names are the property of their respective owners.   12
Оптимизация с помощью GPA

                            Решены 3 основных проблемы:
                                      – Уровни оптимизированы для использования
                                        меньшего числа draw-вызовов
                                      – Применен рендеринг в уменьшенном
                                        разрешении (multi-resolution rendering)
                                      – Оптимизированы полноэкранные
                                        шейдеры
Производительность повышена более чем на 50%
                    Copyright© 2012, Intel Corporation. All rights reserved.
             *Other brands and names are the property of their respective owners.   13
Оптимизация под Ultrabook™
                 Оптимизация энергопотребления:
                           – Ограничение в 30 FPS
                           – Использование Intel Laptop Gaming TDK

                           http://software.intel.com/en-us/articles/intel-
                           laptop-gaming-technology-development-kit/



                  Copyright© 2012, Intel Corporation. All rights reserved.
           *Other brands and names are the property of their respective owners.   14
Оптимизация под Ultrabook™




                               Исходная версия:                                   С оптимизацией:
                                   104 мин.                                           133 мин.


                       +30% игрового времени на батарее

                  Copyright© 2012, Intel Corporation. All rights reserved.
           *Other brands and names are the property of their respective owners.                     15
Индикатор заряда батареи
                                                                                 Индикатор заряда
                                                                                  батареи в игре




                 Copyright© 2012, Intel Corporation. All rights reserved.
          *Other brands and names are the property of their respective owners.               16
ДЕМО: DEEP BLACK RELOADED

               Copyright© 2012, Intel Corporation. All rights reserved.
        *Other brands and names are the property of their respective owners.   17
Поддержка игр на Android* и Intel® Atom™




                       Copyright© 2012, Intel Corporation. All rights reserved.
                *Other brands and names are the property of their respective owners.   18
Анализ метрик приложения на Android*
•   CPU Load & Frequency                                         •      OpenGL API-call counters
                                                                            –   Buffer Creations
•   Memory Bus Load
                                                                            –   Draw Calls
•   Disk IO Activity
                                                                            –   Error Gets
•   GPU                                                                     –   RT Changes & Clears
     –   GPU Load & Frequency                                               –   Frame Time & FPS
     –   Texture Unit Load
     –   Parameter Buffer (PB) Throughput
                                                                 • Power
                                                                            – Charging
     –   Image Synthesis Processor (ISP) Load
                                                                            – Discharging
     –   Texture & Shading Processor (TSP) Load
     –   Universal Scalable Shader Engine (USSE)
         Throughput & Load



                                          Copyright© 2012, Intel Corporation. All rights reserved.
                                   *Other brands and names are the property of their respective owners.   19
Графические эксперименты на Android*
    Рендеринг        Отключение                                Отключение                         Текстуры
  без изменений        Z-теста                               Alpha-блендинга                         2x2




  Полигональная       Простейший                             Рисование                           Отключение
      сетка       фрагментный шейдер                   единственного пиксела                  вызовов рисования




                              Copyright© 2012, Intel Corporation. All rights reserved.
                       *Other brands and names are the property of their respective owners.                       20
ДЕМО: ASPHALT 6 НА ANDROID

               Copyright© 2012, Intel Corporation. All rights reserved.
        *Other brands and names are the property of their respective owners.   21
Заключение
• Мощные инструменты анализа производительности ваших игр:
   – System Analyzer / HUD
   – Frame Analyzer
   – Platform Analyzer
• Инструменты оптимизации игр под Андроид
   – Доступ по специальному соглашению компании разработчика с Intel
   – Запишитесь в наш список!
• Оптимизируйте игры на платформах Intel для более долгой работы от
  батареи на мобильных платформах и Intel Ultrabook
• Загрузите последнюю версию Intel GPA:
                    www.intel.com/software/gpa
                                Copyright© 2012, Intel Corporation. All rights reserved.
                         *Other brands and names are the property of their respective owners.   22
Copyright© 2012, Intel Corporation. All rights reserved.
*Other brands and names are the property of their respective owners.   23
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




                                            Copyright© 2012, Intel Corporation. All rights reserved.
                                     *Other brands and names are the property of their respective owners.                               24

More Related Content

PPTX
Porting existing games to Apple Metal API. Case study: Divinity Original Sin ...
PDF
CodeFest 2014. Коновалов А., Шкурко Д. — Разработка и оптимизация приложений ...
PPTX
Nival: Как не увлечься погоней за универсализацией компонент
PPTX
Вводный вебинар по iRidium
PDF
Архитектура для мобильных игр - с чего начать и популярные решения / Евгений ...
PPTX
Ui testing how intel does this
PPT
Reda ip businessplan
PPT
Intel desktop processors
Porting existing games to Apple Metal API. Case study: Divinity Original Sin ...
CodeFest 2014. Коновалов А., Шкурко Д. — Разработка и оптимизация приложений ...
Nival: Как не увлечься погоней за универсализацией компонент
Вводный вебинар по iRidium
Архитектура для мобильных игр - с чего начать и популярные решения / Евгений ...
Ui testing how intel does this
Reda ip businessplan
Intel desktop processors

Similar to Погружение в глубины черной бездны с Intel GPA (20)

PPTX
Дмитрий Рыжков. Intel Android x86.
PPTX
CodeFest 2012. Лоенко М. — Разработка и оптимизация Android* приложений под п...
PDF
Alexey Savchenko, Evangelist, Unreal Engine/ Epic Games
PPTX
Wargaming.net: Архитектура современных 3D движков
PPTX
Преимущества облачных сервисов DEPO Cloud на базе новой 22-нанометровой микро...
PDF
“Tips&Tricks&Antitricks with .Net Core backend in GameDev”
PDF
Microsoft: Создание игр на DirectX для Windows 8 и Windows Phone 8
ODP
презентацияевстафьева
PDF
Сергей Комлач "Итоги Google I/O: что нас ждет"
PPTX
Diplom 1
ODP
презентация клевин александр
PPTX
голубушин
PDF
JD Edwards Orchestrator and AIS server
PPTX
Анонс новых моделей серверов ДЕПО Шторм российского производства
PPTX
Решение по виртуализации графических станций DEPO VGS на базе технологии NVID...
PPTX
Open gl и direct3d
PPTX
SECON'2016. Чубарь Алексей, Мобильные грабли Unity
PDF
Комфортная разработка мобильных проектов
ODP
презентация костина сравнение 8.1 7
Дмитрий Рыжков. Intel Android x86.
CodeFest 2012. Лоенко М. — Разработка и оптимизация Android* приложений под п...
Alexey Savchenko, Evangelist, Unreal Engine/ Epic Games
Wargaming.net: Архитектура современных 3D движков
Преимущества облачных сервисов DEPO Cloud на базе новой 22-нанометровой микро...
“Tips&Tricks&Antitricks with .Net Core backend in GameDev”
Microsoft: Создание игр на DirectX для Windows 8 и Windows Phone 8
презентацияевстафьева
Сергей Комлач "Итоги Google I/O: что нас ждет"
Diplom 1
презентация клевин александр
голубушин
JD Edwards Orchestrator and AIS server
Анонс новых моделей серверов ДЕПО Шторм российского производства
Решение по виртуализации графических станций DEPO VGS на базе технологии NVID...
Open gl и direct3d
SECON'2016. Чубарь Алексей, Мобильные грабли Unity
Комфортная разработка мобильных проектов
презентация костина сравнение 8.1 7
Ad

Погружение в глубины черной бездны с Intel GPA

  • 1. Погружение в глубины черной бездны с Intel® GPA Павел Головинский, Евгений Городецкий, Intel Константин Попов, Biart Copyright© 2012, Intel Corporation. All rights reserved. КРИ 2012 *Other brands and names are the property of their respective owners. 1
  • 2. План доклада Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners. 2
  • 3. Intel® Graphics Performance Analyzers (Intel® GPA) • Инструментарий анализа производительности графических приложений • DirectX* 9, 10, 10.1, 11 • Windows 7, 8 (32/64-bit) • Доступен бесплатно: www.intel.com/software/gpa Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners. 3
  • 4. Анализ приложения с Intel® GPA Игра с GPA HUD / System Analyzer Parallel Studio XE / GPA Frame Analyzer Запуск игры GPA Platform Analyzer Ограничена Ограничена GPU CPU Покадровый Анализ поведения игры Анализ выполнения анализ на GPU в реальном времени задач на CPU Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners. 4
  • 5. Intel® GPA 2012 • Новый System Analyzer • Поддержка Android* на Atom (NDA) • Метрики потребления энергии • Улучшения в Platform и Frame Analyzer • Теперь доступен на Intel® Visual Computing Source: http://www.intel.com/software/vcsource • Новый релиз GPA 2012 R3 на следующей неделе! Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners. 5
  • 6. System Analyzer • Рабочая ОС: Windows, Ubuntu** Высокоуровневый анализ • Целевая ОС: Windows, Android** приложения • Подключение – К системе в целом – К не инструментированным приложениям без исходного кода – К приложениям на мобильном устройстве Intel x86 под ОС Android* • Общая информация о приложении • Анализ программных и аппаратных метрик • Проведение графических экспериментов • Управление – Экспорт метрик в CSV – Захват текущего кадра или трассы для детального анализа – Пауза приложения и покадровое переключение кадров ** NDA – доступ по договору о неразглашении Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners. 6
  • 7. Frame Analyzer Низкоуровневый анализ • Рабочая и целевая ОС: Windows* 7, 8 рендеринга кадра • Графическое API: DirectX 9, 10, 10.1, 11 • Визуализация захваченного кадра игры – Вызовы рисования, время их выполнения и результаты – Состояние DX для каждого вызова – Промежуточные результаты рендер-таргетов – Используемые текстуры (сохранение DDS, просмотр Hex) – Код и константы шейдеров (на HLSL или ассемблере) • Эксперименты над отдельными вызовами рисования • AdvisorBETA: Рекомендации по оптимизации кадра и отдельных вызовов Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners. 7
  • 8. Platform Analyzer Анализ параллельного • Рабочая и целевая ОС: Windows* 7, 8 исполнения задач CPU и GPU • Захват трассы исполнения на CPU: – Программа инструментируется разработчиком – Intel® Instrumentation and Tracing Technology (ITT) • Захват трассы вызовов DX на GPU: – Не требует специальной инструментации приложения • Визуализация исполнения задач на CPU и GPU: – Параллельные задачи и зависимости – Пользовательские события (маркеры) • Поддержка Intel OpenCL** ** NDA – доступ по договору о неразглашении Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners. 8
  • 9. Знакомьтесь с Biart • Независимая игровая студия (game / engine) • Зарегистрирована в Delaware, USA c R&D офисом в Москве • Первая игра выпущена в 2007 • Разработка движка biEngine начата в 2008 • Поддержка PC, XBox360 и PlayStation 3 • Поддержка Android / iOS в разработке Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners. 9
  • 10. Deep Black: Reloaded • Подводный Sci-Fi шутер от первого лица • Выпущена на PC в Q1 2012 • Будет выпущена на Xbox* 360 и PlayStation* 3 в 2012 издателем 505 Games • Основана на движке biEngine Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners. 10
  • 11. Ultrabooks™ и Intel® HD Graphics 20% наших пользователей используют Intel ® HD Graphics! * По данным продаж Deep Black Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners. 11
  • 12. Оптимизация с помощью GPA Обнаружены 3 основных проблемы: – Большое количество draw-вызовов – Ограничение скоростью заполнения (shader / fill-rate) – 3 основных полноэкранных прохода могут быть оптимизированы Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners. 12
  • 13. Оптимизация с помощью GPA Решены 3 основных проблемы: – Уровни оптимизированы для использования меньшего числа draw-вызовов – Применен рендеринг в уменьшенном разрешении (multi-resolution rendering) – Оптимизированы полноэкранные шейдеры Производительность повышена более чем на 50% Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners. 13
  • 14. Оптимизация под Ultrabook™ Оптимизация энергопотребления: – Ограничение в 30 FPS – Использование Intel Laptop Gaming TDK http://software.intel.com/en-us/articles/intel- laptop-gaming-technology-development-kit/ Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners. 14
  • 15. Оптимизация под Ultrabook™ Исходная версия: С оптимизацией: 104 мин. 133 мин. +30% игрового времени на батарее Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners. 15
  • 16. Индикатор заряда батареи Индикатор заряда батареи в игре Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners. 16
  • 17. ДЕМО: DEEP BLACK RELOADED Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners. 17
  • 18. Поддержка игр на Android* и Intel® Atom™ Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners. 18
  • 19. Анализ метрик приложения на Android* • CPU Load & Frequency • OpenGL API-call counters – Buffer Creations • Memory Bus Load – Draw Calls • Disk IO Activity – Error Gets • GPU – RT Changes & Clears – GPU Load & Frequency – Frame Time & FPS – Texture Unit Load – Parameter Buffer (PB) Throughput • Power – Charging – Image Synthesis Processor (ISP) Load – Discharging – Texture & Shading Processor (TSP) Load – Universal Scalable Shader Engine (USSE) Throughput & Load Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners. 19
  • 20. Графические эксперименты на Android* Рендеринг Отключение Отключение Текстуры без изменений Z-теста Alpha-блендинга 2x2 Полигональная Простейший Рисование Отключение сетка фрагментный шейдер единственного пиксела вызовов рисования Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners. 20
  • 21. ДЕМО: ASPHALT 6 НА ANDROID Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners. 21
  • 22. Заключение • Мощные инструменты анализа производительности ваших игр: – System Analyzer / HUD – Frame Analyzer – Platform Analyzer • Инструменты оптимизации игр под Андроид – Доступ по специальному соглашению компании разработчика с Intel – Запишитесь в наш список! • Оптимизируйте игры на платформах Intel для более долгой работы от батареи на мобильных платформах и Intel Ultrabook • Загрузите последнюю версию Intel GPA: www.intel.com/software/gpa Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners. 22
  • 23. Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners. 23
  • 24. 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 Copyright© 2012, Intel Corporation. All rights reserved. *Other brands and names are the property of their respective owners. 24