Skip to content

lvgl: Update to v6.1.2 with performance and UI optimizations #27889

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

Merged
merged 11 commits into from
May 27, 2025

Conversation

staff1010
Copy link
Contributor

Description

This PR updates the LVGL library to version 6.1.2 and implements several optimizations and bug fixes for the MKS UI interface. The changes focus on improving UI rendering performance, memory efficiency, and overall user experience.

Key changes include:

These modifications result in smoother UI transitions, faster image loading, and better memory management, particularly on TFT35 displays.

Requirements

  • Hardware with MKS UI interface
  • SPI Flash for image storage

Benefits

  • Faster UI rendering and reduced flickering
  • More efficient memory usage with optimized buffer management
  • Improved image loading performance through hash table implementation
  • Fixed image rendering bugs that caused visual artifacts
  • Reduced redundant SPI reinitialization for better performance
  • Overall more responsive user interface

Configurations

The changes are compatible with existing configurations. No special configuration is required to test these improvements.

Related Issues

staff1010 and others added 7 commits April 30, 2025 11:36
- Update LVGL library to version 6.1.2
- Fix image rendering issues (lvgl/lvgl#8166)
- Implement hash table for faster image lookup and rendering
- Optimize SPI flash operations by removing redundant initializations
- Improve memory management with adjusted buffer sizes
- Enhance drawing routines with configurable parameters
- Add image cache invalidation for better UI consistency
- Optimize flash memory usage for improved performance
@thinkyhead thinkyhead merged commit c20c6b6 into MarlinFirmware:bugfix-2.1.x May 27, 2025
66 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants