Hi.
I am using simple QML application, so there are no openGL/EGL calls.
Browsing the web, I found out that Qt5 eglfs platform plugin allows definition of variable QT_QPA_EGLFS_FORCEVSYNC, which relies on kernel vsync ioctl-based implementation coded in mxc IPUv3 framebuffer driver. So I changed my setup this way:
export FB_MULTI_BUFFER=1
export QT_QPA_EGLFS_FORCEVSYNC=1
which mean: use 1 framebuffer but enable vsync. This setup seems to work, because framerate is limited to vsync, framebuffer virtual resolution is same as real resolution (so 1 fb is used actually). Anyway, when my QML application plays some animations, I see graphical artifacts on LCD.
So, my question are:
1) how can I enable vsync, keep one framebuffer and avoid artifacts?
2) why in case of FB_MULTI_BUFFER=2 (2 FBs and vsync enabled) there are no such artifacts?
Regards,
Federico