In loader.conf(5): hw.vga.textmode=1 hw.vga.acpi_ignore_no_vga=1 kern.vty=vt kern.vt.color.<colornum>.rgb="<colorspec>" kern.vt.fb.default_mode="<X>x<Y>" kern.vt.fb.modes.<connector>="<X>x<Y>"
|Unicode UTF-8 text with double-width characters.
|Large font maps in graphics mode, including support for Asian character sets.
|Integration with KMS (Kernel Mode Setting) video drivers for switching between the X Window System and virtual terminals.
| TERMINAL_NORM_ATTR= attribute
|These options change the default colors used for normal and kernel text. Available colors are defined in <sys/terminal.h>. See EXAMPLES below.
|Set the number of virtual terminals to be created to N. The value defaults to 12.
|When the Alt key is held down while pressing another key, send an ESC sequence instead of the Alt key.
|If defined, swap the functions of mouse buttons 2 and 3. In effect, this makes the right-hand mouse button perform a paste. These options are checked in the order shown.
|Disable mouse support.
|Set the maximum width to X.
|Set the maximum height to Y.
|vt Option Name
|sc Option Name
Set to 1 to use virtual terminals in text mode instead of graphics mode.
Features that require graphics mode, like loadable fonts, will be
If a KMS driver is loaded the console will switch to (and remain in) graphics mode.
|Set to 1 to force the usage of the VGA driver regardless of whether ACPI IAPC_BOOT_ARCH signals no VGA support. Can be used to workaround firmware bugs in the ACPI tables. Note no VGA support is only acknowledged when running virtualized. There is too many broken firmware that wrongly reports no VGA support on physical hardware.
|Set this value to ‘vt’ or ‘sc’ to choose a specific system console, overriding the default. The GENERIC kernel uses vt when this value is not set.
Set this value to override default palette entry for color
which should be in a range from 0 to 15 inclusive.
The value should be either a comma-separated triplet of
red, green, and blue values in a range from 0 to 255 or
HTML-like hex triplet.
Note: The vt VGA hardware driver does not support palette configuration.
|Set this value to a graphic mode to override the default mode picked by the vt backend. The mode is applied to all output connectors. This is currently only supported by the vt_fb backend when it is paired with a KMS video driver.
|Set this value to a graphic mode to override the default mode picked by the vt backend. This mode is applied to the output connector connector_name only. It has precedence over kern.vt.fb.default_mode. The names of available connector names can be found in dmesg(8) after loading the KMS driver. It will contain a list of connectors and their associated tunables. This is currently only supported by the vt_fb backend when it is paired with a KMS video driver.
|Enable halt keyboard combination.
|Enable power off key combination.
|Enable reboot key combination, usually Ctrl+Alt+Del.
|Enable debug request key combination, usually Ctrl+Alt+Esc.
|Enable panic key combination.
|Enable the terminal bell.
|terminal initialization information
This line changes the default color of kernel messages to be bright red on a black background, or black on a bright red background when reversed.
To set a 1024x768 mode on all output connectors, put the following line in /boot/loader.conf:
To set a 800x600 only on a laptop builtin screen, use the following line instead:
The connector name was found in dmesg(8):
info: [drm] Connector LVDS-1: get mode from tunables:
info: [drm] - kern.vt.fb.modes.LVDS-1
info: [drm] - kern.vt.fb.default_mode
To set black and white colors of console palette
|July 21, 2022
|I think Unix and snowflakes are the only two classes of objects in the universe in which no two instances ever match exactly.
|— Noel Chiappa