<?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 I think the problem really is in Graphics</title>
    <link>https://community.intel.com/t5/Graphics/Intel-HD-620-corrupt-texture-readback-with-glGetTexImage/m-p/1108714#M87571</link>
    <description>&lt;P&gt;I think the problem really is with&amp;nbsp;&lt;SPAN style="font-size: 12px;"&gt;GL_UNSIGNED_INT_8_8_8_8_REV.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;A PBO transfer with glReadPixels&amp;nbsp;&lt;SPAN style="font-size: 12px;"&gt;GL_UNSIGNED_INT_8_8_8_8_REV, causes artifacts, while&amp;nbsp;GL_UNSIGNED_INT_8_8_8_8 with manual byte flipping to get the correct output format does not cause any corruption. And indeed, using&amp;nbsp;15.40.4539 with the same code using _REV works.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Operating System: Windows 10 Pro 64-bit (10.0, Build 14393) (14393.rs1_release_sec.170327-1835)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;BIOS: KYSKLi70.86A.0041.2016.0817.1130&lt;BR /&gt;
	Processor: Intel(R) Core(TM) i7-6770HQ CPU @ 2.60GHz (8 CPUs), ~2.6GHz&lt;BR /&gt;
	Card name: Intel(R) Iris(TM) Pro Graphics 580&lt;BR /&gt;
	Driver File Version: 21.20.0016.4627 (English)&lt;BR /&gt;
	Driver Version: 21.20.16.4627&lt;/P&gt;</description>
    <pubDate>Wed, 03 May 2017 14:02:53 GMT</pubDate>
    <dc:creator>Guillaume_A_1</dc:creator>
    <dc:date>2017-05-03T14:02:53Z</dc:date>
    <item>
      <title>Intel HD 620 corrupt texture readback with glGetTexImage</title>
      <link>https://community.intel.com/t5/Graphics/Intel-HD-620-corrupt-texture-readback-with-glGetTexImage/m-p/1108707#M87564</link>
      <description>&lt;P&gt;Our software uses glGetTexImage to read back a simple 2D texture and save it to disk.&lt;/P&gt;

&lt;P&gt;We have been using this technique for several years with no problem.&lt;/P&gt;

&lt;P&gt;Recently, two different users with new computers have reported crazy artifacts on the images we save with this technique. In both cases, the users had Intel HD 620 graphics cards. One user took his computer back, got a different computer with the HD 620 card, and experienced the same issue. So we've seen the problem on three different machines.&lt;/P&gt;

&lt;P&gt;I'm attaching an image that was read with glGetTexImage. When the texture was originally drawn on the screen, there were no artifacts. They are only introduced during the readback.&lt;/P&gt;

&lt;P&gt;Steps to Reproduce:&lt;BR /&gt;
	---------------------------&lt;/P&gt;

&lt;OL&gt;
	&lt;LI&gt;Upload a valid 2D texture to the Intel HD 620 via OpenGL.&lt;/LI&gt;
	&lt;LI&gt;Read back the texture with glGetTexImage&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Expected Results:&lt;BR /&gt;
	----------------------------&lt;BR /&gt;
	The texture data read back should be the same as the texture data sent to the graphics card.&lt;/P&gt;

&lt;P&gt;Actual Results:&lt;BR /&gt;
	----------------------------&lt;BR /&gt;
	The texture data is corrupted, with lots of light-blue blocks in place of most of the expected image.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Here is the machine information:&lt;/P&gt;

&lt;PRE style="color: rgb(0, 0, 0); word-wrap: break-word; white-space: pre-wrap;"&gt;Windows 10
Manufacturer = HP
Model = HP Notebook
SystemType = x64-based PC
NumberOfProcessors = 1
CPU = Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
Driver Vendor   = Intel
Driver Renderer = Intel(R) HD Graphics 620
Driver Version  = 4.4.0 - Build 21.20.16.4471&lt;/PRE&gt;

&lt;P&gt;And another one:&lt;/P&gt;

&lt;PRE style="font-size: 13.008px; color: rgb(0, 0, 0); word-wrap: break-word; white-space: pre-wrap;"&gt;Windows 10
Manufacturer = Acer
Model = Aspire E5-575
SystemType = x64-based PC
NumberOfProcessors = 1&lt;/PRE&gt;

&lt;PRE style="font-size: 13.008px; color: rgb(0, 0, 0); word-wrap: break-word; white-space: pre-wrap;"&gt;CPU = Intel(R) Core(TM) i3-7100U CPU @ 2.40GHz
Driver Vendor   = Intel
Driver Renderer = Intel(R) HD Graphics 620
Driver Version  = 4.4.0 - Build 21.20.16.4526&lt;/PRE&gt;

&lt;P&gt;---&lt;/P&gt;

&lt;P&gt;Our code to read from the texture is:&lt;/P&gt;

&lt;P&gt;
	&lt;STYLE type="text/css"&gt;p, li { white-space: pre-wrap; }
	&lt;/STYLE&gt;
&lt;/P&gt;

&lt;PRE class="brush:cpp;" style="margin-top: 0px; margin-bottom: 0px;"&gt;// texture context is current

glBindTexture(GL_TEXTURE_2D, textureId);

glGetTexLevelParameteriv(GL_TEXTURE_2D, 0, GL_TEXTURE_WIDTH, &amp;amp;w);
glGetTexLevelParameteriv(GL_TEXTURE_2D, 0, GL_TEXTURE_HEIGHT, &amp;amp;h);

if (w &amp;gt; 0 &amp;amp;&amp;amp; h &amp;gt; 0)
{
  // allocate buffer == w * h * 4 bytes
  f-&amp;gt;glGetTexImage(GL_TEXTURE_2D, 0, GL_BGRA_EXT, Z_TEXTURE_DATATYPE, (void*)buffer);
}
&lt;/PRE&gt;

&lt;PRE style="margin-top: 0px; margin-bottom: 0px;"&gt;&lt;!--EndFragment--&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Dec 2016 18:08:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Intel-HD-620-corrupt-texture-readback-with-glGetTexImage/m-p/1108707#M87564</guid>
      <dc:creator>Dyami_C_</dc:creator>
      <dc:date>2016-12-08T18:08:22Z</dc:date>
    </item>
    <item>
      <title>Hi, Dyami,</title>
      <link>https://community.intel.com/t5/Graphics/Intel-HD-620-corrupt-texture-readback-with-glGetTexImage/m-p/1108708#M87565</link>
      <description>&lt;P&gt;Hi, Dyami,&lt;/P&gt;

&lt;P&gt;I have filed the issues and will get the driver team to investigate. I will update you once we know something.&lt;/P&gt;

&lt;P&gt;-Michael&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2016 18:38:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Intel-HD-620-corrupt-texture-readback-with-glGetTexImage/m-p/1108708#M87565</guid>
      <dc:creator>Michael_C_Intel2</dc:creator>
      <dc:date>2016-12-09T18:38:41Z</dc:date>
    </item>
    <item>
      <title>The line that reads the</title>
      <link>https://community.intel.com/t5/Graphics/Intel-HD-620-corrupt-texture-readback-with-glGetTexImage/m-p/1108709#M87566</link>
      <description>&lt;P&gt;&lt;SPAN style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8px;"&gt;The line that reads the texture should be:&lt;/SPAN&gt;&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;glGetTexImage(GL_TEXTURE_2D, 0, GL_BGRA_EXT, GL_UNSIGNED_INT_8_8_8_8_REV, (void*)buffer);
&lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Dec 2016 01:51:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Intel-HD-620-corrupt-texture-readback-with-glGetTexImage/m-p/1108709#M87566</guid>
      <dc:creator>Dyami_C_</dc:creator>
      <dc:date>2016-12-12T01:51:23Z</dc:date>
    </item>
    <item>
      <title>We have seen this again, this</title>
      <link>https://community.intel.com/t5/Graphics/Intel-HD-620-corrupt-texture-readback-with-glGetTexImage/m-p/1108710#M87567</link>
      <description>&lt;P&gt;We have seen this again, this time with the HD 530 running on Windows 8.&lt;/P&gt;

&lt;P&gt;Windows 8&lt;BR /&gt;
	Manufacturer = CyberpowerPC&lt;BR /&gt;
	Model = TRACER Series&lt;BR /&gt;
	SystemType = x64-based PC&lt;BR /&gt;
	NumberOfProcessors = 1&lt;BR /&gt;
	CPU = Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz&lt;/P&gt;

&lt;P&gt;Driver Vendor &amp;nbsp; = Intel&lt;BR /&gt;
	Driver Renderer = Intel(R) HD Graphics 530&lt;BR /&gt;
	Driver Version &amp;nbsp;= 4.4.0 - Build 21.20.16.4542&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Is there any news on this? I can provide a license to our software for testing if you would like it?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2017 22:55:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Intel-HD-620-corrupt-texture-readback-with-glGetTexImage/m-p/1108710#M87567</guid>
      <dc:creator>Dyami_C_</dc:creator>
      <dc:date>2017-01-16T22:55:27Z</dc:date>
    </item>
    <item>
      <title>I have been able to duplicate</title>
      <link>https://community.intel.com/t5/Graphics/Intel-HD-620-corrupt-texture-readback-with-glGetTexImage/m-p/1108711#M87568</link>
      <description>&lt;P&gt;I have been able to duplicate this locally on a machine with the HD 520.&lt;/P&gt;

&lt;P&gt;It appears to be an issue with the 7th generation driver "15.45/21.20" versions.&lt;/P&gt;

&lt;P&gt;It is not fixed in the current beta (21.20.16.4552).&lt;/P&gt;

&lt;P&gt;It only occurs with "&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 13.008px;"&gt;GL_UNSIGNED_INT_8_8_8_8_REV" and &lt;STRONG&gt;only&lt;/STRONG&gt; on 32-bit applications.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: 13.008px;"&gt;Changing the pixel type for the returned data to GL_UNSIGNED_BYTE resolves the issue.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2017 04:13:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Intel-HD-620-corrupt-texture-readback-with-glGetTexImage/m-p/1108711#M87568</guid>
      <dc:creator>Dyami_C_</dc:creator>
      <dc:date>2017-01-17T04:13:44Z</dc:date>
    </item>
    <item>
      <title>We have the same issue with</title>
      <link>https://community.intel.com/t5/Graphics/Intel-HD-620-corrupt-texture-readback-with-glGetTexImage/m-p/1108712#M87569</link>
      <description>&lt;P&gt;We have the same issue with our software with glGetTexImage.&lt;BR /&gt;
	Current driver for HD 520 Intel graphics and all tested drivers by us for 7th generation have this issue.&lt;/P&gt;

&lt;P&gt;We does not the occured this issue on Nvidia and AMD graphics cards.&lt;/P&gt;

&lt;P&gt;GPU info:&lt;BR /&gt;
	Session type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : local&lt;BR /&gt;
	Profile&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Shader base&lt;BR /&gt;
	Vendor&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Intel&lt;BR /&gt;
	Renderer&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Intel(R) HD Graphics 620&lt;BR /&gt;
	API version&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : OpenGL 4.4.0 - Build 21.20.16.4627&lt;BR /&gt;
	Driver version&amp;nbsp;&amp;nbsp; :&lt;BR /&gt;
	Max texture&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 16384&lt;BR /&gt;
	Vertex cache size: 73&lt;BR /&gt;
	Available memsize: 1024 MB&lt;/P&gt;

&lt;P&gt;Is there a chance for a bugfix for the next driver version?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2017 15:52:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Intel-HD-620-corrupt-texture-readback-with-glGetTexImage/m-p/1108712#M87569</guid>
      <dc:creator>Dennis_L_</dc:creator>
      <dc:date>2017-04-20T15:52:01Z</dc:date>
    </item>
    <item>
      <title>We have been seeing this</title>
      <link>https://community.intel.com/t5/Graphics/Intel-HD-620-corrupt-texture-readback-with-glGetTexImage/m-p/1108713#M87570</link>
      <description>&lt;P&gt;We have been seeing this issue for a little while now on all of our NUCs with Iris Pro 580.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;&amp;gt;&amp;gt; We have found that&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.008px;"&gt;15.40.4539 (Beta) are WORKING and do not exhibit these artifacts. &amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;While using some older and some newer drivers do show the corruption.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;I've just tested using&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;15.45.16.4627, and s&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;imply using Apitrace and double clicking on a command that has a depth buffer bound will show the issue. I'm guessing apitrace gets the content of the buffers using a read pixel or getTexImage, as clicking multiple times on the same frame will show different corruption in the depth buffer surface, all my other framebuffers and textures were ok, though. Only my GL_DEPTH_ATTACHMENT was corrupted. (I tried both with stencil 24_8 and simply depth 24. Unlike Dyami, I see this on 64 bit applications)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2017 21:24:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Intel-HD-620-corrupt-texture-readback-with-glGetTexImage/m-p/1108713#M87570</guid>
      <dc:creator />
      <dc:date>2017-05-02T21:24:07Z</dc:date>
    </item>
    <item>
      <title>I think the problem really is</title>
      <link>https://community.intel.com/t5/Graphics/Intel-HD-620-corrupt-texture-readback-with-glGetTexImage/m-p/1108714#M87571</link>
      <description>&lt;P&gt;I think the problem really is with&amp;nbsp;&lt;SPAN style="font-size: 12px;"&gt;GL_UNSIGNED_INT_8_8_8_8_REV.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;A PBO transfer with glReadPixels&amp;nbsp;&lt;SPAN style="font-size: 12px;"&gt;GL_UNSIGNED_INT_8_8_8_8_REV, causes artifacts, while&amp;nbsp;GL_UNSIGNED_INT_8_8_8_8 with manual byte flipping to get the correct output format does not cause any corruption. And indeed, using&amp;nbsp;15.40.4539 with the same code using _REV works.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Operating System: Windows 10 Pro 64-bit (10.0, Build 14393) (14393.rs1_release_sec.170327-1835)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;BIOS: KYSKLi70.86A.0041.2016.0817.1130&lt;BR /&gt;
	Processor: Intel(R) Core(TM) i7-6770HQ CPU @ 2.60GHz (8 CPUs), ~2.6GHz&lt;BR /&gt;
	Card name: Intel(R) Iris(TM) Pro Graphics 580&lt;BR /&gt;
	Driver File Version: 21.20.0016.4627 (English)&lt;BR /&gt;
	Driver Version: 21.20.16.4627&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 14:02:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Intel-HD-620-corrupt-texture-readback-with-glGetTexImage/m-p/1108714#M87571</guid>
      <dc:creator>Guillaume_A_1</dc:creator>
      <dc:date>2017-05-03T14:02:53Z</dc:date>
    </item>
  </channel>
</rss>

