I'm currently working on a Raspberry Pi (CM4) based auto infotainment system which uses SDL2 to display the main menu interface. The Pi has to boot within a few seconds; I've tried Pi Lite and that takes about 20 to fully boot and start the SDL2 application. I have also tried Buildroot, and while that is much faster (~4sec), only the backend part of the application works. UART opens to communicate with other modules without trouble, so the application works, but the UI is not displayed.
I will admit to being a bit of a Pi noob, this is my first time working with Buildroot. I've done several Google searches and can't seem to find any information. I've tried enabling X11, kmsdrm (though I couldn't figure out how to enable that option directly in SDL2), nothing has worked. Has anyone successfully tried this? Do you know what packages need to be enabled and where they are located in menuconfig? Are there any commands I need to run before I start the SDL2 application?
Edit: I had the same issue on Pi Lite until I installed libsdl2-dev on top of libsdl2-2.0-0. Not sure if that's what fixed it, but is it possible that that added a package for rendering?
Thanks in advance!
I will admit to being a bit of a Pi noob, this is my first time working with Buildroot. I've done several Google searches and can't seem to find any information. I've tried enabling X11, kmsdrm (though I couldn't figure out how to enable that option directly in SDL2), nothing has worked. Has anyone successfully tried this? Do you know what packages need to be enabled and where they are located in menuconfig? Are there any commands I need to run before I start the SDL2 application?
Edit: I had the same issue on Pi Lite until I installed libsdl2-dev on top of libsdl2-2.0-0. Not sure if that's what fixed it, but is it possible that that added a package for rendering?
Thanks in advance!
Statistics: Posted by 2014CivicMinded — Tue Nov 11, 2025 3:18 am