C.2. Configuring the Framebuffer Device Driver

Once you've found the right video driver for your hardware, you'll need to configure it for your desired video mode.

C.2.1. The vesafb Driver

Since the vesafb driver relies on real-mode BIOS functions for initialization, it must be built into the kernel and configured at boot time. This configuration is specified at the kernel command line and may be provided at the boot prompt or in the bootloader's configuration file. For the vesafb driver, the kernel command line should include the following:

video=vesafb vga=<Linux video mode>

The Linux video mode is a number that specifies a particular resolution and number of bits per pixel. This number is formed by adding 0x200 to the video mode numbers specified ...

Get Linux Appliance Design now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.