VBETOOL(8)
π VBETOOL β the manual page, but make it a group chat
okay bestie, sit down, we're talking about vbetool, a section 8 (system administration) command. yes it's giving "why is this in the scary section" energy, and yes, you're gonna wanna read the warnings before you type anything, no cap. π
β¨ NAME β¨
vbetool β run real-mode video BIOS code to alter hardware state
like, actually poke the video BIOS. the real one. live. π₯
π SYNOPSIS π
vbetool [[vbestate save|restore]|[vbemode set|get]|[vgamode]|[dpms
on|off|standby|suspend|reduced]|[post [romfile]]|[vgastate
on|off]|[vbefp panelid|panelsize|getbrightness|setbrightness|invert]]
π DESCRIPTION π
so. vbetool uses lrmi in order to run code from the video BIOS. that's the whole vibe. it reaches into the BIOS and makes it do stuff.
currently, it is able to:
- alter DPMS states π
- save/restore video card state πΎ
- attempt to initialize the video card from scratch π§
that last one is genuinely main character energy, not gonna lie.
π OPTIONS π
vbetool takes the following options:
vbestateβvbetoolwill use the VESA0x4f0fextensions to save or restore hardware state. this gets sent to, or read from,stdin. π«Ά
β οΈ this information is highly hardware specific β do not attempt to restore state saved from a different machine. like, do not. also, this command will not work unless you are at a text console, because it interferes badly with X. π
dpmsβvbetoolwill use the VESA0x4f10extensions to alter the power management state of your screen."On","off","standby","suspend"and"reduced"are acceptable further options and determine which state will be activated. πvbemodeβvbetoolwill get or set the current VESA mode."get"will return the current mode number onstdoutβ"set"will set the mode to the next argument. β¨vgamodeβvbetoolwill set the legacy VGA mode to the following numeric argument. π’postβvbetoolwill attempt to run BIOS code located atc000:0003. this is the code run by the system BIOS at boot in order to initialise the video hardware. π§
π note that on some machines (especially laptops), not all of this code is present after system boot β as a result, executing this command may result in undefined behaviour. so like, yolo but make it risky.
this command must be run from a text console, as it will otherwise interfere with the operation of X. π₯οΈ
this command takes an optional argument which is the location of a file containing a ROM image. if provided, this image will be mapped to the c000 segment and used instead of the system's video BIOS. πΎ
vgastateβvbetoolwill enable or disable the current video card. on most hardware, disabling will cause the hardware to stop responding until it is re-enabled. you probably don't want to do this if you're using a framebuffer. π«£vbefpβvbetoolwill execute a VESA flat panel interface call.panelidwill provide information about the panel πpanelsizewill provide the size of the panel πgetbrightnesswill provide the current screen brightness as an integer πsetbrightnessaccepts an integer as an argument and will set the screen brightness to that πinvertwill invert the colours of the screen π
π BUGS π
- switching
dpmsmodes may interact badly with X on some systems. π¬ - the
vbestatecommand may behave in strange ways. π - the
postcommand may result in the execution of arbitrary code that happens to be lying around in the area where chunks of your video BIOS used to be. πππ (fr fr, read that one twice) - the VESA specification does not require that
"vbemode get"provides the correct mode if the current mode was set via some means other than the VESA BIOS extensions. π€· - the VESA flat panel interface ceased development at the proposal stage.
panelidandpanelsizewill work on many machines, but the other arguments are unlikely to be implemented on available hardware. πͺ¦
π«Ά AUTHOR π«Ά
vbetool was written by Matthew Garrett <mjg59@srcf.ucam.org>, based on code from read-edid by John Fremlin <john@fremlin.de>, LRMI (http://sourceforge.net/projects/lrmi/) and XFree (http://www.xfree86.org). it is released under the terms of the GNU General Public License. π
and that's the whole page, bestie π this icon of a manual is vbetool version 0.2, dated 31 December 2004 β yes she's vintage, yes she still slays. now go back up and reread the BUGS section before you run post, i'm literally begging you πβ¨
π¦ where this page comes from
- debian bookworm: vbetool 1.1-5 Β· GPL-2.0-only
- debian trixie: vbetool 1.1-7 Β· GPL-2.0-only
- ubuntu jammy: vbetool 1.1-5 Β· GPL-2.0-only
- ubuntu noble: vbetool 1.1-5 Β· GPL-2.0-only
- ubuntu questing: vbetool 1.1-7
- ubuntu resolute: vbetool 1.1-7build1 Β· GPL-2.0-only
- ubuntu stonking: vbetool 1.1-9 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms