/dev/fb0 imx8 plus

Hi @seasoned_geek,

I was in the middle of writing a reply but I see you have already sorted things out here.

If you’re working with the /dev/fb0 directly like this then I would forgo Weston/Wayland as you’ve done. Just to avoid any unnecessary complications.

Just some additional comments that may help. Technically the direct framebuffer driver is not supported for the i.MX8* platforms via NXP. The graphical stack instead uses the DRM/KMS system. However NXP does provide a legacy interface /dev/fb0, so you “should” be fine but keep this in mind if you see anything strange when working with /dev/fb0.

Also I see you added --privileged to your docker command to get around the permission issue you had initially. This is fine, just be aware that this essentially gives that specific container root privileges. If you want a more nuanced permissions setting you can try adding a new cgroup rule for the /dev/fb0 interface. See here for reference: linux/devices.txt at master · torvalds/linux · GitHub

Best Regards,
Jeremias