lvgl / lv_port_renesas_ek-ra8d1

0 stars 3 forks source link

Run Project with #define LV_USE_DRAW_SW 0 does not work #9

Closed FloHomi closed 1 month ago

FloHomi commented 1 month ago

Hi, I need to run the Project in BareMetal and need to turn off "LV_USE_DRAW_SW" in lv_config.c In the old Git version it worked(but showed no performance differnce. Now, with the latest git version it shows a black screen. Dave2D is on.

...
#define LV_USE_DRAW_SW 0
...
#define LV_USE_DRAW_DAVE2D 1
...

Any Idea why this is happening?

kisvegabor commented 1 month ago

I've tested it with EK-RA8D1 and it worked with a simple label but not with lv_demo_widgets().

I suspect that the problem is that DAVE2D can't handle all the draw tasks, and if there is no SW render as a fallback, LVGL hangs.

Before jumping into fixing it, please confirm that it works on your end too with a single label.

FloHomi commented 1 month ago

I can confirm! Label ist fine. Adding a Button, breaks it.

kisvegabor commented 1 month ago

Thanks, it's should be fixed by https://github.com/lvgl/lvgl/pull/6290

FloHomi commented 1 month ago

Thank you very much 👍