Enable FrameBuffer module in Ubuntu

Source: Internet
Author: User
Enable FrameBuffer module in Ubuntu. edit/etc/initramfs-tools/modules and add fbconvesafbvga16fb2 to it. edit/etc/modprobe. d/blacklist-framebuffer, comment out the following two lines: blacklistvesafbblacklistvga16fb3. modify m in/boot/grub/

Enable FrameBuffer module in Ubuntu

1. edit/etc/initramfs-tools/modules and add:
Fbcon
Vesafb
Vga16fb

2. edit/etc/modprobe. d/blacklist-framebuffer and comment out the following two lines:
Blacklist vesafb
Blacklist vga16fb

3. Modify menu. lst in/boot/grub/, find the following lines of code, and add the fb resolution parameter at the end of the line of kernel:
For example:
Title Ubuntu 8.10, kernel 2.6.27-9-generic
Uuid 328eed5f-0f89-41b8-b021-730ae3f167d1
Kernel/boot/vmlinuz-2.6.27-9-generic root = UUID = 328eed5f-0f89-41b8-b021-730ae3f167d1 ro quiet splash vga = 0x314
Initrd/boot/initrd. img-2.6.27-9-generic
Quiet

Note: vga = 0x314 is 800*600 16-bit
You can use fbset to set the terminal resolution.
| 640x480 800x600 1024x768 1280x1024
---- + -------------------------------------
256 | 0x301 0x303 0x305 0x307
32 k | 0x310 0x313 0x316 0x319
64 k | 0x311 0x314 0x317 0x31A
16 M | 0x312 0x315 0x318 0x31B

4. Refresh and restart
Sudo update-initramfs-u

5. How to determine whether the buffer is enabled
Check whether the kernel supports buffer and check whether the/proc/fb file exists. If the file exists, it indicates yes. Otherwise, it indicates no. Check whether the buffer device is activated. If the/dev/fb0 file exists, the device is activated. Otherwise, the device is not activated.

6. Install zhcon to display Chinese Characters
If the software is available in the source, enter the following command on the terminal to install the software:
$ Sudo apt-get install zhcon
Start zhcon:
Zhcon -- utf8 -- drv = fb

Appendix: play a movie on the console
Mplayer abc. mov-vo fbdev
You can also use fbdev2 for video output.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.