Add information on how to change the console video modes.

Translators: this is an addition to the current handbook, no other
changes had been made in the chapter.

PR:		docs/117035
Submitted by:	Chess Griffin <chess dot griffin at gmail dot com>
This commit is contained in:
Remko Lodder 2007-12-08 19:46:16 +00:00
parent 22906253c9
commit 2e64f54ab2
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=31101

View file

@ -290,6 +290,41 @@ console none unknown off secure</programlisting>
booting process and the programs involved.</para>
</note>
</sect2>
<sect2 id="consoles-vidcontrol">
<title>Changing Console Video Modes</title>
<para>The FreeBSD console default video mode may be adjusted to
1024x768, 1280x1024, or any other size supported by your
graphics chip and monitor. To use a different video mode, you
first must recompile your kernel and include two additional
options:</para>
<programlisting>OPTIONS VESA
OPTIONS SC_PIXEL_MODE</programlisting>
<para>Once the kernel has been recompiled with these two
options, you can then determine what video modes are supported
by your hardware by using the &man.vidcontrol.1; utility. To
get a list of supported video modes, type the following in a
root console:</para>
<screen>&prompt.root; <userinput>vidcontrol -i mode</userinput></screen>
<para>The output of this command is a list of video modes that
are supported by your hardware. You can then choose to use a
new video mode by passing it to vidcontrol in a root console,
as in this example:</para>
<screen>&prompt.root; <userinput>vidcontrol MODE_279</userinput></screen>
<para>If the new video mode is acceptable, it can be permanently
set on boot by including the following in your
<filename>/etc/rc.conf</filename> file, again using the above
example:</para>
<programlisting>allscreens_flags="MODE_279"</programlisting>
</sect2>
</sect1>
<sect1 id="permissions">