IT lexicon › Infra & Ops › DirectFB

DirectFB

Infra & Ops På svenska → Updated: 2026-10-09
More info
Creator
Denis Oliver Kropp
Released
Type
Graphics library with windowing for the Linux framebuffer
License
LGPL

The graphics library that gave embedded Linux windows, alpha blending and hardware acceleration straight on the kernel framebuffer, with no X server in the way.

Denis Oliver Kropp started DirectFB in 2000 for set-top boxes and appliances where an X server was too big and too slow. The library sits thinly on top of Linux's fbdev interface and adds what the framebuffer lacks: surfaces, layers, alpha blending, clipping, input from keyboards, remote controls and touchscreens, and a window stack so several programs can share the screen. Hardware acceleration went through its own drivers for Matrox, ATI, Intel and the graphics cores inside the boxes' system-on-chips; without a driver everything fell back to software. A component called Fusion let several processes share one DirectFB core.

Most of what one could want was built on top: a GTK backend, a Qt plugin, SDL support and XDirectFB, an X server running inside a DirectFB window. Through the 2000s it sat in a great many televisions and set-top boxes. The project went quiet after version 1.7.7 in 2015, the website disappeared, and what remains is the DirectFB2 fork and a niche that Wayland compositors running directly on DRM/KMS now cover. The same need for a small X-free graphics stack produced KDrive at about the same time, which chose to shrink X instead.

← Back to the lexicon