<?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 Xe Graphics driver bug: mipmapping in Graphics</title>
    <link>https://community.intel.com/t5/Graphics/Intel-Xe-Graphics-driver-bug-mipmapping/m-p/1288939#M97938</link>
    <description>&lt;P&gt;Hello&amp;nbsp;palver123&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank&amp;nbsp;you&amp;nbsp;for&amp;nbsp;posting&amp;nbsp;on&amp;nbsp;the&amp;nbsp;Intel️®&amp;nbsp;communities.&amp;nbsp;We are currently working on this request, the updates will be posted on the thread.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;David G&amp;nbsp;&lt;/P&gt;&lt;P&gt;Intel&amp;nbsp;Customer&amp;nbsp;Support&amp;nbsp;Technician&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 11 Jun 2021 03:27:18 GMT</pubDate>
    <dc:creator>David_G_Intel</dc:creator>
    <dc:date>2021-06-11T03:27:18Z</dc:date>
    <item>
      <title>Intel Xe Graphics driver bug: mipmapping</title>
      <link>https://community.intel.com/t5/Graphics/Intel-Xe-Graphics-driver-bug-mipmapping/m-p/1288417#M97865</link>
      <description>&lt;H2&gt;Issue summary&lt;/H2&gt;
&lt;P&gt;We are developing a CAD application for Windows 10, using DirectX 11 for rendering. We encountered a problem with &lt;FONT face="courier new,courier"&gt;ID3D11DeviceContext::GenerateMips()&lt;/FONT&gt; when our app runs using the Intel Iris Xe GPU. The symptom is that mipmap level 2 (counting from 0) gets a blocky artifact. This is visible in the app (when rendering a face at a certain distance and angle from the camera) and also visible in frame captures (in Visual Studio Graphics Analyzer). See &lt;U&gt;runtime_capture.mp4&lt;/U&gt; (look at how the linear sampler interpolates between the 1st and 2nd level of Bottom slice as it rotates) and &lt;U&gt;VSGA_mipmap_level2.mp4&lt;/U&gt; for more.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="palver123_0-1623236095764.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/17348iCEA13B2701FB9CCB/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="palver123_0-1623236095764.png" alt="palver123_0-1623236095764.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The issue is stable and reproducible (although the blocky artifact does seem to be indeterministic) on Windows 10 and Intel Iris Xe GPU. The issue is not reproducible with the dedicated GPU of the same machine (NVIDIA T500), so we suspect it to be a bug in the Intel driver (not sure). I attach the details of my system in &lt;U&gt;msinfo32_SystemSummary.png&lt;/U&gt;, &lt;U&gt;msinfo32_Display.png&lt;/U&gt;, &lt;U&gt;DxDiag.txt&lt;/U&gt; and&amp;nbsp;a report from Intel SSU in&amp;nbsp;&lt;U&gt;Intel_SSU.txt&lt;/U&gt;.&lt;/P&gt;
&lt;H2&gt;Sample application&lt;/H2&gt;
&lt;P&gt;I also attach a sample program (&lt;U&gt;MipmappingBugSample.zip&lt;/U&gt;) to demonstrate the issue. The project was created with Visual Studio 16.10.0 but any version of VS2019 should be able to open it. About the sample program:&lt;BR /&gt;It generates a mipmapped 2D texture array of 6 textures and renders them on the sides of a cube. The cube rotates around axis Z until the program terminates.&lt;BR /&gt;The program was based on the built-in Visual Studio 2019 template: &lt;EM&gt;DirectX 11 App (Universal Windows - C++/CX)&lt;/EM&gt;. See VS2019_proj_template.png.&lt;BR /&gt;In case you don't know the template: it renders a rotating cube with simple vertex coloring. I modified very few things:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Replaced the vertex and pixel shaders with &lt;EM&gt;Content/textureVS.hlsl&lt;/EM&gt; and &lt;EM&gt;Content/texturePS.hlsl&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;Changed the cube mesh in &lt;FONT face="courier new,courier"&gt;Sample3DSceneRenderer&lt;/FONT&gt; by adding UV coordinates (I split the vertices because of different tex. coordinates for every cube face)&lt;/LI&gt;
&lt;LI&gt;Added 1 texture array and a shader resource view to &lt;FONT face="courier new,courier"&gt;Sample3DSceneRenderer&lt;/FONT&gt; (for texturing the cube).&lt;/LI&gt;
&lt;LI&gt;Added 6 binary files (&lt;EM&gt;Assets/decalX.texdata&lt;/EM&gt;) containing the texture array slices' raw pixel data (256x256 resolution, 1 channel -&amp;gt; 64KB)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The program uses the default sampler states (thus the warning on the debug console) but that is fine. You can see the mipmapping issue instantly in the app and by doing a frame capture in Visual Studio (and inspecting the texture array).&lt;/P&gt;
&lt;P&gt;I attach the list of DLLs loaded during running the sample program on my machine in VS2019_Modules_Window.csv (as shown by the 'Modules' window of VS2019).&lt;/P&gt;
&lt;H2&gt;Some further observations about the issue&lt;/H2&gt;
&lt;UL&gt;
&lt;LI&gt;Reducing the texture size from 256x256 to 64x64 seemed to fix the issue. 128x128 is buggy too, so 64x64 is the max.&lt;/LI&gt;
&lt;LI&gt;Restricting mipmap levels to 4 (instead of all 9 possible levels) also fixed the issue&lt;/LI&gt;
&lt;LI&gt;Adding &lt;FONT face="courier new,courier"&gt;std::this_thread::sleep(2s)&lt;/FONT&gt; before/after &lt;FONT face="courier new,courier"&gt;GenerateMip &lt;/FONT&gt;doesn't help (not a timing issue probably)&lt;/LI&gt;
&lt;LI&gt;I have plenty of free memory during running the sample app and never touch the memory allocated for the texture resources (I know Intel Iris has a unified memory architecture) after/during mipmap generation&lt;/LI&gt;
&lt;LI&gt;It doesn't matter whether I create the &lt;FONT face="courier new,courier"&gt;ID3D11Device &lt;/FONT&gt;with or without debug flag&lt;/LI&gt;
&lt;LI&gt;The issue occurs with several pixel formats I tried:&amp;nbsp;&lt;FONT face="courier new,courier"&gt;DXGI_FORMAT_R8_UNORM,&amp;nbsp;DXGI_FORMAT_R8_SNORM,&amp;nbsp;DXGI_FORMAT_R32_FLOAT,&lt;/FONT&gt;&amp;nbsp;&lt;FONT face="courier new,courier"&gt;DXGI_FORMAT_R8G8B8A8_UNORM&lt;/FONT&gt;. Although the probability of observing the issue is much higher with&amp;nbsp;&lt;FONT face="courier new,courier"&gt;DXGI_FORMAT_R8_UNORM&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;The issue always occurs on mipmap level 2&lt;/FONT&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 09 Jun 2021 17:40:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Intel-Xe-Graphics-driver-bug-mipmapping/m-p/1288417#M97865</guid>
      <dc:creator>palver123</dc:creator>
      <dc:date>2021-06-09T17:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Intel Xe Graphics driver bug: mipmapping</title>
      <link>https://community.intel.com/t5/Graphics/Intel-Xe-Graphics-driver-bug-mipmapping/m-p/1288431#M97868</link>
      <description>&lt;P&gt;&lt;STRIKE&gt;&lt;FONT face="courier new,courier"&gt;DXGI_FORMAT_R32_FLOAT&lt;/FONT&gt; also seems to work fine, so I suspect the problem is connected to normalization (UNORM and SNORM).&lt;BR /&gt;&lt;/STRIKE&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt;DXGI_FORMAT_R32_FLOAT&lt;/FONT&gt;&amp;nbsp;&lt;STRONG&gt;doesn't work either&lt;/STRONG&gt;, but there is a lower possibility of bumping into the issue (have to restart the sample app a few times to catch it)&lt;STRIKE&gt;&lt;BR /&gt;&lt;/STRIKE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jun 2021 17:37:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Intel-Xe-Graphics-driver-bug-mipmapping/m-p/1288431#M97868</guid>
      <dc:creator>palver123</dc:creator>
      <dc:date>2021-06-09T17:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Intel Xe Graphics driver bug: mipmapping</title>
      <link>https://community.intel.com/t5/Graphics/Intel-Xe-Graphics-driver-bug-mipmapping/m-p/1288677#M97897</link>
      <description>&lt;P&gt;I forgot to mention that even though my current driver version is&amp;nbsp;27.20.100.&lt;STRONG&gt;9510&lt;/STRONG&gt;, I originally encountered the issue with version&amp;nbsp;27.20.100.&lt;STRONG&gt;9268&lt;/STRONG&gt;. But then I updated in the hope of fixing the problem. Which didn't help.&lt;BR /&gt;&lt;BR /&gt;By the way I went and checked the manufacturer's site (Lenovo) and the recommended driver version is what I have (27.20.100.9510):&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="palver123_0-1623308258347.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/17371i2B1B38E9C24B75E2/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="palver123_0-1623308258347.png" alt="palver123_0-1623308258347.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 06:58:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Intel-Xe-Graphics-driver-bug-mipmapping/m-p/1288677#M97897</guid>
      <dc:creator>palver123</dc:creator>
      <dc:date>2021-06-10T06:58:56Z</dc:date>
    </item>
    <item>
      <title>Re:Intel Xe Graphics driver bug: mipmapping</title>
      <link>https://community.intel.com/t5/Graphics/Intel-Xe-Graphics-driver-bug-mipmapping/m-p/1288939#M97938</link>
      <description>&lt;P&gt;Hello&amp;nbsp;palver123&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank&amp;nbsp;you&amp;nbsp;for&amp;nbsp;posting&amp;nbsp;on&amp;nbsp;the&amp;nbsp;Intel️®&amp;nbsp;communities.&amp;nbsp;We are currently working on this request, the updates will be posted on the thread.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;David G&amp;nbsp;&lt;/P&gt;&lt;P&gt;Intel&amp;nbsp;Customer&amp;nbsp;Support&amp;nbsp;Technician&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 11 Jun 2021 03:27:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Intel-Xe-Graphics-driver-bug-mipmapping/m-p/1288939#M97938</guid>
      <dc:creator>David_G_Intel</dc:creator>
      <dc:date>2021-06-11T03:27:18Z</dc:date>
    </item>
    <item>
      <title>Re:Intel Xe Graphics driver bug: mipmapping</title>
      <link>https://community.intel.com/t5/Graphics/Intel-Xe-Graphics-driver-bug-mipmapping/m-p/1292685#M98332</link>
      <description>&lt;P&gt;After further investigating your request, the best option is to work directly with the Intel® Developer Zone. On there you will find support  and resources for applications in development and Intel® Hardware/Software:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://software.intel.com/" target="_blank"&gt;https://software.intel.com/&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Also, you can try opening a new thread under the Software topic in the community. You can find and choose the best option for support as&amp;nbsp;Intel&lt;span class="lia-unicode-emoji" title=":registered:"&gt;®️&lt;/span&gt; C++ Compiler, Intel System Studio, etc.&lt;/P&gt;&lt;P&gt;Please keep in mind that this thread will no longer be monitored by Intel. Thank you for your understanding.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Regards,&amp;nbsp;&lt;/P&gt;&lt;P&gt;David G&amp;nbsp;&lt;/P&gt;&lt;P&gt;Intel&amp;nbsp;Customer&amp;nbsp;Support&amp;nbsp;Technician&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jun 2021 23:47:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Intel-Xe-Graphics-driver-bug-mipmapping/m-p/1292685#M98332</guid>
      <dc:creator>David_G_Intel</dc:creator>
      <dc:date>2021-06-23T23:47:14Z</dc:date>
    </item>
  </channel>
</rss>

