Created attachment 2525 [details] Photo of the buffer corruption in action When resizing a wayland client using wl_egl_window_resize(), the buffer for that frame gets corrupted. This seems to be a bug in the Vivante GPU driver. Tested on dizzy on on fido, reproducible in both. A workaround of this issue would be to destroy and re-create the window with a new size, but then we run into a crash, see https://community.freescale.com/message/496179. This is the second project I've been working on that had this problem - I assume resizing a window is quite a common operation, so this bug should be visible by many people using Wayland. Since only the first one or two frames after a resize are affected, this mostly is a problem for applications that display mostly static content, such as user interfaces.
Created attachment 2526 [details] Minimal testcase to reproduce the problem
The board I'm testing with is imx6qsabresd, using core-image-weston from fsl-community-bsp-platform (manually added "DISTRO_FEATURES_remove = "x11 directfb"" to local.conf to work around weston build failing, but otherwise pristine setup). The attached testcase contains both a binary and the source code for it, including a README on how to build the binary from source.
According to https://community.freescale.com/message/603901, this is fixed in driver version 5.0.11.p7, which AFAIK is contained in Yocto jethro.
Just tested with Yocto Jethro, which has GPU driver version 5.0.11.p7.4. The problem persists.
Is it possible for you to try to reproduce in current release?
I can confirm the bug with Krogoth. I am not able to test any newer releases at the moment.
(In reply to comment #6) > I can confirm the bug with Krogoth. I am not able to test any newer releases > at the moment. Great; it would be good if you could test with rocko and master.
I can't test with a newer Yocto version right now, so closing as RESOLVED/OBSOLETE as instructed by the bug triage email.