Managed to get a basic Kotlin Native program ( <ht...
# gui
Managed to get a basic Kotlin Native program ( ) working on the Raspberry Pi 4 that uses the LVGL library ( ), and the Linux Frame Buffer (,typically%20on%20the%20system%20console. ) as the backend 🎉. The two main issues with the program are the graphical corruption caused by the mouse cursor, and the resolution (1280x720) isn't fully utilized (only half of the screen is used). Memory usage is around 4.2 MB (reserved memory) with the old Kotlin Native memory model. Release binary size is around 1.2 MB (all libraries are statically linked). I am wondering if there are some Kotlin team members interested in using this project as a use case (Embedded Linux GUIs) for the new Kotlin Native memory model (via the experimental tracing GC). Here are some YouTube videos that will give you a basic idea of what the LVGL library (originally designed for Micro Controllers but also supports Embedded Linux devices) is capable of: • 100MHz oscilloscope with Raspberry pi PICO, micropython and LVGL (

) • LVGL Raspberry Pi SDL2 (

) • Raspberri Pi & radioberry trancever using LVGL GUI (

) • IDO SMLCD72 V1 2EC - board certification review | LVGL (

) • LVGL Printer Demo GUI on STM32F769 Discovery (800 x 480) (

) • LVGL Widgets Demo GUI on STM32F769 Discovery (800 x 480) (

) • tft lvgl ui demo (

) • RepPanel Demo 1 (

K 3
Average CPU usage (on all cores) is around 1%.
Display resolution (incl colour depth) will significantly impact the amount of RAM reserved by the program.
Please @napperley, what does the RAM usage look like?
There are some issues that need to be resolved first before providing more in depth memory usage data:
Oh, OK I see.