I have some embedded Linux ARM chip with LCD display on frame-buffer. I connect to chip with serial console. I can access frame-buffer directly with low-level commands.

However I need to draw some figures or even sprites. I am searching something. Can for example SDL run on frame-buffer without X, or there is similar graphical libraries?

High performance video like speed is not needed, because probably animation will not be used, but GUI should be at least usable.

Ncurses was useful for text interface, but I need some graphical interface.


1 Answer 1


DirectFB might be what you are looking for. If you needed higher level API, SDL should be able to use it as its backend.

  • Something real fishy is on the DirectFB site now, was just reading and very confused because important link/info is mentioned they're all to porno sites?! I think they got hacked.. Aug 14, 2021 at 5:10
  • Probably went out of business, I've replaced the link with archived version.
    – peterph
    Oct 19, 2021 at 22:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .