IMX8M - QT HMI - Flickering

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMX8M - QT HMI - Flickering

1,489 次查看
dilip
Contributor II
Hi, We have implemented QT HMI on iMX8M running Linux. Rootfs built is using the Yocto.   QT version is 5.14.2. HMI is launched with "-platform eglfs" option.We are seeing a flicker when mouse pointer is moving on UI. No flickers when mouse pointer is still. Looks like some config issue. Any suggestions? Attached is the video of same. Best Regards, Dilip
0 项奖励
回复
2 回复数

1,483 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello dilip,

I noticed that using the Qt::ApplicationAttribute::AA_UseOpenGLES flag resolved completely the flickering, however it caused a strange side effect in my case: the height of all components contained in my window became inconsistent while the main form height changed, causing a kind of wobbling during the animation, even with the correct anchoring and min and max height constraints defined. On my main interface I removed the anchoring and used layouts instead. This resolved the strange wobbling during the height change, and almost all the flicker issues.

So replacing anchors by layouts was the solution in my case, even if it works not perfectly. But at least the result is acceptable.

 

Regards

 

0 项奖励
回复

1,452 次查看
dilip
Contributor II

Hi,

We added Qt::ApplicationAttribute::AA_UseOpenGLES flag in Qt app. But flicker still occur during mouse pointer movement. QT app is launched with "-platform eglfs" as argument. As per QT website, EGLFS is a platform plugin for running Qt5 applications on top of EGL and OpenGL ES 2.0, without an actual windowing system like X11 or Wayland. Does UseOpenGLES flag affect rendering when eglsfs plugin is used?

Best Regards,

Dilip

0 项奖励
回复