This documentation is out of date!!
fbset is a system utility to show or change the settings of the frame buffer device. The frame buffer device provides a simple and unique interface to access different kinds of graphic displays.
Frame buffer devices are accessed via special device nodes located in the /dev directory. The naming scheme for these nodes is always fb__nn'' is the number of the used frame buffer device.
If no option is given, fbset will display the current frame buffer settings.
display usage information
change the video mode immediately. If no frame buffer device is given via -fb , then this option is activated by default
display the video mode settings. This is the default if no further option or only a frame buffer device via -fb is given
display all available frame buffer information
display information about what fbset is currently doing
display the version information about fbset
display the timing information as it's needed by XFree86
Frame buffer device nodes:
device gives the frame buffer device node. If no device via -fb is given, /dev/fb0 is used
Video mode database:
set an alternative video mode database file (default is /etc/fb.modes), see also fb.modes(5)
set visible horizontal resolution (in pixels)
set visible vertical resolution (in pixels)
set virtual horizontal resolution (in pixels)
set virtual vertical resolution (in pixels)
set display depth (in bits per pixel)
--geometry, -g ...
set all geometry parameters at once in the order xresyresvxres vyresdepth-g__ 640 400 640 400 4
make the physical resolution match the virtual resolution
set the length of one pixel (in picoseconds). Note that the frame buffer device may only support some pixel lengths
set left margin (in pixels)
set right margin (in pixels)
set upper margin (in pixel lines)
set lower margin (in pixel lines)
set horizontal sync length (in pixels)
set vertical sync length (in pixel lines)
--timings, -t ...
set all timing parameters at once in the order pixclockleft rightupper lowerhslen vslen-g__ 35242 64 96 35 12 112 2
set the horizontal sync polarity
set the vertical sync polarity
set the composite sync polarity
enable or disable external resync. If enabled the sync timings are not generated by the frame buffer device and must be provided externally instead. Note that this option may not be supported by every frame buffer device
enable or disable broadcast modes. If enabled the frame buffer generates the exact timings for several broadcast modes (e.g. PAL or NTSC). Note that this option may not be supported by every frame buffer device
enable or disable interlace. If enabled the display will be split in two frames, each frame contains only even and odd lines respectively. These two frames will be displayed alternating, this way twice the lines can be displayed and the vertical frequency for the monitor stays the same, but the visible vertical frequency gets halved
enable or disable doublescan. If enabled every line will be displayed twice and this way the horizontal frequency can easily be doubled, so that the same resolution can be displayed on different monitors, even if the horizontal frequency specification differs. Note that this option may not be supported by every frame buffer device
move the visible part of the display in the specified direction
To set the used video mode for X insert the following in rc.local:
fbset -fb /dev/fb0 vga
and make the used frame buffer device known to X: