IMX6 wayland display output to fb0 not updated with alpha

cancel
Showing results for 
Search instead for 
Did you mean: 

IMX6 wayland display output to fb0 not updated with alpha

564 Views
ArunkumarRajago
Contributor IV

Hi NXP team,

We are using IMX6 for our application development.

Kernal 3.14

wayland-weston 1.9.0

We have multiple client application(UI & NAV etc) managed by wayland and composited by weston.

In a scenario like, we need to show UI(NAV client app will not be considered for composition) with some video play controls and need to play video and will be output to /dev/fb1.

wayland display composited output to - /dev/fb0

Video image updated to  - /dev/fb1

fb0 - is confirgured with local alpha in pixel mode to blend with fb1.

and we are providing the alpha values from our application for IPU to blend with fb1.

Please refer the below link for wayland development community discussion.

desktop-shell: How to enable really alpha blending of weston background? 

"But Weston does not do transparent backgrounds. The backends instruct the
renderers to allocate an opaque framebuffer if possible, because there
is not supposed to be anything "behind" Weston. After all, Weston is in
charge of everything going to the display, so by definition there is
nothing to show through to."

Not only wayland, X11 also working like this.

To over come on this issue, NXP have any solution? Please help us on this issue.

Labels (4)
0 Kudos
1 Reply

108 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Arunkumar,

You can try the opengl alpha blending samples codes includes in the GPU sdk packages for X11.

I checked your link and I think what is mentioned here is the correct answer for this case:

https://lists.freedesktop.org/archives/wayland-devel/2016-March/027451.html 

regards

0 Kudos