{"id":4812,"date":"2020-03-26T17:37:45","date_gmt":"2020-03-27T00:37:45","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/pix\/?p=4812"},"modified":"2020-03-26T17:37:45","modified_gmt":"2020-03-27T00:37:45","slug":"pix-2003-26","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/pix\/pix-2003-26\/","title":{"rendered":"PIX 2003.26 \u2013 DirectX 12 Ultimate and DXIL debugging"},"content":{"rendered":"<p>Today we released PIX 2003.26 which can be downloaded <a href=\"https:\/\/devblogs.microsoft.com\/pix\/download\">here<\/a>. This release contains support for <a href=\"https:\/\/devblogs.microsoft.com\/directx\/announcing-directx-12-ultimate\/\">DirectX 12 Ultimate<\/a>, source-level debugging of DXIL shaders, a new GPU capture timeline, CPU\/GPU event correlation in new timing captures and many more bug fixes and performance improvements.<\/p>\n<h2>DirectX 12 Ultimate Support<\/h2>\n<p>PIX on Windows now has initial support for all the DirectX 12 Ultimate features:<\/p>\n<ul>\n<li>DirectX Raytracing Tier 1.1<\/li>\n<li>Mesh shaders<\/li>\n<li>Sampler Feedback<\/li>\n<\/ul>\n<p>Variable Rate Shading support in PIX was first added in PIX 1903.26 and continues to be supported now!<\/p>\n<p>Mesh shader output viewer in action:<\/p>\n<p><img decoding=\"async\" width=\"800\" height=\"664\" class=\"wp-image-4813\" src=\"https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2020\/03\/word-image.jpeg\" srcset=\"https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2020\/03\/word-image.jpeg 800w, https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2020\/03\/word-image-300x249.jpeg 300w, https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2020\/03\/word-image-768x637.jpeg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<h2>DXIL Source Level Debugging<\/h2>\n<p>We\u2019ve updated PIX\u2019s shader debugging engine to fully support source-level debugging of DXIL shaders, including values and types for local variables and stack navigation.<\/p>\n<h2>New GPU Capture Timeline<\/h2>\n<p>The GPU capture timeline has been updated; text now shows up in event blocks and general performance has been improved.<\/p>\n<p><img decoding=\"async\" width=\"1122\" height=\"346\" class=\"wp-image-4814\" src=\"https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2020\/03\/word-image.png\" srcset=\"https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2020\/03\/word-image.png 1122w, https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2020\/03\/word-image-300x93.png 300w, https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2020\/03\/word-image-1024x316.png 1024w, https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2020\/03\/word-image-768x237.png 768w\" sizes=\"(max-width: 1122px) 100vw, 1122px\" \/><\/p>\n<h2>New Timing Captures CPU\/GPU Correlation<\/h2>\n<p>New timing captures now indicate the relationship between a GPU command\u2019s recording and its execution on the GPU.<\/p>\n<p><img decoding=\"async\" width=\"1157\" height=\"845\" class=\"wp-image-4815\" src=\"https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2020\/03\/word-image-1.png\" srcset=\"https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2020\/03\/word-image-1.png 1157w, https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2020\/03\/word-image-1-300x219.png 300w, https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2020\/03\/word-image-1-1024x748.png 1024w, https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2020\/03\/word-image-1-768x561.png 768w\" sizes=\"(max-width: 1157px) 100vw, 1157px\" \/><\/p>\n<h2>Known issues<\/h2>\n<h3>Timing Capture file format change<\/h3>\n<p>The Timing Capture file format has changed in this release of PIX. Timing Captures taken with previous versions of PIX cannot be opened in this new version of PIX. Attempting to open an old capture will present the following error:<\/p>\n<p><img decoding=\"async\" width=\"387\" height=\"253\" class=\"wp-image-4816\" src=\"https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2020\/03\/word-image-2.png\" srcset=\"https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2020\/03\/word-image-2.png 387w, https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2020\/03\/word-image-2-300x196.png 300w\" sizes=\"(max-width: 387px) 100vw, 387px\" \/><\/p>\n<p>To open an old capture, install the version of PIX that was used to take the capture. Version information was not recorded in captures prior to this release of PIX, so unfortunately PIX cannot currently identify which version was used to take a capture. Going forward, the error message PIX presents when you attempt to load a capture with an old format will includes the version number of PIX used when the capture was taken.<\/p>\n<p>Multiple versions of PIX can be installed side-by-side on the same PC, should you need to install older versions to view older Timing Captures. Remember to uncheck the \u201cReplace any previously installed versions\u201d checkbox when running the installer:<\/p>\n<p><img decoding=\"async\" width=\"486\" height=\"350\" class=\"wp-image-4817\" src=\"https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2020\/03\/word-image-3.png\" srcset=\"https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2020\/03\/word-image-3.png 486w, https:\/\/devblogs.microsoft.com\/pix\/wp-content\/uploads\/sites\/41\/2020\/03\/word-image-3-300x216.png 300w\" sizes=\"(max-width: 486px) 100vw, 486px\" \/><\/p>\n<h2>Change List<\/h2>\n<h3>General<\/h3>\n<ul>\n<li>Fix crash when there\u2019s an empty PIXOptions node in the settings XML file<\/li>\n<li>Output View: put the category combobox and the clear button in the top tool bar<\/li>\n<li>Fix crash with old timing captures when the process exits before the capture starts<\/li>\n<\/ul>\n<h3>New Timing Captures<\/h3>\n<ul>\n<li>Optimize handling of GPU API markers<\/li>\n<li>Ensure capture directory created when starting capture<\/li>\n<li>Improved error reporting when user does not have permission to start ETW logging<\/li>\n<li>Improve UI performance when selecting a PIX event with a large number of stalls<\/li>\n<li>Fix memory leak<\/li>\n<li>Add support for capturing more than 255 cores<\/li>\n<li>Fix stacks for fastlink pdb files<\/li>\n<li>Add prompt to cancel symbols for save<\/li>\n<li>Thread names now properly appear when a capture is taken for a title that was launched suspended.<\/li>\n<\/ul>\n<h3>GPU Captures<\/h3>\n<ul>\n<li>Add support for ID3D12Device1::SetEventOnMultipleFenceCompletion<\/li>\n<li>Fix crash due to invalid\/missing timing data being reported<\/li>\n<li>Updated formatter table with new DXGI formats added in Vibranium<\/li>\n<li>Correctly handle D3D12_HIT_GROUP_DESCs whose constituent shaders are all NULL<\/li>\n<li>Detect underflowed timing values and clamp to 0 This prevents the timeline from getting blown out to ulong.MaxValue visible time, which is less than useful.<\/li>\n<li>Wait until document load is complete before setting enabling edit &amp; continue<\/li>\n<li>Texture Viewer: Reword multisample to sample count<\/li>\n<li>Fix include path issues for shader edit &amp; continue<\/li>\n<li>High Frequency Counters: fix issue dropping samples when first EoP time equals BeginSubmission time<\/li>\n<li>Fix various issues with VRS<\/li>\n<li>Fix race conditions with Mesh Viewer<\/li>\n<li>DXIL Shader debugging: various fixes involving inf\/nans<\/li>\n<li>Shader intellisense updates (highlighting, tooltips)<\/li>\n<li>DXIL register formats: display integer (decimal) and hex when requested.<\/li>\n<li>DXIL shader debugging: NRE possible if user passes a macro with embedded spaces but no surrounding quotes<\/li>\n<li>Fix shader edit &amp; continue: older compilers can use \/D, and need to strip -Qstrip_debug<\/li>\n<li>Fix open command list tracking when command lists are destroyed<\/li>\n<li>Update to latest AMD plugin:\n<ul>\n<li>fix start analysis failure when using remote desktop<\/li>\n<li>fix Invalid Counter Generation Error on Unsupported R9 290<\/li>\n<li>fix collecting occupancy when there are PIX events around Present()<\/li>\n<\/ul>\n<\/li>\n<li>Update to latest NVIDIA plugin<\/li>\n<li>Fix crash in shader access tracking in a trace containing a TDR<\/li>\n<li>Skip capture of ID3D12CompatibilityQueue&#8217;s methods rather than fail capture<\/li>\n<li>Add support for new D3D12_RESOURCE_STATEs<\/li>\n<li>Wave Tracing: allow plugin to return waves associated with EventID = -1<\/li>\n<li>Fix capture\/replay support for apps using Shader Model 6_4+<\/li>\n<li>Fix capture\/replay of reserved non-power-of-two BC textures<\/li>\n<li>DXR: Show BLAS build buffers (vertices, indices etc) in the Pipeline View<\/li>\n<li>Added notification to PIX that the GPU disassembly may have changed after collecting counters for a GPU capture.<\/li>\n<li>Switch to new GPU timeline<\/li>\n<li>High Frequency Counters: enable perf optimization in NVIDIA plugin when possible<\/li>\n<li>Minimal support for out-of-proc shared heaps+resources<\/li>\n<li>Tiled Resources: Fix capture\/replay of a tiled texture that&#8217;s mapped into a heap after another texture&#8217;s weirdly-sized packed mips<\/li>\n<li>Mesh Viewer + PC Acceleration Structure Viewer: add checkbox to flip horizontally<\/li>\n<li>Expression filtering fixes; nicknaming<\/li>\n<li>Better column expression type defaults, and fix nicknaming when counter set (provider) changes<\/li>\n<li>Resource Tracking: correctly handle SetRootSignature() call with root sig that&#8217;s already set on the command list<\/li>\n<li>Show missing PDB names<\/li>\n<li>Make missing PDB path copyable<\/li>\n<li>Replace non-identifier characters in shader type names with underscores<\/li>\n<li>Make &#8220;unsupported API&#8221; dialog say sensible things<\/li>\n<li>Add new Object Name column for GPU Resource View<\/li>\n<li>Fix crash when &lt;del&gt; is pressed in empty buffer formatter box<\/li>\n<li>Fix capture of apps explicitly setting null global root signature in their DXR state objects<\/li>\n<li>DXR Tier 1.1: Finish AddToStateObject support, + add basic inline raytracing support<\/li>\n<li>Fix support for ResizeBuffers1<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Today we released PIX 2003.26 which can be downloaded here. This release contains support for DirectX 12 Ultimate, source-level debugging of DXIL shaders, a new GPU capture timeline, CPU\/GPU event correlation in new timing captures and many more bug fixes and performance improvements. DirectX 12 Ultimate Support PIX on Windows now has initial support for [&hellip;]<\/p>\n","protected":false},"author":1876,"featured_media":4769,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[4],"class_list":["post-4812","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-pix","tag-release"],"acf":[],"blog_post_summary":"<p>Today we released PIX 2003.26 which can be downloaded here. This release contains support for DirectX 12 Ultimate, source-level debugging of DXIL shaders, a new GPU capture timeline, CPU\/GPU event correlation in new timing captures and many more bug fixes and performance improvements. DirectX 12 Ultimate Support PIX on Windows now has initial support for [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/posts\/4812","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/users\/1876"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/comments?post=4812"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/posts\/4812\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/media\/4769"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/media?parent=4812"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/categories?post=4812"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/pix\/wp-json\/wp\/v2\/tags?post=4812"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}