fbset — Set a framebuffers video mode and timings.
fbset [-s, --show] [-i, --info] [-d, --dev device] [-x, --xres x] [-y, --yres y] [--depth depth] [--list] [--help] [--version] mode
-d, --deviceThe output device on which to set the parameters. This defaults to (fb0)
-s, --showShow current settings this is the default if no other option is set.
-i, --infoShow framebuffer information.
-x, --xresx resolution to set.
-y, --yresy resolution to set.
--depthThe depth in bits per pixel (1,2,4,8,16 and 32 are the common values).
--listList all the built in modes.
--helpfbset short helptext and exit
--versionfbset commands version and exit
The fbset tool is used to set a framebuffers video mode and timings. The tool has an internal list of suitable default video modes which can be selected by name.
Example 17.2. Using the fbset command
This shows using the fbset command to set an 800 x 600 mode at 60Hz refresh and 16 bits per pixel.
>fbset --depth 16 800x600-60
>fbset --show
mode "800x600-60"
# D: 40.000 MHz, H: 37.878 KHz, V: 60.315 Hz,
geometry 800 600 0 0 8
timings 25000 88 40 23 1 128 4
endmode
>