<?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>i.MX Processorsのトピック GLES2.0 Samples run failed on imx6 linux 3.0.35</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/GLES2-0-Samples-run-failed-on-imx6-linux-3-0-35/m-p/511624#M83435</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;imx6 Linux3.0.35(L3.0.35_4.1.0_130816) run i.MX6 Graphics SDK Sample ,the GLES2.0 Samples run failed and GLES1.1 OpenVG run ok.&lt;/P&gt;&lt;P&gt;about failed info :&lt;/P&gt;&lt;P&gt;1、build GLES2.0&amp;nbsp; samples for FBDEV&lt;/P&gt;&lt;P&gt;2、GLES2.0 Samples run failed log :&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; root@freescale /mnt/mmc/GLES20_fbdev$ ./01_SimpleTriangle &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01_SimpleTriangle: SimpleTriangle.c:283: main: Assertion `init()' failed.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Aborted&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; root@freescale /mnt/mmc/GLES20_fbdev$ &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;And debug this error found&amp;nbsp; glCompileShader() run failed,why?&lt;/P&gt;&lt;P&gt;if use PrecomplieShader(not run glCompileShader()),sample run ok.&lt;EM style="color: #000000; font-size: 12pt; font-family: Times-Bold;"&gt;&lt;BR style="text-align: -webkit-auto;" /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;L3.0.35_4.1.0_130816 BSP not support GLES2.0?Only support GLES1.1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Regards,&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;forrest&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Mar 2016 09:06:44 GMT</pubDate>
    <dc:creator>forrestjr</dc:creator>
    <dc:date>2016-03-29T09:06:44Z</dc:date>
    <item>
      <title>GLES2.0 Samples run failed on imx6 linux 3.0.35</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GLES2-0-Samples-run-failed-on-imx6-linux-3-0-35/m-p/511624#M83435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;imx6 Linux3.0.35(L3.0.35_4.1.0_130816) run i.MX6 Graphics SDK Sample ,the GLES2.0 Samples run failed and GLES1.1 OpenVG run ok.&lt;/P&gt;&lt;P&gt;about failed info :&lt;/P&gt;&lt;P&gt;1、build GLES2.0&amp;nbsp; samples for FBDEV&lt;/P&gt;&lt;P&gt;2、GLES2.0 Samples run failed log :&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; root@freescale /mnt/mmc/GLES20_fbdev$ ./01_SimpleTriangle &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 01_SimpleTriangle: SimpleTriangle.c:283: main: Assertion `init()' failed.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Aborted&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; root@freescale /mnt/mmc/GLES20_fbdev$ &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;And debug this error found&amp;nbsp; glCompileShader() run failed,why?&lt;/P&gt;&lt;P&gt;if use PrecomplieShader(not run glCompileShader()),sample run ok.&lt;EM style="color: #000000; font-size: 12pt; font-family: Times-Bold;"&gt;&lt;BR style="text-align: -webkit-auto;" /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;L3.0.35_4.1.0_130816 BSP not support GLES2.0?Only support GLES1.1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Regards,&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;forrest&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 09:06:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GLES2-0-Samples-run-failed-on-imx6-linux-3-0-35/m-p/511624#M83435</guid>
      <dc:creator>forrestjr</dc:creator>
      <dc:date>2016-03-29T09:06:44Z</dc:date>
    </item>
    <item>
      <title>Re:  GLES2.0 Samples run failed on imx6 linux 3.0.35</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GLES2-0-Samples-run-failed-on-imx6-linux-3-0-35/m-p/511625#M83436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi forest,&lt;/P&gt;&lt;P&gt;You can refer to &lt;A href="https://community.nxp.com/docs/DOC-95002"&gt;Compile IMX6_GPU_SDK with L3.0.35_1.1.0 and L3.0.35_4.0.0&lt;/A&gt;&amp;nbsp; in our community. Hope it can help you.&lt;BR /&gt;Have a great day,&lt;BR /&gt;Dan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Mark Correct&amp;nbsp; button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 10:13:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GLES2-0-Samples-run-failed-on-imx6-linux-3-0-35/m-p/511625#M83436</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2016-03-29T10:13:50Z</dc:date>
    </item>
    <item>
      <title>Re:  GLES2.0 Samples run failed on imx6 linux 3.0.35</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GLES2-0-Samples-run-failed-on-imx6-linux-3-0-35/m-p/511626#M83437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank a lot,but the problem still exitsts.&lt;/P&gt;&lt;P&gt;Reference "Compile IMX6_GPU_SDK with L3.0.35_1.1.0 and L3.0.35_4.0.0",On &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;imx6 Linux3.0.35(L3.0.35_4.1.0_130816) still only run &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;GLES1.1 and OpenVG Samples.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;run GLES2.0 Sample for &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;FBDEV still failed,Eg. run 01_SimpleTriangle&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; $./01_SimpleTriangle &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; $ glCompileShader error &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp; $ 01_SimpleTriangle: SimpleTriangle.c:283: main: Assertion `init()' failed.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $ Aborted&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;in &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;SimpleTriangle.c&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;P&gt;// Compile the shaders&lt;/P&gt;&lt;P&gt;GLuint hVertexShader = glCreateShader( GL_VERTEX_SHADER );&lt;/P&gt;&lt;P&gt;glShaderSource( hVertexShader, 1, &amp;amp;g_strVertexShader, NULL );&lt;/P&gt;&lt;P&gt;glCompileShader( hVertexShader );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Check for compile success&lt;/P&gt;&lt;P&gt;GLint nCompileResult = 0;&lt;/P&gt;&lt;P&gt;glGetShaderiv( hVertexShader, GL_COMPILE_STATUS, &amp;amp;nCompileResult );&lt;/P&gt;&lt;P&gt;if( 0 == nCompileResult )&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;#127;char&amp;nbsp; strLog[1024];&lt;/P&gt;&lt;P&gt;&amp;nbsp; GLint nLength;&lt;/P&gt;&lt;P&gt;&amp;nbsp; glGetShaderInfoLog( hVertexShader, 1024, &amp;amp;nLength, strLog );&lt;/P&gt;&lt;P&gt;&amp;nbsp; printf("glCompileShader error&amp;nbsp; \n");&lt;/P&gt;&lt;P&gt;&amp;nbsp; return FALSE;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;The Shader Compile failed,why? need other config?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Mar 2016 03:17:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GLES2-0-Samples-run-failed-on-imx6-linux-3-0-35/m-p/511626#M83437</guid>
      <dc:creator>forrestjr</dc:creator>
      <dc:date>2016-03-30T03:17:27Z</dc:date>
    </item>
  </channel>
</rss>

