AnsweredAssumed Answered

Flickering problem

Question asked by shyamjith K V on Jun 26, 2016
Latest reply on Jun 29, 2016 by shyamjith K V

Hi,

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.

 

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.

 

I also tried FB_MULTIBUFFER=3 but the results where same.

 

To check if the problem is with GPU, I compiled an application which simply throws one frame to the display.

Code below.

Render();

currentFrame++;

eglSwapBuffers(egldisplay, eglsurface);

wait();

But the problem persists.

 

I am stuck. Any help on this will be greatly appreciated.

Outcomes