<?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 HD Graphics OpenGL driver bug: GL_QUADS not drawn in Graphics</title>
    <link>https://community.intel.com/t5/Graphics/Intel-HD-Graphics-OpenGL-driver-bug-GL-QUADS-not-drawn/m-p/227683#M3235</link>
    <description>&lt;P&gt;Hi Elmar!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I had to create a workaround, I would avoid glArrayElement like the plague.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead, I would try to allocate an index - list with 6 x  # QUADs (perhaps a static list,&lt;/P&gt;&lt;P&gt;to minimize reallocations), fill the index - list with the exact same indices you otherwise&lt;/P&gt;&lt;P&gt;use with glArrayElement, and then call&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;glDrawElements, or better still, glDrawRangeElements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at the end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give the OpenGL driver the opportunity to reuse vertices and saves a lot&lt;/P&gt;&lt;P&gt;of transfer and transform overhead, and should result in MUCH higher performance,&lt;/P&gt;&lt;P&gt;provided there is a reasonable large number of primitives per draw call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It perhaps could also fix the performance degredation you see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not speaking for Intel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;</description>
    <pubDate>Wed, 21 Sep 2011 10:12:23 GMT</pubDate>
    <dc:creator>idata</dc:creator>
    <dc:date>2011-09-21T10:12:23Z</dc:date>
    <item>
      <title>Intel HD Graphics OpenGL driver bug: GL_QUADS not drawn</title>
      <link>https://community.intel.com/t5/Graphics/Intel-HD-Graphics-OpenGL-driver-bug-GL-QUADS-not-drawn/m-p/227681#M3233</link>
      <description>&lt;P&gt;Dear support team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just tested our OpenGL based molecular modeling application &lt;A href="http://www.yasara.org"&gt;www.yasara.org&lt;/A&gt; with a Medion Akoya Core i3 notebook.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The notebook has Windows 7 64bit with Intel HD graphics driver 8.15.10.2372 pre-installed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This driver worked fine except one major bug: Drawing GL_QUADS with fragment shader enabled results either in nothing (the GL_QUADS are not drawn at all) or draws them at the wrong spot (vertex coordinates are not updated correctly).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since this makes our application more or less unusable, I implemented a workaround, i.e. our application checks the OpenGL driver string for "Intel(R) HD Graphics" and - if found - draws GL_TRIANGLES instead of GL_QUADS (using the slow glArrayElement call, so it's kind of a hack and no permanent solution).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The next step was to update to the latest driver 8.15.10.2509. There, the GL_QUADS problem was still present, and another serious issue showed up: the graphics got slower and slower. Starting at around 60 frames per second, the framerate slowly dropped to 3 frames per second. This did not happen with the pre-installed driver 8.15.10.2372. And again, it only happens with fragment shader enabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll be happy to provide you with a download link to test yourself, just tell me. (Don't download YASARA yourself, since the workaround will be released shortly).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Elmar&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2011 10:48:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Intel-HD-Graphics-OpenGL-driver-bug-GL-QUADS-not-drawn/m-p/227681#M3233</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2011-09-16T10:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Intel HD Graphics OpenGL driver bug: GL_QUADS not drawn</title>
      <link>https://community.intel.com/t5/Graphics/Intel-HD-Graphics-OpenGL-driver-bug-GL-QUADS-not-drawn/m-p/227682#M3234</link>
      <description>&lt;P&gt;Just a little extra info: GL_QUAD_STRIP also doesn't work, but this can easily be solved by using GL_TRIANGLE_STRIP instead (since the vertex order is the same, there is essentially no difference between these two drawing modes).&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2011 11:47:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Intel-HD-Graphics-OpenGL-driver-bug-GL-QUADS-not-drawn/m-p/227682#M3234</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2011-09-16T11:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: Intel HD Graphics OpenGL driver bug: GL_QUADS not drawn</title>
      <link>https://community.intel.com/t5/Graphics/Intel-HD-Graphics-OpenGL-driver-bug-GL-QUADS-not-drawn/m-p/227683#M3235</link>
      <description>&lt;P&gt;Hi Elmar!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I had to create a workaround, I would avoid glArrayElement like the plague.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead, I would try to allocate an index - list with 6 x  # QUADs (perhaps a static list,&lt;/P&gt;&lt;P&gt;to minimize reallocations), fill the index - list with the exact same indices you otherwise&lt;/P&gt;&lt;P&gt;use with glArrayElement, and then call&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;glDrawElements, or better still, glDrawRangeElements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at the end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give the OpenGL driver the opportunity to reuse vertices and saves a lot&lt;/P&gt;&lt;P&gt;of transfer and transform overhead, and should result in MUCH higher performance,&lt;/P&gt;&lt;P&gt;provided there is a reasonable large number of primitives per draw call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It perhaps could also fix the performance degredation you see.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not speaking for Intel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2011 10:12:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Intel-HD-Graphics-OpenGL-driver-bug-GL-QUADS-not-drawn/m-p/227683#M3235</guid>
      <dc:creator>idata</dc:creator>
      <dc:date>2011-09-21T10:12:23Z</dc:date>
    </item>
  </channel>
</rss>

