Please help me to run LVGL with GPU rendering (wayland/ DRM/SDL) Opengles

Hi
Last few days i worked hard on LVGL to porting to my STM32MP2-DK board with different configurations. STM32MP2-DK board currently running STLINUX (latest) and comes with weston wayland by default. an build cross compile with STLinux SDK.

now i fade up as in every aspect i failed to run lvgl app with gpu.

i use LVGL port eclipse repository and lv demo widget by default.

What do you want to achieve?

My main goal is to use GPU based rendering with LVGL as STM32MP2 has GPU driver EGL, OPENGLESv2.
mostly preffered configuration is: WAYLAND with OPENGLES and EGL rendering or DRM/KMS with OPENGLES and EGL.

What have you tried so far?

I have tried every configuration that exits on lvgl.conf. i clone lv_port_eclipse which lvgl is v9.4.

  1. WAYLAND - works perfeclty with default setting almost same as SDL. with LV_USE_OPENGES not work

  2. SDL - work well avg fps-30 40% CPU load 16 ms. with LV_USE_OPENGES not work

  3. DRM - Work well with GBM configuration but with Opengles and EGL not work. i have attached error log while run the app

Screenshot and/or video

in the end also want to know that is LVGL app possible to build with GPU rendering like OPENGLES and EGL for STM23MP2 board?
or for now it limited to Software rendering on CPU.

Thank you everyone.
DRM EGL-OPENGLES.txt (31.0 KB)

Environment

  • MCU/MPU/Board: STM32MP2-DK (MPU)
  • LVGL version: lvgl v9.4 (lv_port_eclipse)

Hi, from the logs it seems like you’re using some unsupported color format.

What color format are you using?