<?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 Flickering problem in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Flickering-problem/m-p/574464#M87868</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;Hi,&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;I have an iMX6Q SABRE AI EVK with linux-2.6-imx-imx_3.14.52_1.1.0_ga (imx_v6_v7_defconfig) running on it. I have downloaded gpu_sdk_v1.00 from NXP website and compiled gpu example application "03_Transform" from it. The application is nothing but a rotating triangle. When i run this application on my board by enabling multibuffering(FB_MULTI_BUFFER=2) , instead of a smooth start, it shows a sudden initial glitch for a fraction of second (looks like the half of the screen comes from bottom) and gets stabilized to normal. &lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;Sometimes, the application runs with wrong alignment (The top half of the display image is displayed at the bottom half of the screen) and no stabilization occurs.&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;I also tried FB_MULTIBUFFER=3 but the results where same.&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;To check if the problem is with GPU, I compiled an application which simply throws one frame to the display. &lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;Code below.&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;Render();&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;currentFrame++;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;eglSwapBuffers(egldisplay, eglsurface);&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;wait();&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt; But the problem persists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;I am stuck. Any help on this will be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jun 2016 06:42:37 GMT</pubDate>
    <dc:creator>shyamjithkv</dc:creator>
    <dc:date>2016-06-27T06:42:37Z</dc:date>
    <item>
      <title>Flickering problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flickering-problem/m-p/574464#M87868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;Hi,&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;I have an iMX6Q SABRE AI EVK with linux-2.6-imx-imx_3.14.52_1.1.0_ga (imx_v6_v7_defconfig) running on it. I have downloaded gpu_sdk_v1.00 from NXP website and compiled gpu example application "03_Transform" from it. The application is nothing but a rotating triangle. When i run this application on my board by enabling multibuffering(FB_MULTI_BUFFER=2) , instead of a smooth start, it shows a sudden initial glitch for a fraction of second (looks like the half of the screen comes from bottom) and gets stabilized to normal. &lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;Sometimes, the application runs with wrong alignment (The top half of the display image is displayed at the bottom half of the screen) and no stabilization occurs.&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;I also tried FB_MULTIBUFFER=3 but the results where same.&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;To check if the problem is with GPU, I compiled an application which simply throws one frame to the display. &lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;Code below.&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;Render();&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;currentFrame++;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;eglSwapBuffers(egldisplay, eglsurface);&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;wait();&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt; But the problem persists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #222222; font-family: arial, sans-serif; font-size: 12.8px;"&gt;I am stuck. Any help on this will be greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2016 06:42:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flickering-problem/m-p/574464#M87868</guid>
      <dc:creator>shyamjithkv</dc:creator>
      <dc:date>2016-06-27T06:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Flickering problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flickering-problem/m-p/574465#M87869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi shyamjith,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: windowtext;"&gt;I have tested it on iMX6 driver, and met the problem only when FB_MULTI_BUFFER=2, either when FB_MULTI_BUFFER=0, 1 or 3 , the graphic is OK&lt;/SPAN&gt;.&lt;SPAN style="color: windowtext;"&gt;&amp;nbsp; I think this is synchronization &lt;/SPAN&gt;with the display &lt;SPAN style="color: windowtext;"&gt;issues as the display is good when I make some change that the process sleep several milliseconds after the eglswapbuffer is called.&lt;/SPAN&gt; Please try add this sleep process it in your side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2016 16:08:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flickering-problem/m-p/574465#M87869</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2016-06-28T16:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Flickering problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flickering-problem/m-p/574466#M87870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply&lt;/P&gt;&lt;P&gt;I have added a sleep after eglswapbuffer call as you said.The flickering problem is solved with FB_MULTI_BUFFER=1. But for multibuffering(FB_MULTI_BUFFER=2&amp;amp;3) the issue persists. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jun 2016 06:28:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flickering-problem/m-p/574466#M87870</guid>
      <dc:creator>shyamjithkv</dc:creator>
      <dc:date>2016-06-30T06:28:14Z</dc:date>
    </item>
  </channel>
</rss>

