Jump to content

Linux framebuffer

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Fonebone (talk | contribs) at 05:06, 18 July 2016 (Fixed sentence structure to eliminate a grammar error and modified wording slightly to clarify the originally intended sentence meaning.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Knoppix booting on the framebuffer

The Linux framebuffer (fbdev) is a graphic hardware-independent abstraction layer to show graphics on a computer monitor, typically on the console.[1] The word framebuffer means a part of video memory containing a current video frame, and the Linux framebuffer means “access method to the framebuffer under the Linux kernel”, without relying on system-specific libraries such as SVGALib or another user space software.

Applications

There are three applications of the Linux framebuffer.

  • An implementation of text Linux console that doesn't use hardware text mode (useful when that mode is unavailable, or to overcome its restrictions on glyph size, number of code points etc.). One popular aspect of this is the ability to have console show the Tux logo at boot up.
  • A possible graphic output method for a display server, independent of video adapter hardware and its drivers.
  • Graphic programs avoiding the heavy overhead of the X Window System.

Examples of the third application include Linux programs such as MPlayer, links2, Netsurf, fbida,[2] and fim [3] and libraries such as GGI, SDL, GTK+, and Qt, which can all use the framebuffer directly. This use case is particularly popular in embedded systems.

There is now a library DirectFB which provides a framework for hardware acceleration of the Linux framebuffer.

There was also an in-kernel windowing system called FramebufferUI (fbui) that provides a basic 2D windowing experience with very little memory use.[4]

History

Linux has generic framebuffer support since 2.1.109 kernel.[5] It was originally implemented to allow the kernel to emulate a text console on systems such as the Apple Macintosh that do not have a text-mode display, and was later expanded to Linux's originally supported IBM PC compatible platform.

See also

References