Watch a movie on the Ubuntu character interface (enable framebuffer)

Source: Internet
Author: User
On the Internet, I went around randomly. Some of my friends said they could watch a movie under a character. I also wanted to try it! It's easy. Here we just record the process and Configuration:
1. Enable framebuffer
Determine whether framebuffer is opened and check whether/Dev has files such as FB. Ls. No! Check that menu. lst does not have the VGA parameter!
Most of the information on the Internet is about adding the VGA parameter after the kernel in menu. lst! After the restart, the FB file is automatically generated under/dev. Here, fb0 is generated!
This value may affect your splash image. My desktop resolution is 1280x800, and VGA is set to 866 here (for the reason why this value is used, refer to the table below ), the splash screen will not be distorted!
You can use fbset,/etc/FB. modes, or hwinfo to set VGA values.
-- Framebuffer reference! We recommend hwinfo! No sudo apt-Get is available
Install!
Frequently Used columns are as follows:
# Framebuffer resolution settings
# + ---------------------------------------------------------------- +
# | 640x480 | 800x600 | 1024x768 | 1280x1024 | 1280x800 | 1600x1200
# ---- + -------------------------------------------------------------
#256 | 0x301 = 769 0x303 = 771 0x305 = 773 0x307 = 775 0x31c = 796
#32 k | 0x310 = 784 0x313 = 787 0x316 = 790 0x319 = 793 0x360 = 864 0x31d = 797
#64 k | 0x311 = 785 0x314 = 788 0x317 = 791 0x31a = 794 0x361 = 865 0x31e = 798
#16 M | 0x312 = 786 0x315 = 789 0x318 = 792 0x31b = 795 0x362 = 866 0x31f = 799
# + ---------------------------------------------------------------- +
After entering the system, enter the terminal (crtl + ALT + F1. .. 6). The font display is normal and the effect is best!

2. Now you can watch a movie under a character. Just run the following command:
Mplayer-vo fbdev-zoom-x 1024-y 800 file name
-The zoom-x 1024-y 800 parameter is optional and will start in the upper left corner and be displayed in the original size!

Appendix: I have not tested several statements about how to enable framebuffer In ubuntu!
You want to enable framebuffer in Ubuntu, so that you do not enter x directly on the Character interface.
It has good visual effects and can even watch movies. However, UBUNTU does not seem to be directly added to the kernel parameters of/boot/GRUB/menu. lst.
VGA = xxx to enable framebuffer. You need to do some additional work.

Open the/etc/initramfs-tools/modules file and add:

Fbcon

Open/etc/modprobe. d/blacklist-framebuffer and find "Blacklist
Vesafb "line, add" # "before this line to comment it out.

Open/boot/GRUB/menu. lst, find a line of the corresponding kernel, and add the VGA parameter. For example, if I set the resolution to 1024x768, the corresponding VGA value is 0x317.

Kernel/boot/vmlinuz-2.6.22-14-generic
Root = UUID = 3c51a0d7-d373-473b-830e-225b6d7aafdf Ro quiet splash VGA = 0x317

Run sudo Update-initramfs.
-U update. Restart the instance. If you disable GUI logon, you can see some nice character interfaces. If not, press CTRL in the desktop environment.
Alt F1 ~ F6 to see the effect, press Ctrl Alt F7 to return to the desktop environment.

I have not modified the files except menu. lst according to the above process!
Afterwards, I also read the content of the above files, but I followed the blacklist-framebuffer content, which seems to be a blacklist! My video card is 950 integrated in this book, and the system uses the i810 driver, and this i810 is in this blacklist!

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.