Flicker while starting Qt application

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Flicker while starting Qt application

1,325 Views
shyamjithkv
Contributor III


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.When I run a Qt5 application on it, instead of a smooth start, it shows a sudden initial glitch for a fraction of second and gets stabilized to normal.The below image will give a better understanding of problem.

Untitled 3.jpg

Any help on this will be greatly appreciated.

Note:  I am almost done with the work, so changing the kernel version is not recommended.

Labels (2)
0 Kudos
2 Replies

801 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi shyamjith,

Check your Xorg.conf should match one of the following cases:

_______________

1) Vivante driver:

Section "Device"

   Identifier  "i.MX Accelerated Framebuffer Device"

   Driver   "vivante"

   Option   "fbdev"   "/dev/fb0"

   Option   "vivante_fbdev" "/dev/fb0"

   Option   "HWcursor"  "false"

EndSection

Section "Screen"

   Identifier   "Default Screen"

   Device   "i.MX Accelerated Framebuffer Device"

EndSection

Section "ServerLayout"

   Identifier   "Default Layout"

   Screen   "Default Screen"

EndSection

_______________

2) fbdev:

Section "Device"

   Identifier  "Generic Framebuffer Device"

   Driver   "fbdev"

   Option   "fbdev"   "/dev/fb0"

   Option   "HWcursor"  "false"

EndSection

Section "Screen"

   Identifier   "Default Screen"

   Device   "i.MX Accelerated Framebuffer Device"

EndSection

Section "ServerLayout"

   Identifier   "Default Layout"

   Screen   "Default Screen"

EndSection

as well chek /var/log/Xorg.0.log to see if there were any initialization errors that occurred at startup.

Hope this helps

0 Kudos

801 Views
shyamjithkv
Contributor III

Thank you for your time,

I am sorry i forgot to mention that i am using eglfs platform.

Kernel Version : linux-2.6-imx-imx_3.14.52_1.1.0_ga

Root File System : fsl-image-qt5-fb-imx6qdlsolo

Qt version   : Qt 5.6.1 (static build)

Note : The vivante sample program /opt/viv_samples/vdk/Toutorial1 also have this flickering issue.

Thank,

shyamjith

0 Kudos