Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Linux framebuffer

From Wikipedia, the free encyclopedia
Abstraction layer for Linux kernel to show graphics on the system console
This article has multiple issues. Please helpimprove it or discuss these issues on thetalk page.(Learn how and when to remove these messages)
icon
This articlerelies excessively onreferences toprimary sources. Please improve this article by addingsecondary or tertiary sources.
Find sources: "Linux framebuffer" – news ·newspapers ·books ·scholar ·JSTOR
(March 2011) (Learn how and when to remove this message)
icon
This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Linux framebuffer" – news ·newspapers ·books ·scholar ·JSTOR
(March 2010) (Learn how and when to remove this message)
(Learn how and when to remove this message)
Knoppix booting on the framebuffer

Theframebuffer subsystem in theLinux kernelfbdev is used to showgraphics on acomputer monitor, typically on thesystem console.[1]

It was designed as a hardware-independentAPI to giveuser space software access to theframebuffer (the part of a computer'svideo memory containing a currentvideo frame) using only theLinux kernel's own basic facilities and itsdevice file system interface, avoiding the need for libraries likeSVGAlib which effectively implemented video drivers in user space.

In most applications, fbdev has been superseded by the LinuxDirect Rendering Manager (DRM) subsystem, but as of 2022, severaldrivers provide both DRM and fbdev APIs for backwards compatibility with software that has not been updated to use the DRM system, and there are still fbdev drivers for older (mostly embedded) hardware that does not have a DRM driver.[2]

Applications

[edit]

There are three applications of the Linux framebuffer:

  • An implementation of textLinux console that doesn't use hardwaretext 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 theTux logo at boot up.
  • A graphic output method for adisplay server, independent ofvideo adapter hardware and its drivers.
  • Graphic programs avoiding theoverhead of theX Window System.

Examples of the third application include Linux programs such asMPlayer,links2,NetSurf,w3m, fbff,[3] fbida,[4] and fim,[5] and libraries such asGLUT,SDL (version 1.2),GTK, andQt, which can all use the framebuffer directly.[6] This use case is particularly popular inembedded systems.

DirectFB2 is another project aimed at providing a framework for hardware acceleration of the Linux framebuffer.

There was also a windowing system called FramebufferUI (fbui) implemented in kernel space that provided a basic two-dimensional windowing experience with very little memory use.[7]

History

[edit]

Linux has had generic framebuffer support since the 2.1.109 kernel.[8]

It was originally implemented to allow the kernel to emulate a text console on systems such as theApple Macintosh that do not have atext-mode display, and was later expanded to theIBM PC compatible platform.

See also

[edit]

References

[edit]
  1. ^The Frame Buffer Device, Linux Kernel Documentation
  2. ^"Developer Steps up Wanting to Maintain Linux's FBDEV Subsystem".
  3. ^fbff media player repository,GitHub
  4. ^fbi/fbida image viewer homepage
  5. ^FIM (Fbi IMproved) image viewer homepage
  6. ^HiGFXback (History of graphics backends) project with the Linux Framebuffer graphics backend,GitHub
  7. ^Framebuffer UI (fbui) in-kernel Linux windowing system,GitHub
  8. ^Buell, Alex (5 August 2010)."Framebuffer HOWTO".tldp.org. Archived fromthe original on 10 December 2023 – via Internet Archive.

External links

[edit]
Organization
Kernel
Support
People
Technical
Debugging
Startup
ABIs
APIs
Kernel
System Call
Interface
In-kernel
Userspace
Daemons,
File systems
Wrapper
libraries
Components
Variants
Virtualization
Adoption
Range
of use
Adopters
Retrieved from "https://en.wikipedia.org/w/index.php?title=Linux_framebuffer&oldid=1322282186"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp