I can output QT app to LVDS and HDMI. Now, I want to run dual-display gles1.1+egl (LVDS + HDMI) on an i.MX6q SabreSD. I used the GLES1.1 example from vgu.tar, and the graphics is output to /dev/fb0(HDMI). But i can't make the graphics output to /dev/fb2(LVDS).
I try to do as follow,but no graphics is displayed on /dev/fb2. The graphics still output to /dev/fb0:
EGLNativeDisplayType native_display = fbGetDisplayByIndex(fbnum); // fbnum is an integer for /dev/fb2 fbnum = 2.
So how can we bind egl surface to a particular framebuffer?
Solved! Go to Solution.
I have the same issue.
I even tried to static link /dev/fb0 to /dev/fb2
with psplash I see the image on fb2
but with qt it keeps going to fb0
Whould I search the framebuffer memory to understand what's happening ?
Thanks for replying. I try the QT_QPA_EGLFS_FB(export QT_QPA_EGLFS_FB="/dev/fb2"), but the The graphics still output to /dev/fb0. My QT version is 4.8. Would it affect?