Linux framebuffer (fbdev)

本文介绍了Linux帧缓冲(fbdev)的概念,它是一种图形硬件独立的抽象层,用于在不依赖特定系统库如SVGALib或X Window系统的重负载情况下显示图形。自2.1.107内核起,Linux内核便支持通用帧缓冲。最初是为了让Linux内核能在没有文本模式显示的系统如Apple Macintosh上模拟文本控制台。后来扩展到IBM PC兼容平台,并因在启动时展示Tux标志而变得流行。更重要的是,它使得在Linux控制台上显示Unicode字符成为可能。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

The Linux framebuffer (fbdev ) is a graphic hardware-independent abstraction layer to show graphics on a console without relying on system-specific libraries such as SVGALib or the heavy overhead of the X Window System . Linux kernel has generic framebuffer support since 2.1.107 kernel.

 

It was originally implemented to allow the Linux 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, where it became popular largely for the ability to show the Tux logo on boot up. More significantly, it serves as a way of displaying Unicode characters on the Linux console. Under the non-framebuffer, VGA display of the PC, comprehensive Unicode support was impossible, for VGA console fonts were limited to 512 characters.

 

Nowadays several Linux programs such as MPlayer , and libraries such as GGI , SDL , GTK+ and Qt Extended can use the framebuffer immediately, avoiding the overhead of an X server . This is particularly popular in embedded systems .

The Linux framebuffer has long suffered from its poor performance, but there is now a library DirectFB which provides a framework for hardware acceleration.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值