<?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 Vivante GC 2000 Issue in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-GC-2000-Issue/m-p/841927#M129120</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am&amp;nbsp;working with a &lt;A href="https://www.digi.com/products/embedded-systems/single-board-computers/connectcore-6-sbc"&gt;ConnectCore 6&lt;/A&gt;. Developing a graphical application using Qt and OpenGl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Issue:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The problem we are trying to&amp;nbsp;solve is related to the projection of OpenGL primitive lines.&lt;BR /&gt;We need to draw a grid permanently on the screen. For that, we created a vertex buffer with two vertexes per line. The buffer has vertexes for horizontal and vertical lines and it's regenerated for each change on the perspective. Finally we draw using &lt;EM&gt;glDrawArrays(GL_LINES,...)&lt;/EM&gt;.&lt;BR /&gt;On PC platform it works perfectly but in our board ccimx6sbc the lines aren't projected correctly when these are&amp;nbsp;very long. The visual effect is that the lines are not parallel anymore. We think the issue is generated by the driver when it has to interpolate the vertexes placed outside the frustrum. When that occurs, the resulting vertexes are not aligned with the original line causing the lines don't be parallel between them.&lt;/P&gt;&lt;P&gt;Our issue is similar to the mentioned in &lt;A href="https://stackoverflow.com/questions/44512396/opengl-perspective-projection-clipping-polygon-with-vertex-outside-frustum-wro"&gt;StackOverflow&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;We could avoid the problem splitting the line in many segments but it increase the amount of memory stored on GPU and the amount&amp;nbsp;of&amp;nbsp;operations&amp;nbsp;to be executed by.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Platform:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We are using:&lt;BR /&gt;- Yocto 2.4 (rocko) for ccimx6sbc with an update of the &lt;A href="http://git.yoctoproject.org/cgit/cgit.cgi/meta-freescale/tree/recipes-graphics/imx-gpu-viv?h=master-next"&gt;gpu driver&lt;/A&gt; and &lt;A href="http://git.yoctoproject.org/cgit/cgit.cgi/meta-freescale/tree/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.2+fslc.bb?h=master-next"&gt;kernel module&lt;/A&gt;&amp;nbsp;(provided in the branch master-next of meta-freescale).&lt;BR /&gt;- The GPU Info provided when we run an application using OpenGL in the board is:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Vendor : Vivante Corporation&lt;BR /&gt; Renderer : Vivante GC2000&lt;BR /&gt; Version : OpenGL ES 3.0 V6.2.4.p1.150331&lt;BR /&gt; Shading : OpenGL ES GLSL ES 3.00&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Do you already know something about an interpolation issue on this driver?&lt;BR /&gt;Do you know where we can find more information?&amp;nbsp;or where we can report this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you need any further information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jul 2018 18:25:26 GMT</pubDate>
    <dc:creator>gojeda1</dc:creator>
    <dc:date>2018-07-02T18:25:26Z</dc:date>
    <item>
      <title>Vivante GC 2000 Issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-GC-2000-Issue/m-p/841927#M129120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am&amp;nbsp;working with a &lt;A href="https://www.digi.com/products/embedded-systems/single-board-computers/connectcore-6-sbc"&gt;ConnectCore 6&lt;/A&gt;. Developing a graphical application using Qt and OpenGl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Issue:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The problem we are trying to&amp;nbsp;solve is related to the projection of OpenGL primitive lines.&lt;BR /&gt;We need to draw a grid permanently on the screen. For that, we created a vertex buffer with two vertexes per line. The buffer has vertexes for horizontal and vertical lines and it's regenerated for each change on the perspective. Finally we draw using &lt;EM&gt;glDrawArrays(GL_LINES,...)&lt;/EM&gt;.&lt;BR /&gt;On PC platform it works perfectly but in our board ccimx6sbc the lines aren't projected correctly when these are&amp;nbsp;very long. The visual effect is that the lines are not parallel anymore. We think the issue is generated by the driver when it has to interpolate the vertexes placed outside the frustrum. When that occurs, the resulting vertexes are not aligned with the original line causing the lines don't be parallel between them.&lt;/P&gt;&lt;P&gt;Our issue is similar to the mentioned in &lt;A href="https://stackoverflow.com/questions/44512396/opengl-perspective-projection-clipping-polygon-with-vertex-outside-frustum-wro"&gt;StackOverflow&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;We could avoid the problem splitting the line in many segments but it increase the amount of memory stored on GPU and the amount&amp;nbsp;of&amp;nbsp;operations&amp;nbsp;to be executed by.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Platform:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We are using:&lt;BR /&gt;- Yocto 2.4 (rocko) for ccimx6sbc with an update of the &lt;A href="http://git.yoctoproject.org/cgit/cgit.cgi/meta-freescale/tree/recipes-graphics/imx-gpu-viv?h=master-next"&gt;gpu driver&lt;/A&gt; and &lt;A href="http://git.yoctoproject.org/cgit/cgit.cgi/meta-freescale/tree/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_6.2.4.p1.2+fslc.bb?h=master-next"&gt;kernel module&lt;/A&gt;&amp;nbsp;(provided in the branch master-next of meta-freescale).&lt;BR /&gt;- The GPU Info provided when we run an application using OpenGL in the board is:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Vendor : Vivante Corporation&lt;BR /&gt; Renderer : Vivante GC2000&lt;BR /&gt; Version : OpenGL ES 3.0 V6.2.4.p1.150331&lt;BR /&gt; Shading : OpenGL ES GLSL ES 3.00&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Do you already know something about an interpolation issue on this driver?&lt;BR /&gt;Do you know where we can find more information?&amp;nbsp;or where we can report this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you need any further information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jul 2018 18:25:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vivante-GC-2000-Issue/m-p/841927#M129120</guid>
      <dc:creator>gojeda1</dc:creator>
      <dc:date>2018-07-02T18:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Vivante GC 2000 Issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Vivante-GC-2000-Issue/m-p/841928#M129121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gustavo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a bug in GPU driver it is marked, if you can avoided with splitting the line in many segment do it. I´ll let you know when the bug is fixed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the catch!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Aug 2018 14:52:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Vivante-GC-2000-Issue/m-p/841928#M129121</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2018-08-07T14:52:18Z</dc:date>
    </item>
  </channel>
</rss>

