PIX on Windows

Performance tuning and debugging for DirectX 12 games on Windows

Introducing PIX on Windows (beta)

Welcome to our new PIX team blog!
PIX is a performance tuning and debugging tool for game developers.  It has a long and storied history spanning three generations of Xbox console.  Today we are pleased to announce that a beta release of PIX is now available for analyzing DirectX 12 games on Windows as well.


PIX 1911.27 – New Buffer Formatter and Capture from Launch

Today we released PIX 1911.27 which can be downloaded here.  This release contains an updated buffer formatter, the ability to start capturing of a process from initial launch, support for Windows 10 Insider Preview Builds (20H1) and many bug fixes.
Buffer Formatter
This release of PIX includes several enhancements to the Buffer Formatter aimed at helping you define and save custom formats and easily switch between them. 

PIX 1909.23 – New timing capture features, performance improvements and bug fixes

Today we released PIX 1909.23* which can be downloaded here. This release contains new timing capture features, support for programmatic captures in pixtool, performance improvements and many bug fixes.
* 1909.23 is the new name for 1909.13.  Sorry for any confusion.

PIX 1908.16 – Shader debugging fixes

Today we released PIX 1908.16 which can be downloaded here. This is a servicing release that fixes a couple of issues that causes PIX to crash when inspecting or debugging shaders, otherwise it is identical to PIX 1908.02.

PIX CPU Tools: Introduction to New Timing Captures Videos

We’ve recently posted a series of 4 new videos to the PIX for Windows YouTube channel.  These videos provide an overview of the features in New Timing Captures.

Part 1 describes the improvements we’ve made to capture duration, capture open times and to the timeline itself.

Windows 10 Servicing Release KB4505903 required for instrumented CPU captures

If you’re running the 1903 build of Windows 10 (the Spring 2019) update, you must have KB4505903 installed to take Function Summary, Callgraph, and Tracked Functions captures.  Without this update, your title will hang when taking one of these captures.
To check whether you have this update,

PIX 1908.02 – Fixes for customer issues, plus DXR and New Timing Capture improvements

Today we released PIX 1908.02, which can be downloaded here. This release fixes miscellaneous bugs that were reported to us by customers. It also adds new CPU features to New Timing Captures, and adds some final touches to the new DirectX Raytracing (DXR) Pipeline View in GPU Captures.

GPU timing data in New Timing Captures

GPU timing data was added to the New Timing Captures preview feature in the PIX 1906.14 release.  This allows developers to view GPU work submission and execution, including async compute.
Getting Started
The application should be launched with the following GPU timings checkbox checked in the options to enable timing data collection.

PIX 1906.26 – Minor update fixes PIX on Insider Preview builds of Windows

Today we released PIX 1906.26, available for download here. This release makes PIX compatible with the latest Insider Preview builds of Windows.

PIX now works on latest Inside Preview builds of Windows.
PIX no longer pops up an error message when trying to use a plugin with an unsupported GPU configuration (eg SLI).

PIX 1906.14 – GPU Timing in New Timing Captures

Today we released PIX 1906.14, available for download here.  This release adds GPU timings to the New Timing Capture preview and further improvements to DXIL shader debugging.

New Timing Capture Improvements

Support for GPU timing data (see below)
Many other usability improvements,

PIX CPU Tools: Finding and Analyzing Context Switches

A context switch occurs when a CPU core switches from executing code on one thread, to executing code on a different thread, or going to idle.  When the OS switches the thread that is running on a CPU, it must save and restore state both for the thread that is being switched out,