LVGL on STM32MP2 Direct frame buffer DRM/KMS SDL2 with GPU

Hi,
Currently i am using STM32MP2 Board which in Linux based os installed.
I try with example code of LVGL and ST where there is 3 possible configuration to run-

  1. Configuration 1: Weston Wayland SDL2 configuration with GPU - running Successfully

  2. Configuration 2: DRM-KMS / SDL2 configuration with GPU - everything build ok but display nothing. maybe SDL2 and DRM/KMS not configured i guess!

  3. Configuration 3: Direct DRM-KMS configuration without GPU - only Touch not work properly.

i prefered Configuration 2: DRM/KMS with SDL2 GPU that i want to build.

here is the instruction i follow LVGL on STM32MP2

i also try this command to configure SDL2 : export SDL_VIDIODRIVER=kmsdrm
still remain same. SDL return Display Driver = (NULL)

If anyone has same issue or any idea please share your thought!

Thanks everyone

My Specs:
Board: STM32MP2_EVK
DIsplay: 1024x600 LCD
OS: STLinux 6.0 (Yocto based)

1 Like

Have you found a solution to your issue? I’m facing the same problem with the DRM/KMS + SDL2 configuration with GPU on an STM32MP157.

If you managed to fix it, I’d really appreciate your insights! :rocket:

unfortunately NO. i tried but failed. so i contnue with configuration 1: Weston Wayland using SDL2. but i prefer DRM/KMS with GPU.

if you find any solution please feel free to share.

Thank you