<?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 GPA crashing capturing multisample buffer in Intel® Graphics Performance Analyzers (Intel® GPA)</title>
    <link>https://community.intel.com/t5/Intel-Graphics-Performance/GPA-crashing-capturing-multisample-buffer/m-p/1383212#M2287</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've been trying to capture a frame that uses dx11 multisample buffers but the application crashes and boots me back to Graphics Monitor with the error "Graphics Monitor Server crashed and was successfully restarted. No additional actions required". Note it successfully captures a frame when I remove the multisample buffers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Searching the forums, I tried a couple solutions (capturing with HUD turned off and running through System Analyzer) to no avail.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I then tried the auto-detect method and luckily when I capture I get a callstack in my application showing that GPA is attempting to copy a multisample buffer into a mismatch destination. Specifically,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Callstack:&lt;/P&gt;
&lt;P&gt;KernelBase.dll!00007ff861bc4f69() Unknown&lt;BR /&gt;igpa-shim-x64.dll!00007fffda667631() Unknown&lt;BR /&gt;capture-x64.dll!00007fffd8fc009c() Unknown&lt;BR /&gt;igpa-shim-x64.dll!00007fffda666952() Unknown&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Directx error is:&lt;/P&gt;
&lt;P&gt;D3D11 ERROR: ID3D11DeviceContext::CopyResource: Cannot invoke CopyResource with a mismatch between the source Resource Multisampling (Samples:2, Quality:0) and the destination Resource Multisampling (Samples:1, Quality:0). [ RESOURCE_MANIPULATION ERROR #286: COPYRESOURCE_INVALIDSOURCESTATE]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance for any guidance,&lt;/P&gt;
&lt;P&gt;Fyst&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Graphics Performance Analyzers:&lt;BR /&gt;Version: 22.1.1647438438&lt;BR /&gt;Commit hash: 252d8e7a&lt;BR /&gt;Installation folder: D:\Apps\gpa\&lt;/P&gt;
&lt;P&gt;Operating System:&lt;BR /&gt;Name: Windows 10 Version 2009 (OS Build 19044.1645)&lt;BR /&gt;Locale: en-US&lt;BR /&gt;Windows Developer Mode is enabled&lt;BR /&gt;Secure Boot/Trusted Boot is disabled&lt;/P&gt;
&lt;P&gt;CPU Information:&lt;BR /&gt;Name: Intel(R) Core(TM) i7-5930K CPU @ 3.50GHz&lt;BR /&gt;Architecture: x64&lt;BR /&gt;Cores count: 12&lt;/P&gt;
&lt;P&gt;System BIOS:&lt;BR /&gt;Version: American Megatrends Inc. 2101&lt;BR /&gt;Date: 11/27/2015&lt;/P&gt;
&lt;P&gt;Video BIOS:&lt;BR /&gt;Version: !GTX980TI VB Ver 84.00.36.00.AS10&lt;BR /&gt;Date: 07/22/15&lt;/P&gt;
&lt;P&gt;GPU Information:&lt;BR /&gt;Name: NVIDIA GeForce GTX 980 Ti&lt;BR /&gt;Vendor id: 0x10DE&lt;BR /&gt;Product id: 0x17C8&lt;BR /&gt;Stepping: 161&lt;BR /&gt;Driver Version: 27.21.14.5671&lt;BR /&gt;Driver Date: 9-30-2020&lt;/P&gt;
&lt;P&gt;Machine:&lt;BR /&gt;Name: test box&lt;BR /&gt;Memory: 65436 MB&lt;BR /&gt;Screen: 1920x1200, 32 bit&lt;/P&gt;</description>
    <pubDate>Tue, 10 May 2022 16:08:43 GMT</pubDate>
    <dc:creator>fyst</dc:creator>
    <dc:date>2022-05-10T16:08:43Z</dc:date>
    <item>
      <title>GPA crashing capturing multisample buffer</title>
      <link>https://community.intel.com/t5/Intel-Graphics-Performance/GPA-crashing-capturing-multisample-buffer/m-p/1383212#M2287</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've been trying to capture a frame that uses dx11 multisample buffers but the application crashes and boots me back to Graphics Monitor with the error "Graphics Monitor Server crashed and was successfully restarted. No additional actions required". Note it successfully captures a frame when I remove the multisample buffers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Searching the forums, I tried a couple solutions (capturing with HUD turned off and running through System Analyzer) to no avail.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I then tried the auto-detect method and luckily when I capture I get a callstack in my application showing that GPA is attempting to copy a multisample buffer into a mismatch destination. Specifically,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Callstack:&lt;/P&gt;
&lt;P&gt;KernelBase.dll!00007ff861bc4f69() Unknown&lt;BR /&gt;igpa-shim-x64.dll!00007fffda667631() Unknown&lt;BR /&gt;capture-x64.dll!00007fffd8fc009c() Unknown&lt;BR /&gt;igpa-shim-x64.dll!00007fffda666952() Unknown&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Directx error is:&lt;/P&gt;
&lt;P&gt;D3D11 ERROR: ID3D11DeviceContext::CopyResource: Cannot invoke CopyResource with a mismatch between the source Resource Multisampling (Samples:2, Quality:0) and the destination Resource Multisampling (Samples:1, Quality:0). [ RESOURCE_MANIPULATION ERROR #286: COPYRESOURCE_INVALIDSOURCESTATE]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance for any guidance,&lt;/P&gt;
&lt;P&gt;Fyst&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Graphics Performance Analyzers:&lt;BR /&gt;Version: 22.1.1647438438&lt;BR /&gt;Commit hash: 252d8e7a&lt;BR /&gt;Installation folder: D:\Apps\gpa\&lt;/P&gt;
&lt;P&gt;Operating System:&lt;BR /&gt;Name: Windows 10 Version 2009 (OS Build 19044.1645)&lt;BR /&gt;Locale: en-US&lt;BR /&gt;Windows Developer Mode is enabled&lt;BR /&gt;Secure Boot/Trusted Boot is disabled&lt;/P&gt;
&lt;P&gt;CPU Information:&lt;BR /&gt;Name: Intel(R) Core(TM) i7-5930K CPU @ 3.50GHz&lt;BR /&gt;Architecture: x64&lt;BR /&gt;Cores count: 12&lt;/P&gt;
&lt;P&gt;System BIOS:&lt;BR /&gt;Version: American Megatrends Inc. 2101&lt;BR /&gt;Date: 11/27/2015&lt;/P&gt;
&lt;P&gt;Video BIOS:&lt;BR /&gt;Version: !GTX980TI VB Ver 84.00.36.00.AS10&lt;BR /&gt;Date: 07/22/15&lt;/P&gt;
&lt;P&gt;GPU Information:&lt;BR /&gt;Name: NVIDIA GeForce GTX 980 Ti&lt;BR /&gt;Vendor id: 0x10DE&lt;BR /&gt;Product id: 0x17C8&lt;BR /&gt;Stepping: 161&lt;BR /&gt;Driver Version: 27.21.14.5671&lt;BR /&gt;Driver Date: 9-30-2020&lt;/P&gt;
&lt;P&gt;Machine:&lt;BR /&gt;Name: test box&lt;BR /&gt;Memory: 65436 MB&lt;BR /&gt;Screen: 1920x1200, 32 bit&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 16:08:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Graphics-Performance/GPA-crashing-capturing-multisample-buffer/m-p/1383212#M2287</guid>
      <dc:creator>fyst</dc:creator>
      <dc:date>2022-05-10T16:08:43Z</dc:date>
    </item>
    <item>
      <title>Re:GPA crashing capturing multisample buffer</title>
      <link>https://community.intel.com/t5/Intel-Graphics-Performance/GPA-crashing-capturing-multisample-buffer/m-p/1396310#M2295</link>
      <description>&lt;P&gt;For anyone else following this post - I already responded to the poster. My bad. We have a new way to respond and I didn't post in the correct text box. So my response only went to the poster. I will repeat here.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Response #1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Fyst,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The D3D11 spec says you can copy multisampled resource but the sample count and quality should be the same:&lt;/P&gt;&lt;P&gt;If source and destination differ in multisampled count and quality or if one is multisampled and the other is not multisampled, the call to&amp;nbsp;&lt;STRONG&gt;ID3D11DeviceContext::CopyResource&lt;/STRONG&gt;&amp;nbsp;fails. Use&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/windows/desktop/api/d3d11/nf-d3d11-id3d11devicecontext-resolvesubresource" rel="noopener noreferrer" target="_blank"&gt;ID3D11DeviceContext::ResolveSubresource&lt;/A&gt;&amp;nbsp;to resolve a multisampled resource to a resource that is not multisampled.&lt;/P&gt;&lt;P&gt;ID3D11DeviceContext::ResolveSubresource (d3d11.h) - Win32 apps&lt;/P&gt;&lt;P&gt;Copy a multisampled resource into a non-multisampled resource.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you seeing a crash without GPA? If not, turn on&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/windows/win32/direct3d11/using-the-debug-layer-to-test-apps" rel="noopener noreferrer" target="_blank"&gt;D3D11 debug layer&amp;nbsp;&lt;/A&gt;and check for errors. You should get an error that you are not conforming to the spec . . . if, for example, your resource is a texture and you missed the resolution step.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On this page, remarks section, you can find more info:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/windows/win32/api/d3d11/nf-d3d11-id3d11devicecontext-copyresource#remarks" rel="noopener noreferrer" target="_blank"&gt;https://docs.microsoft.com/en-us/windows/win32/api/d3d11/nf-d3d11-id3d11devicecontext-copyresource#remarks&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pamela&lt;/P&gt;&lt;P&gt;This content is a preview of a link.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;docs.microsoft.com&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/windows/win32/api/d3d11/nf-d3d11-id3d11devicecontext-copyresource#remarks" rel="noopener noreferrer" target="_blank"&gt;docs.microsoft.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/windows/win32/api/d3d11/nf-d3d11-id3d11devicecontext-copyresource#remarks" rel="noopener noreferrer" target="_blank" style="font-size: var(--lwc-fontSizeSmall,0.75rem);"&gt;https://docs.microsoft.com/en-us/windows/win32/api/d3d11/nf-d3d11-id3d11devicecontext-copyresource#remarks&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Poster's Response&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: var(--lwc-fontSizeSmall,0.75rem);"&gt;Fyst got back to me - he'd done all that stuff that I recommended. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: var(--lwc-fontSizeSmall,0.75rem);"&gt;Summary - PIX and RenderDoc run fine, only GPA crashes. Resources are always resolved. The app doesn't crash when run on its own - only when run through GPA.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: var(--lwc-fontSizeSmall,0.75rem);"&gt;Response #2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: var(--lwc-fontSizeSmall,0.75rem);"&gt;Fyst,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: var(--lwc-fontSizeSmall,0.75rem);"&gt;Thanks for the info. I will need to look into this and get back to you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: var(--lwc-fontSizeSmall,0.75rem);"&gt;Pamela&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Jun 2022 04:25:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Graphics-Performance/GPA-crashing-capturing-multisample-buffer/m-p/1396310#M2295</guid>
      <dc:creator>Pamela_H_Intel</dc:creator>
      <dc:date>2022-06-29T04:25:10Z</dc:date>
    </item>
    <item>
      <title>Re:GPA crashing capturing multisample buffer</title>
      <link>https://community.intel.com/t5/Intel-Graphics-Performance/GPA-crashing-capturing-multisample-buffer/m-p/1399861#M2302</link>
      <description>&lt;P&gt;I have escalated to development to root cause this issue.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Jul 2022 03:09:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Graphics-Performance/GPA-crashing-capturing-multisample-buffer/m-p/1399861#M2302</guid>
      <dc:creator>Pamela_H_Intel</dc:creator>
      <dc:date>2022-07-13T03:09:42Z</dc:date>
    </item>
    <item>
      <title>Re:GPA crashing capturing multisample buffer</title>
      <link>https://community.intel.com/t5/Intel-Graphics-Performance/GPA-crashing-capturing-multisample-buffer/m-p/1423196#M2331</link>
      <description>&lt;P&gt;There was a delay. We are looking into this issue. Let us know if anything has changedd.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Oct 2022 02:41:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Graphics-Performance/GPA-crashing-capturing-multisample-buffer/m-p/1423196#M2331</guid>
      <dc:creator>Pamela_H_Intel</dc:creator>
      <dc:date>2022-10-19T02:41:22Z</dc:date>
    </item>
    <item>
      <title>Re:GPA crashing capturing multisample buffer</title>
      <link>https://community.intel.com/t5/Intel-Graphics-Performance/GPA-crashing-capturing-multisample-buffer/m-p/1423197#M2332</link>
      <description>&lt;P&gt;There was a delay in root causing this issue. We are now looking at it again. Let us know if anything has changed.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Oct 2022 02:42:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Graphics-Performance/GPA-crashing-capturing-multisample-buffer/m-p/1423197#M2332</guid>
      <dc:creator>Pamela_H_Intel</dc:creator>
      <dc:date>2022-10-19T02:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Re:GPA crashing capturing multisample buffer</title>
      <link>https://community.intel.com/t5/Intel-Graphics-Performance/GPA-crashing-capturing-multisample-buffer/m-p/1423327#M2335</link>
      <description>&lt;P&gt;Hi Pamela,&lt;/P&gt;
&lt;P&gt;I just tried it again and verified I had the latest update. It still crashes in the same way. For comparison purposes only, I also cross checked with PIX and had no issue capturing frames with multisample buffers.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Blair&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 13:48:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Graphics-Performance/GPA-crashing-capturing-multisample-buffer/m-p/1423327#M2335</guid>
      <dc:creator>fyst</dc:creator>
      <dc:date>2022-10-19T13:48:06Z</dc:date>
    </item>
    <item>
      <title>Re:GPA crashing capturing multisample buffer</title>
      <link>https://community.intel.com/t5/Intel-Graphics-Performance/GPA-crashing-capturing-multisample-buffer/m-p/1427499#M2338</link>
      <description>&lt;P&gt;Sorry for the delay. I created a JIRA a couple of weeks ago. Our devs are swamped, but they will look at this when they can.&lt;/P&gt;&lt;P&gt;Pamela&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Nov 2022 23:32:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Graphics-Performance/GPA-crashing-capturing-multisample-buffer/m-p/1427499#M2338</guid>
      <dc:creator>Pamela_H_Intel</dc:creator>
      <dc:date>2022-11-03T23:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: GPA crashing capturing multisample buffer</title>
      <link>https://community.intel.com/t5/Intel-Graphics-Performance/GPA-crashing-capturing-multisample-buffer/m-p/1443638#M2371</link>
      <description>&lt;P&gt;I just installed version 2022.4 and it seems to have fixed the problem. I read the release notes and nothing specific was listed but it works! Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 22:38:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Graphics-Performance/GPA-crashing-capturing-multisample-buffer/m-p/1443638#M2371</guid>
      <dc:creator>fyst</dc:creator>
      <dc:date>2023-01-03T22:38:21Z</dc:date>
    </item>
    <item>
      <title>Re:GPA crashing capturing multisample buffer</title>
      <link>https://community.intel.com/t5/Intel-Graphics-Performance/GPA-crashing-capturing-multisample-buffer/m-p/1448523#M2381</link>
      <description>&lt;P&gt;Wonderful!! I'm glad 22.4 helped. I wish I knew what the issue was. With so many variables - different platforms, different drivers, changes in graphics APIs, etc. - it can be difficult to track issues. But we are constantly working to make things better. &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Jan 2023 00:12:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Graphics-Performance/GPA-crashing-capturing-multisample-buffer/m-p/1448523#M2381</guid>
      <dc:creator>Pamela_H_Intel</dc:creator>
      <dc:date>2023-01-20T00:12:54Z</dc:date>
    </item>
  </channel>
</rss>

