Skip to content
LVGL 9.6: Final V9 Release Delivers Major Rendering Gains and Prepares for V10 Breaking Changes
Fundamentals 7 min read

LVGL 9.6: Final V9 Release Delivers Major Rendering Gains and Prepares for V10 Breaking Changes

LVGL 9.6.0 marks the last stable V9 release with a rewritten software renderer boosting performance 20-25% on multiple MCUs, new Arm SVE2 and Wayland DMA-BUF backends, architectural refactoring including public/private header separation and Kconfig unification, test coverage rising to 82.23%, and a clear deprecation roadmap for V10 removing lv_list, lv_win, lv_menu, lv_file_explorer, and rlottie binding.

IoT Full-Stack Technology
IoT Full-Stack Technology
IoT Full-Stack Technology

Rendering Performance Improvements

The software renderer has been rewritten to process blending and transform paths per word instead of per pixel, yielding gains without GPU or SIMD. Benchmarks show average render time reductions of 25% on Renesas RA8D2, 22% on NXP i.MX RT700, and 20% on NXP FRDM-MCXN947.

Key scenario improvements: alpha-blended image rendering speeds up 76% on RA8D2 and 60% on RT700. On ESP32-P4, rotating an ARGB image drops from 33 ms to 11 ms, raising frame rate from 27 FPS to 60 FPS.

Arm SVE2 acceleration is added for the RGB888 blender (Armv9-A cores), enabled via LV_USE_DRAW_SW_ASM = LV_DRAW_SW_ASM_SVE2. This completes the set of SIMD backends: NEON, Helium, RISC-V V, and SVE2.

A new Wayland DMA-BUF backend copies finished frames directly into DMA-BUF buffers and attaches them via linux-dmabuf, eliminating texture uploads and GPU involvement. On Renesas RZ/G2L (1280×720) frame rate rises from 32 FPS to 44 FPS (+38%) and flush time falls from 19 ms to 12 ms.

Preliminary integration of the SiFli EPIC 2D accelerator for the SF32 series adds a draw unit covering fill, blend, image, border, label, and layer operations with an OS adaptation layer. Documentation is not yet available and performance does not yet match SiFli's out-of-tree solution.

Architectural Refactoring

Public/private header separation: Public API moves to include/lvgl/; src/ becomes private. Old include paths still compile but emit #warning. Internal types are accessible via lvgl_private.h or LV_USE_PRIVATE_API.

Kconfig as single configuration source: lv_conf_template.h, internal default headers, and CONFIG_* bridge files are all generated from one Kconfig tree, eliminating inconsistencies between lv_conf.h, Kconfig, and -D defines. Hand-written lv_conf.h remains fully supported.

Unified parameter checks: LV_CHECK_ARG replaces scattered asserts and silent dereferences, covering ~2900 sites across 168 source files, enabled by default.

Dependency auto-fetching and system library integration: LVGL uses find_package and pkg-config to resolve dependencies, building missing ones from source. Installation provides lvgl.pc and lvglConfig.cmake, with preset configs for SDL2, Wayland, and DRM; Ubuntu users can install via Launchpad PPA.

Quality and Testing

Test coverage increases from 78.66% to 82.23% (+3.57 percentage points). Branch coverage reaches 62.59%, function coverage 83.7%.

Other Improvements

Fonts: text_leading_trim trims line-box leading for tighter LV_SIZE_CONTENT labels; FreeType variable fonts support arbitrary axis instantiation.

Widgets: glTF models can be loaded independently and shared among multiple viewers; dedicated state APIs (e.g., lv_obj_set_checked()) replace generic flag APIs.

Drivers: Wayland buffers keyboard input; DRM adds libdrm fallback; fbdev gains L8 support.

V10 Removal Plan

All items marked LV_DEPRECATED in v9.6 will be removed in v10.0. They still compile in v9.6 but emit #warning, making v9.6 the recommended version for upgrading and cleaning code.

Items to be removed in V10

Widgets: lv_list → replaced by flex-column example

Widgets: lv_win → replaced by flex-column example

Widgets: lv_menu → replaced by basic widget navigation example

Widgets: lv_file_explorer → replaced by table-based file browser example

Bindings: rlottie ( lv_lottie widget) → no replacement listed

These five items are deprecated in v9.6 and will be fully removed in v10.0.

Ongoing Work for V10

SiFli EPIC draw unit: The preliminary integration in v9.6 will continue into v10, with documentation added and remaining performance optimizations completed.

Configuration migration: LV_COLOR_DEPTH replaced by LV_COLOR_FORMAT_DEFAULT; LV_ASSERT_HANDLER_INCLUDE replaced by LV_ASSERT_CUSTOM_INCLUDE; custom include patterns unified to LV_*_USE_CUSTOM_INCLUDE + LV_*_CUSTOM_INCLUDE pairs.

Breaking changes: lv_array, lv_tree, SVG structs, and event list structs move to private API; lv_drm no longer exposes xf86drmMode.h from public headers. Using these internal types requires including lvgl_private.h or setting LV_USE_PRIVATE_API.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

rendering optimizationAPI deprecationembedded GUILVGLKconfigsoftware rendererV10 migrationV9.6
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.