The Linux console framebuffer allows you to
achieve higher screen resolutions within your Linux console. However,
as of this writing, Ubuntu 7.10 Gutsy by default does not load the
required kernel modules. By passing the “vga=XXX” kernel option without
these modules loaded, you are left with a blinking cursor in the
upper-left hand corner of your screen. Here’s how to get the console
framebuffer in working order.
1. Ensure the initrd image includes framebuffer support by adding “fbcon” , “vesafb” and “vga16b” to /etc/initramfs-tools/modules.
$ echo "vesafb" | sudo tee -a /etc/initramfs-tools/modules
$ echo "fbcon" | sudo tee -a /etc/initramfs-tools/modules
$ echo "vga16fb
"| sudo tee -a /etc/initramfs-tools/modules
2. Remove (or comment out) “vesafb” and "vga16fb
"from blacklisted modules in /etc/modprobe.d/blacklist-framebuffer.
#blacklist vesafb
#blacklist vga16fb
3. Add the desired framebuffer variable to the default kernel
options section in /boot/grub/menu.lst. For 1024×768, the string should
look like the following.
#defoptions=quiet splash vga=791
#comment:vga=0×314 as 800*600 16it
# |640x480 800x600 1024x768 1280x1024
#256 | 0x301 0x303 0x305 0x307
#32k | 0x310 0x313 0x316 0x319
#64k | 0x311 0x314 0x317 0x31A
#16M | 0x312 0x315 0x318 0x31B
4. Update GRUB.
$ sudo update-grub
5. If Usplash is configured for a higher resolution than your
framebuffer, it will appear off-centered. So adjust /etc/usplash.conf
to use the same resolution.
xres=1024
yres=768
6. Update initramfs to rebuild the initrd image.
$ sudo update-initramfs -u
After rebooting, your usplash will appear as normal and you can
Ctrl+Alt+F1 to a console after your X environment has finished loading.
The text in your console should now appear much smaller and will be
much easier to use for large amounts of console work.
相关推荐
framebuffer中显示JPEG或BMP图片,文档中有源码,可以直接编译运行
该资源实现了对framebuffer进行编程在命令行界面上进行编程的实例.
Linux Framebuffer应用编程——jpeg显示在RGB888 Lcd显示屏 包含源代码.c文件,运行在Arm9开发板的可执行文件,一张jpg图像(分辨率800*533) 相关原理详见【正点原子文档】I.MX6U嵌入式Linux C应用编程指南V1.4 ...
在Framebuffer上实现的俄罗斯方块,可在嵌入式系统上实现,本人也试验过在Ubuntu虚拟机上实现,同时里面也有在窗口中实现的部分
linux framebuffer编程,显示BMP图片
android下读取framebuffer的内容 程序运行就会把framebuffer的内容保存在/sdcard/123.raw下面, 要想打开还需要在文件上插入如bitmap的文件头即可
全面的framebuffer详解
framebuffer驱动全篇
在嵌入式Linux系统上操作framebuffer显示BMP图像
在树莓派下,通过framebuffer的方式,结合spi驱动,对屏幕进行显示
一个嵌入式linux Framebuffer 编程操作的实例,资源来自网上,供大家学习!
详细的介绍了framebuffer的汉字显示原理。
基于imx6q 的virtual framebuffer 官方例子,简称vfb,是imx6q芯片多屏技术的主要驱动
QUALCOMM 平台 android framebuffer 命令行测试工具 源代码
自己修改的luvcview代码,基于framebuffer显示的摄像程序,适用于无图形系统的嵌入式环境,能够实现照相、录像
Linux下FrameBuffer直接写屏
framebufferframebufferframebufferframebuffer
framebuffer编程,在linux系统下实现对显示屏的控制
framebuffer测试程序,帮你了解framebuffer流程