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

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

Open
projectitis opened this issue Dec 29, 2023 · 3 comments
Open

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

projectitis opened this issue Dec 29, 2023 · 3 comments

Comments

@projectitis
Copy link

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.

lvgl-demo-2.mp4

What am I doing wrong?

@projectitis
Copy link
Author

Notes:

@projectitis
Copy link
Author

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

FBEZ commented Jan 30, 2024

@projectitis , thank you so much!

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

No branches or pull requests

2 participants