SFML community forums
Help => General => Topic started by: BMB on February 04, 2025, 10:05:15 am
-
Hi. I am looking for a way to implement a minimalist UI on an embedded system with a small display. I am running a custom kernel and have access to the frame buffer device. Can SFML render to a frame buffer? Or does it need X11? I found no docs on how to change the rendering backend (if it is an option)
-
Depends on your specific frame buffer device.
SFML supports Direct Rendering Manager (DRM), but it requires SFML to be compiled for it.
There's currently no dynamic switching between the two.
In order to use it, build SFML with the CMake option SFML_USE_DRM enabled.
This way, you won't need X11.