lvgl
lvgl copied to clipboard
NuttX + FB device (SAMA5D2) - rendering problem/tearing
LVGL version
9.1.0
What happened?
Having moved from LVGL V8 to V9 I am seeing issues with rendering basic graphics to an 800x480 framebuffer using NuttX.
I have created a very simple screen with just a spinner, but the leading/trailing edges of the spinner "tear" with horizontal lines much of the time.
https://github.com/lvgl/lvgl/assets/56726697/2e24582b-11a1-49e2-8078-c3567bbabb77
I have played around with every rendering option I can find (via Kconfig) but it is stubbornly consistent, and occurs for ARGB888 and RGB565. I am at a loss and am thinking it might be a problem with the LVGL+NuttX framebuffer implementation?
Neither V8 nor V9 use double buffering as far as I can tell, but is looks like it is almost like the rendering being done to the buffer at the same time as it is being written to the LCD. Or
LVGL demos suffer the same issue, but they didn't with V8 so I don't think its my (custom) board nor the NuttX RTOS itself (as opposed to the NuttX LVGL port)?
I have run out of ideas but am very happy to try things - I really don't want to go back to LVGL V8 given all the function name changes etc as that is a PITA!!
How to reproduce?
No response