-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Summary
Severe rendering degradation (LVGL v8) after migrating from Keil AC6 to ATfE
To Reproduce
- Prepare a project running the official LVGL v8 music demo.
- Baseline Test: Compile and flash the project using Keil MDK with the AC6 compiler.
Observe smooth performance. - Issue Test: Migrate the build system to CMake and compile the same LVGL source code using the ATfE toolchain linked with picolibc.
- Flash and run on the target hardware.
- Compare the FPS and CPU load.
Expected behavior
- FPS: Approximately 33 ~ 55 FPS.
- CPU Usage: Approximately 3% ~ 60%.
- Display: Smooth rendering with no visual artifacts.
Actual behavior
- FPS: Dropped to 5 ~ 12 FPS.
- CPU Usage: Increased to 87% ~ 92%.
- Display: Visible screen flickering and tearing.
Environment
- ATfE 21.1.1
- windows 11 pro for workstation 25H2 x86
[Additional context]
- The project source code logic remains unchanged between the two builds; the primary variables are the compiler and the C library.
- I suspect the issue might be related to specific compiler optimizations in ATfE or the integration efficiency of picolibc with LVGL's rendering loop.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working