<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Intel Graphics Performance Analyzer Crashes Program on Call to ResizeBuffers() in Intel® Graphics Performance Analyzers (Intel® GPA)</title>
    <link>https://community.intel.com/t5/Intel-Graphics-Performance/Intel-Graphics-Performance-Analyzer-Crashes-Program-on-Call-to/m-p/1314247#M2191</link>
    <description>&lt;P&gt;My apologies for the delay getting back to you. I am looking into this issue. I will also check with the team to see if anyone has encountered this issue.&lt;/P&gt;
&lt;P&gt;Pamela&lt;/P&gt;</description>
    <pubDate>Mon, 13 Sep 2021 21:10:53 GMT</pubDate>
    <dc:creator>Pamela_H_Intel</dc:creator>
    <dc:date>2021-09-13T21:10:53Z</dc:date>
    <item>
      <title>Intel Graphics Performance Analyzer Crashes Program on Call to ResizeBuffers()</title>
      <link>https://community.intel.com/t5/Intel-Graphics-Performance/Intel-Graphics-Performance-Analyzer-Crashes-Program-on-Call-to/m-p/1309445#M2186</link>
      <description>&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;Our program crashes when we analyze it with Intel GPA under the following circumstances.&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;201341983&amp;quot;:0,&amp;quot;335559731&amp;quot;:720,&amp;quot;335559739&amp;quot;:160,&amp;quot;335559740&amp;quot;:259}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;When resizing the window (in response to the windows flag WM_SIZE) the program will crash on a call to resize the swap chain buffer. This crash only occurs if we are analyzing the program using Intel GPA.&amp;nbsp;If we run the program using the Visual Studio debugger or using&amp;nbsp;RenderDoc&amp;nbsp;then the program does not crash.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;201341983&amp;quot;:0,&amp;quot;335559731&amp;quot;:720,&amp;quot;335559739&amp;quot;:160,&amp;quot;335559740&amp;quot;:259}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;The relevant line of code is:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;201341983&amp;quot;:0,&amp;quot;335559731&amp;quot;:720,&amp;quot;335559739&amp;quot;:160,&amp;quot;335559740&amp;quot;:259}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;HRESULT&amp;nbsp;hr&amp;nbsp;= m_renderer.GetSwapChain()-&amp;gt;ResizeBuffers(0,cx,cy,DXGI_FORMAT_UNKNOWN, NULL);&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;201341983&amp;quot;:0,&amp;quot;335559739&amp;quot;:160,&amp;quot;335559740&amp;quot;:259}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;This line is executed successfully twice before the program crashes&amp;nbsp;on the third call&amp;nbsp;in response to WM_SIZE.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;201341983&amp;quot;:0,&amp;quot;335559731&amp;quot;:720,&amp;quot;335559739&amp;quot;:160,&amp;quot;335559740&amp;quot;:259}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;We have confirmed that the DirectX 11.1&amp;nbsp;device and swap chain are created successfully during these program runs.&amp;nbsp;In all cases we are releasing the references to the swap&amp;nbsp;chain buffer&amp;nbsp;and observe&amp;nbsp;0 remaining references returned by calling&amp;nbsp;Reset()&amp;nbsp;on&amp;nbsp;our&amp;nbsp;relevant&amp;nbsp;ComPtr's:&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;201341983&amp;quot;:0,&amp;quot;335559739&amp;quot;:160,&amp;quot;335559740&amp;quot;:259}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI data-leveltext="" data-font="Symbol" data-listid="4" aria-setsize="-1" data-aria-posinset="2" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;Render target view&amp;nbsp;(ID3D11RenderTargetView)&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134233279&amp;quot;:true,&amp;quot;201341983&amp;quot;:0,&amp;quot;335559739&amp;quot;:160,&amp;quot;335559740&amp;quot;:259}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-leveltext="" data-font="Symbol" data-listid="4" aria-setsize="-1" data-aria-posinset="2" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;MSAA&amp;nbsp;render target view&amp;nbsp;(ID3D11RenderTargetView)&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134233279&amp;quot;:true,&amp;quot;201341983&amp;quot;:0,&amp;quot;335559739&amp;quot;:160,&amp;quot;335559740&amp;quot;:259}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-leveltext="" data-font="Symbol" data-listid="4" aria-setsize="-1" data-aria-posinset="2" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;MSAA&amp;nbsp;render target buffer&amp;nbsp;(ID3D11Texture2D)&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134233279&amp;quot;:true,&amp;quot;201341983&amp;quot;:0,&amp;quot;335559739&amp;quot;:160,&amp;quot;335559740&amp;quot;:259}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-leveltext="" data-font="Symbol" data-listid="4" aria-setsize="-1" data-aria-posinset="2" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;Depth stencil view&amp;nbsp;(ID3D11DepthStencilView)&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134233279&amp;quot;:true,&amp;quot;201341983&amp;quot;:0,&amp;quot;335559739&amp;quot;:160,&amp;quot;335559740&amp;quot;:259}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-leveltext="" data-font="Symbol" data-listid="4" aria-setsize="-1" data-aria-posinset="2" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;MSAA&amp;nbsp;depth stencil view&amp;nbsp;(ID3D11DepthStencilView)&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134233279&amp;quot;:true,&amp;quot;201341983&amp;quot;:0,&amp;quot;335559739&amp;quot;:160,&amp;quot;335559740&amp;quot;:259}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-leveltext="" data-font="Symbol" data-listid="4" aria-setsize="-1" data-aria-posinset="2" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;Depth stencil buffer&amp;nbsp;(ID3D11Texture2D)&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134233279&amp;quot;:true,&amp;quot;201341983&amp;quot;:0,&amp;quot;335559739&amp;quot;:160,&amp;quot;335559740&amp;quot;:259}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-leveltext="" data-font="Symbol" data-listid="4" aria-setsize="-1" data-aria-posinset="2" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;MSAA&amp;nbsp;depth stencil buffer&amp;nbsp;(ID3D11Texture2D)&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134233279&amp;quot;:true,&amp;quot;201341983&amp;quot;:0,&amp;quot;335559739&amp;quot;:160,&amp;quot;335559740&amp;quot;:259}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI data-leveltext="" data-font="Symbol" data-listid="4" aria-setsize="-1" data-aria-posinset="2" data-aria-level="1"&gt;&lt;SPAN data-contrast="auto"&gt;Back buffer&amp;nbsp;(ID3D11Texture2D)&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;134233279&amp;quot;:true,&amp;quot;201341983&amp;quot;:0,&amp;quot;335559739&amp;quot;:160,&amp;quot;335559740&amp;quot;:259}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN data-contrast="auto"&gt;By commenting out the call to&amp;nbsp;ResizeBuffers&amp;nbsp;we can avoid the crash when our&amp;nbsp;OnSize() is invoked, however that is not a real solution as this leaves are buffers not the same size.  It seems like perhaps it is related to the GPA overlay, disabling the overlay also avoids the crash, however we don't know how to get a frame capture without the overlay (ctl-shift-c only seems to work when overlay is in window).&lt;/SPAN&gt;&lt;SPAN data-ccp-props="{&amp;quot;201341983&amp;quot;:0,&amp;quot;335559731&amp;quot;:360,&amp;quot;335559739&amp;quot;:160,&amp;quot;335559740&amp;quot;:259}"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Graphics Performance Analyzers: Version: 21.2.1624350604&lt;/P&gt;
&lt;P&gt;Windows 10 Enterprise x64&lt;/P&gt;
&lt;DIV&gt;NVIDIA GeForce RTX 3080 Driver version: 471.68&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Any thoughts on a fix is greatly appreciated.&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Tue, 24 Aug 2021 16:51:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Graphics-Performance/Intel-Graphics-Performance-Analyzer-Crashes-Program-on-Call-to/m-p/1309445#M2186</guid>
      <dc:creator>Broome-Bridge</dc:creator>
      <dc:date>2021-08-24T16:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Intel Graphics Performance Analyzer Crashes Program on Call to ResizeBuffers()</title>
      <link>https://community.intel.com/t5/Intel-Graphics-Performance/Intel-Graphics-Performance-Analyzer-Crashes-Program-on-Call-to/m-p/1313067#M2188</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;It has been just over two weeks since our group posted this question. We have not been able to move forward with use of the debugging tool since Aug. 24, 2021. Can someone please provide a follow-up? Otherwise, we will need to move onto use of a non-Intel tool.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;MD&lt;/P&gt;</description>
      <pubDate>Wed, 08 Sep 2021 18:05:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Graphics-Performance/Intel-Graphics-Performance-Analyzer-Crashes-Program-on-Call-to/m-p/1313067#M2188</guid>
      <dc:creator>MtD</dc:creator>
      <dc:date>2021-09-08T18:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Intel Graphics Performance Analyzer Crashes Program on Call to ResizeBuffers()</title>
      <link>https://community.intel.com/t5/Intel-Graphics-Performance/Intel-Graphics-Performance-Analyzer-Crashes-Program-on-Call-to/m-p/1314247#M2191</link>
      <description>&lt;P&gt;My apologies for the delay getting back to you. I am looking into this issue. I will also check with the team to see if anyone has encountered this issue.&lt;/P&gt;
&lt;P&gt;Pamela&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 21:10:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Graphics-Performance/Intel-Graphics-Performance-Analyzer-Crashes-Program-on-Call-to/m-p/1314247#M2191</guid>
      <dc:creator>Pamela_H_Intel</dc:creator>
      <dc:date>2021-09-13T21:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Intel Graphics Performance Analyzer Crashes Program on Call to ResizeBuffers()</title>
      <link>https://community.intel.com/t5/Intel-Graphics-Performance/Intel-Graphics-Performance-Analyzer-Crashes-Program-on-Call-to/m-p/1314250#M2192</link>
      <description>&lt;P&gt;Pamela,&lt;/P&gt;
&lt;P&gt;Thanks for looking into this, and we're eager to hear of any updates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks again,&lt;/P&gt;
&lt;P&gt;MD&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 21:22:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Graphics-Performance/Intel-Graphics-Performance-Analyzer-Crashes-Program-on-Call-to/m-p/1314250#M2192</guid>
      <dc:creator>MtD</dc:creator>
      <dc:date>2021-09-13T21:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Intel Graphics Performance Analyzer Crashes Program on Call to ResizeBuffers()</title>
      <link>https://community.intel.com/t5/Intel-Graphics-Performance/Intel-Graphics-Performance-Analyzer-Crashes-Program-on-Call-to/m-p/1314556#M2198</link>
      <description>&lt;P&gt;MD,&lt;/P&gt;
&lt;P&gt;Here is what I've found. The issue is with our legacy HUD. So you can hide the HUD and do a capture. Or, if you are capturing based on HUD info, then you will need to capture from System Analyzer. See details below for your options.&lt;/P&gt;
&lt;P&gt;The Ctrl+Shift+C hotkey combo should work properly even if the HUD is hidden. If it doesn’t work for you for some reason, then try one of the following to capture a frame.&lt;/P&gt;
&lt;P&gt;#1 Connect System Analyzer (SA) to your running application , and then capture a frame from SA:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;In Graphics Monitor click the "play" button (the triangle) for the application you want to analyze&lt;/LI&gt;
&lt;LI&gt;After clicking the play button, the "stop" button (the square) turns into the System Analyzer icon. Click on that. System Analyzer will open.&lt;/LI&gt;
&lt;LI&gt;After SA opens, make sure your application is in the foreground (if not, there is no rendering from the application) and click on the camera image (upper left of the SA window) to capture a frame.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;#2 Run your application in “Stream” mode and then select a single frame in Multi-Frame view. (Note: Stream mode for DX11 is in Tech Preview stage and may not work).&lt;/P&gt;
&lt;P&gt;Let me know if you continue to face this issue after trying these workarounds.&lt;/P&gt;
&lt;P&gt;Pamela&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 20:53:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Graphics-Performance/Intel-Graphics-Performance-Analyzer-Crashes-Program-on-Call-to/m-p/1314556#M2198</guid>
      <dc:creator>Pamela_H_Intel</dc:creator>
      <dc:date>2021-09-14T20:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Intel Graphics Performance Analyzer Crashes Program on Call to ResizeBuffers()</title>
      <link>https://community.intel.com/t5/Intel-Graphics-Performance/Intel-Graphics-Performance-Analyzer-Crashes-Program-on-Call-to/m-p/1315112#M2202</link>
      <description>&lt;P&gt;Pamela,&lt;/P&gt;
&lt;P&gt;Thanks very much. We're testing out these (very handy, detailed) troubleshooting steps and will report back.&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;MD&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2021 15:24:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Graphics-Performance/Intel-Graphics-Performance-Analyzer-Crashes-Program-on-Call-to/m-p/1315112#M2202</guid>
      <dc:creator>MtD</dc:creator>
      <dc:date>2021-09-16T15:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Intel Graphics Performance Analyzer Crashes Program on Call to ResizeBuffers()</title>
      <link>https://community.intel.com/t5/Intel-Graphics-Performance/Intel-Graphics-Performance-Analyzer-Crashes-Program-on-Call-to/m-p/1316501#M2210</link>
      <description>&lt;P&gt;Pamela,&lt;/P&gt;
&lt;P&gt;Thanks again for the detailed workaround suggestions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Our outcomes are briefly summarized below in the spirt of just following up with you, and also, in welcoming any further suggestions or additional ideas.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding item #1:&lt;/P&gt;
&lt;P&gt;We have been able to carry out this workaround. However, our application routinely has multiple DirectX windows open at a given time. As a result, to carry out this workaround, we have to actually make temporary source-code changes to limit window generation to one-at-a-time and THEN carry out this workaround. Any further suggestions are welcomed here, but we recognize that this may be the end of the line for this option.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding item #2:&lt;/P&gt;
&lt;P&gt;Our application is currently 32-bit (but we would plan to ultimately move to 64-bit), and so, it does not appear that we can make use of the "Stream" mode. However, if we're missing anything along these lines (i.e., that we can actually make use of "Stream" mode despite being 32-bit), then we welcome any further thoughts you may have.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks once more,&lt;/P&gt;
&lt;P&gt;MD&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 15:45:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Graphics-Performance/Intel-Graphics-Performance-Analyzer-Crashes-Program-on-Call-to/m-p/1316501#M2210</guid>
      <dc:creator>MtD</dc:creator>
      <dc:date>2021-09-22T15:45:35Z</dc:date>
    </item>
  </channel>
</rss>

