Linux i.MX6: Using OpenGL with overlay frame 1buffer /dev/fb1

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

Linux i.MX6: Using OpenGL with overlay frame 1buffer /dev/fb1

2,377 Views
ganesank
Contributor III

Hi,

We are trying to use both background framebuffer (/dev/fb0) and overlay framebuffer (/dev/fb1) and enable global alpha blending. We need to use openGL in both applications but fbGetDisplayByIndex(1) fails. I am yet to dive deeper to understand the error code better. Is there any limitation in using OpenGL with Vivante graphics driver with /dev/fb1 overlay buffer? in i.MX6 Linux platforms?

Has anyone got it working with i.MX6?

Regards,

Ganesan. K

3 Replies

951 Views
rameshchandraka
Contributor III

Ganesan,

It would be thankful if you clarify below queries

1) Are you taking video via MIPI Port?

2) Whether video is interlaced / progressive? ( RGB / YUV )

3) Have you used X11 API to make Full screen?

Regards

Ramesh

0 Kudos

951 Views
ganesank
Contributor III

It worked. We could use OpenGL for both background /dev/fb0 and overlay buffers /dev/fb1. It was a simple bug that overlay buffer was neither setup nor activated. Once we activated /dev/fb1 OpenGL content started appearing on the display.

951 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Ganesan,

If your are using X11 backend I guess you should have some issues with resolutions however in meantime please check:

How to config four-screen display -blog archive

i.Mx6q dual display gles and egl

Re: i.Mx6 Vivante EGL: fbcreatewindow - how bind windowsurface to a particular framebuffer

Hope this helps

0 Kudos