Hi all,
We are working on an i.MX8MM evk board. We are currently using the example Embedded wizard project (for libdrm and opgengl). We use the imx specific kernel tree (version 6.1.y).
When we boot the device, the Linux boot logo is nicely displayed, and we can write to the framebufer device directly (/dev/fb0 in our case). Then, when we launch the embedded wizard application, the content that we write to the framebuffer device is no longer being displayed. The embedded wizard GUI is shown instead. So far, the board always behaves the same way.
When we close the application, the behavior starts to differ. In roughly half of the cases, the screen turns black and then after a second displays the content of the framebuffer device again. In the other case, the screen also becomes black, but remains black indefinitely. When the framebuffer device is displayed, the screen shows the embedded wizard GUI again when the application is restarted. When the screen remains black, the GUI is not shown when we restart the application.
Using strace, I can see that even when the content is not shown, the application is running. We also cannot see any differences in the called syscalls for the two cases.
Has anyone seen similar behavior? Is this expected behavior?
Kind regards,
Yoshi Vermeire