Ubuntu8.10 enable the FrameBuffer module on the console

Source: Internet
Author: User
I want to enable Buffer in Ubuntu, so that the visual effects can be better without entering the graphic interface directly on the Character interface, or even watching movies. However, in ipvtuserver8.10, you cannot directly add vga = xxx to the kernel parameters of/boot/grub/menu. lst to enable the Buffer. You need to do some additional work. 1. edit/etc/initramfs-tools/modules and add: fbconve

I want to enable Buffer in Ubuntu, so that the visual effects can be better without entering the graphic interface directly on the Character interface, or even watching movies. However, Ubuntu server 8.10 does not seem to allow you to directly add vga = xxx to the kernel parameters of/boot/grub/menu. lst to enable Buffer. You need to do some additional work.

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

2. edit/etc/modprobe. d/blacklist-buffer 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 = 0x314Or vga = 0x0317 indicates 1024*768 16-bit color Configuration
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/proc/fb file exists at http://ubuntuone.cn/. 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

7. Play a movie on the console
For example:
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.