i.Mx6q dual display gles and egl

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.Mx6q dual display gles and egl

ソリューションへジャンプ
2,073件の閲覧回数
jiejia
Contributor III

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?

ラベル(5)
1 解決策
5 返答(返信)
985件の閲覧回数
rans
Senior Contributor I

hello

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

Ran

0 件の賞賛
985件の閲覧回数
jayaramks
Contributor III

Hi,

Try QT_QPA_EGLFS_FB environment variable.

i.mx6 dual display | Embedded Software Architecture Blog

Regards,

Jayaram

985件の閲覧回数
jiejia
Contributor III

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?

0 件の賞賛
986件の閲覧回数
jayaramks
Contributor III
0 件の賞賛
985件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Thanks for sharing the link jayaramks.

0 件の賞賛