Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
FloHomi opened this issue May 15, 2024 · 3 comments · May be fixed by lvgl/lvgl#6290
Open

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

FloHomi opened this issue May 15, 2024 · 3 comments · May be fixed by lvgl/lvgl#6290

Comments

@FloHomi
Copy link

FloHomi commented May 15, 2024

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
Copy link
Member

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
Copy link
Author

FloHomi commented May 22, 2024

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

@kisvegabor
Copy link
Member

Thanks, it's should be fixed by lvgl/lvgl#6290

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants