fbset(1)
โจ NAME โจ
fbset โ show and modify frame buffer device settings ๐
yep bestie, that's fbset(1) from the Linux frame buffer utils, and she is here to either show you your frame buffer's whole situation or change it. let's get into it ๐ซถ
๐ธ SYNOPSIS ๐ธ
fbset [options] [mode]
๐ซ DESCRIPTION ๐ซ
okay so. fbset is a system utility that shows or changes the settings of the frame buffer device. and what's a frame buffer device, you ask? it's the thing that gives you a simple and unique interface to access different kinds of graphic displays. iconic behavior honestly.
Frame buffer devices are accessed via special device nodes that live in the /dev directory. The naming scheme for these nodes is always fb<n>, where n is the number of the used frame buffer device. no cap, always that pattern.
fbset uses its own video mode database, located in /etc/fb.modes. An unlimited number of video modes can be defined in this database. For further information see fb.modes(5).
๐ OPTIONS ๐
If no option is given, fbset will display the current frame buffer settings. that's the default vibe, periodt.
๐ General options
--help,-hโ display a usage information--testโ don't change anything, just test whether the mode is valid--show,-sโ display the video mode settings. This is the default if no further option or only a frame buffer device via-fbis given--info,-iโ display all available frame buffer information--verbose,-vโ display information about whatfbsetis currently doing--version,-Vโ display the version information aboutfbset--xfree86,-xโ display the timing information as it's needed by XFree86
๐ฆ Frame buffer device nodes
--all,-aโ change all virtual consoles on this device-fb <device>โ device gives the frame buffer device node. If no device via-fbis given,/dev/fb0is used
๐ Video mode database
-db <file>โ set an alternative video mode database file (default is/etc/fb.modes), see alsofb.modes(5)
๐ Display bitfield colors
-rgba <red,green,blue,alpha>โ each in length or length/offset color format
๐ง Display geometry
-xres <value>โ set visible horizontal resolution (in pixels)-yres <value>โ set visible vertical resolution (in pixels)-vxres <value>โ set virtual horizontal resolution (in pixels)-vyres <value>โ set virtual vertical resolution (in pixels)-depth <value>โ set display depth (in bits per pixel)-nonstd <value>โ select nonstandard video mode--geometry,-g ...โ set all geometry parameters at once in the order<xres><yres><vxres><vyres><depth>, e.g.-g 640 400 640 400 4-matchโ make the physical resolution match the virtual resolution
โญ Display timings
-pixclock <value>โ set the length of one pixel (in picoseconds). Note that the frame buffer device may only support some pixel lengths-left <value>โ set left margin (in pixels)-right <value>โ set right margin (in pixels)-upper <value>โ set upper margin (in pixel lines)-lower <value>โ set lower margin (in pixel lines)-hslen <value>โ set horizontal sync length (in pixels)-vslen <value>โ set vertical sync length (in pixel lines)--timings,-t ...โ set all timing parameters at once in the order<pixclock><left><right><upper><lower><hslen><vslen>, e.g.-t 35242 64 96 35 12 112 2
๐ Display flags
-accel {false|true}โ set hardware text acceleration enable-hsync {low|high}โ set the horizontal sync polarity-vsync {low|high}โ set the vertical sync polarity-csync {low|high}โ set the composite sync polarity-gsync {false|true}โ set synch on green-extsync {false|true}โ 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-sync <value>โ set custom sync flags. If specified, this value is bitwise or-ed to the other sync flags. This is useful for drivers that use custom sync flags-bcast {false|true}โ 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-laced {false|true}โ 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-double {false|true}โ 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
๐ซถ Display positioning
-move {left|right|up|down}โ move the visible part of the display in the specified direction-step <value>โ set step size for display positioning (in pixels or pixel lines), if-stepis not given display will be moved 8 pixels horizontally or 2 pixel lines vertically
๐ฅ EXAMPLE ๐ฅ
To set the used video mode for X, insert the following in rc.local:
fbset -fb /dev/fb0 640x480-60
and make the used frame buffer device known to X:
export FRAMEBUFFER=/dev/fb0
๐ FILES ๐
/dev/fb*/etc/fb.modes
๐ฅ SEE ALSO ๐ฅ
fb.modes(5), fbdev(4), /usr/share/doc/fbset/FAQ.gz
๐ AUTHORS ๐
- Geert Uytterhoeven
<Geert.Uytterhoeven@cs.kuleuven.ac.be> - Roman Zippel
<zippel@fh-brandenburg.de>โ man files
and that's the whole page bestie, you ate that ๐ซถ this was version 2.1, dated 2010-04-12, and she's been serving frame buffer realness ever since. mwah ๐ โจ
๐ฆ where this page comes from
- debian bookworm: fbset 2.1-33
- debian trixie: fbset 2.1-34
- nixos 26.05: fbset 2.1
- nixpkgs unstable: fbset 2.1
- ubuntu jammy: fbset 2.1-32build3
- ubuntu noble: fbset 2.1-33build1
- ubuntu questing: fbset 2.1-34
- ubuntu resolute: fbset 2.1-35
- ubuntu stonking: fbset 2.1-35
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms