wireless-tag-com / ZX2D10GE01R-V4848

The Unlicense
72 stars 19 forks source link

The demo runs, but the screen is garbled/messed up #2

Open projectitis opened 10 months ago

projectitis commented 10 months ago

I have managed to compile the application. The demo runs all the way through and displays the stats at the end of the demo ok.

lvgl-done-2

However, as the demo runs, the screen is garbled. You can see bits and pieces of the LVGL demo, but about half the display is full of random garbage.

https://github.com/wireless-tag-com/ZX2D10GE01R-V4848/assets/32183808/e8574bc1-0182-46ea-9892-38fb84450dc9

What am I doing wrong?

projectitis commented 10 months ago

Notes:

projectitis commented 10 months ago

The problem can be solved by forcing the entire screenbuffer to be redrawn every time. I suspect that __qsmd_rgb_disp_flush is not actually correct and will continue to investigate.

However, to solve it, in screen.c add:

lv_disp_drv_init(&disp_drv);
disp_drv.full_refresh = 1; // Add this line directly below the line above
FBEZ commented 9 months ago

@projectitis , thank you so much!