Framebuffer Linux

What is Framebuffer in Linux?

Frame buffer is useful, if you want to change your resolution under Linux console.

The word framebuffer means a part of video memory containing a current video frame, and the Linux framebuffer means “access method to the framebuffer under the Linux kernel”, without relying on system-specific libraries such as SVGALib or another user space software.

Activating Framebuffer in Linux

The default installation of CentOS-5 comes with framebuffer support but it is not activated. To activate it edit your grub.conf and append to the kernel line with the vga parameter:

# vi /boot/grub.conf
 ...
 kernel /boot/vmlinuz-2.6.18-194.32.1.el5 ro root=LABEL=/ vga=0x305
 ...

After that reboot your machine and you will have a commandline resolution of 1024x768. Or you use one of these values:

 0x307   1280x1024
 0x305   1024x768
 0x303    800x600
 0x301    640x480

If you use lilo as your bootloader, then expand the configuration file with this option for a resolution of 1024x768:

# vi /etc/lilo.conf
...
vga=791
...

Or use another value:

vga=791 1024x768
vga=788  800x600
vga=785  640x480
Then reinstall lilo and reboot:

# lilo
Added Linux
...
# shutdown -r now
---

Linux Tips

See Also
File (De) Compression

Have a Linux Problem
Linux Forum - Do you have a Linux Question?

Linux Books
Linux Certification, System Administration, Programming, Networking Books

Linux Home: Linux System Administration Hints and Tips

(c) www.gotothings.com All material on this site is Copyright.
Every effort is made to ensure the content integrity.  Information used on this site is at your own risk.
All product names are trademarks of their respective companies.
The site www.gotothings.com is in no way affiliated with or endorsed by any company listed at this site.
Any unauthorised copying or mirroring is prohibited.