Doubling of the image as a shadow on the buffer size

Doubling of the image as a shadow on the buffer size.



When turned on, the display is correct.
If you go through the menu and return to the first screen. Periodically, about once every 1 second, doubling occurs.
Image shifts by the buffer size in pixels.
If you change the buffer size, the mixing value changes.
Double buffering doesn’t help.
What could be the reason?

When I removed all animations from the project. Everything started working correctly.
Question: if there is a setting that possibly allocates more memory for animations. Maybe this is the problem?

I found a description of a similar problem when the buffer gets corrupted.

https://translated.turbopages.org/proxy_u/en-ru.ru.e20bf8e7-683e5850-57af2ec6-74722d776562/https/github.com/lvgl/lvgl/issues/4482

This is probably a problem with SquareLine, it is not generating the code correctly.

I didn’t find what the problem was. Everything I wrote above didn’t help. I switched to LVGL 9 and the problem went away.

1 Like