http://freebsdwiki.net/index.php?title=High_Resolution_Console&feed=atom&action=historyHigh Resolution Console - Revision history2024-03-29T09:09:31ZRevision history for this page on the wikiMediaWiki 1.18.0http://freebsdwiki.net/index.php?title=High_Resolution_Console&diff=12458&oldid=prevJimbo: Reverted edits by AlexandraBull (Talk) to last revision by Jimbo2011-08-01T20:14:33Z<p>Reverted edits by <a href="/index.php/Special:Contributions/AlexandraBull" title="Special:Contributions/AlexandraBull">AlexandraBull</a> (<a href="/index.php?title=User_talk:AlexandraBull&action=edit&redlink=1" class="new" title="User talk:AlexandraBull (page does not exist)">Talk</a>) to last revision by <a href="/index.php/User:Jimbo" title="User:Jimbo">Jimbo</a></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 20:14, 1 August 2011</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 24:</td>
<td colspan="2" class="diff-lineno">Line 24:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==See Available Video Modes & Pick One==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==See Available Video Modes & Pick One==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>When that is done, reboot to use the new kernel. Upon reboot, you will notice no change initially. Log in as root and <del class="diffchange diffchange-inline"><span class="plainlinks">[http://www.diamondlinks.net/ <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">link building</span>] </del>enter:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>When that is done, reboot to use the new kernel. Upon reboot, you will notice no change initially. Log in as root and enter:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  vidcontrol -i mode</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  vidcontrol -i mode</div></td></tr>
<!-- diff cache key bsdwiki:diff:version:1.11a:oldid:12441:newid:12458 -->
</table>Jimbohttp://freebsdwiki.net/index.php?title=High_Resolution_Console&diff=12441&oldid=prevAlexandraBull at 14:12, 24 July 20112011-07-24T14:12:40Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 14:12, 24 July 2011</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 24:</td>
<td colspan="2" class="diff-lineno">Line 24:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==See Available Video Modes & Pick One==</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==See Available Video Modes & Pick One==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>When that is done, reboot to use the new kernel. Upon reboot, you will notice no change initially. Log in as root and enter:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>When that is done, reboot to use the new kernel. Upon reboot, you will notice no change initially. Log in as root and <ins class="diffchange diffchange-inline"><span class="plainlinks">[http://www.diamondlinks.net/ <span style="color:black;font-weight:normal; text-decoration:none!important; background:none!important; text-decoration:none;">link building</span>] </ins>enter:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  vidcontrol -i mode</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  vidcontrol -i mode</div></td></tr>
<!-- diff cache key bsdwiki:diff:version:1.11a:oldid:9331:newid:12441 -->
</table>AlexandraBullhttp://freebsdwiki.net/index.php?title=High_Resolution_Console&diff=9331&oldid=prevJimbo: Reverted edits by 148.167.202.141 (Talk); changed back to last version by 209.94.61.522007-11-03T18:28:33Z<p>Reverted edits by <a href="/index.php/Special:Contributions/148.167.202.141" title="Special:Contributions/148.167.202.141">148.167.202.141</a> (<a href="/index.php?title=User_talk:148.167.202.141&action=edit&redlink=1" class="new" title="User talk:148.167.202.141 (page does not exist)">Talk</a>); changed back to last version by <a href="/index.php?title=User:209.94.61.52&action=edit&redlink=1" class="new" title="User:209.94.61.52 (page does not exist)">209.94.61.52</a></p>
<table class='diff diff-contentalign-left'>
<tr valign='top'>
<td colspan='1' style="background-color: white; color:black;">← Older revision</td>
<td colspan='1' style="background-color: white; color:black;">Revision as of 18:28, 3 November 2007</td>
</tr></table>Jimbohttp://freebsdwiki.net/index.php?title=High_Resolution_Console&diff=5263&oldid=prev209.94.61.52 at 14:29, 16 December 20052005-12-16T14:29:44Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 14:29, 16 December 2005</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 28:</td>
<td colspan="2" class="diff-lineno">Line 28:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  vidcontrol -i mode</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  vidcontrol -i mode</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>You should see a long <del class="diffchange diffchange-inline">listof </del>all available resolutions, including all of the modes that the video card is capable of. Personally, 1024x768 console is plenty big, or small, depending on how you think about it. On my system the mode number for 1024x768x24 is 280. To test the desired mode, use the following command:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>You should see a long <ins class="diffchange diffchange-inline">list of </ins>all available resolutions, including all of the modes that the video card is capable of. Personally, 1024x768 console is plenty big, or small, depending on how you think about it. On my system the mode number for 1024x768x24 is 280. To test the desired mode, use the following command:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  vidcontrol MODE_280</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  vidcontrol MODE_280</div></td></tr>
<!-- diff cache key bsdwiki:diff:version:1.11a:oldid:3444:newid:5263 -->
</table>209.94.61.52http://freebsdwiki.net/index.php?title=High_Resolution_Console&diff=3444&oldid=prev209.94.61.52 at 14:27, 16 December 20052005-12-16T14:27:44Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 14:27, 16 December 2005</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>If you come to FreeBSD after using Linux, one of the first things you may notice is the lack of high-resolution consoles. The default is text-mode 80x25 characters. Although high-resolution is desirable to many, it's certainly not required. If you want to have a 1024x768(or even higher) console resolution, it's fairly easy to set up, just requires a kernel recompile and setting the mode you want to use in the /etc/rc.conf file.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>If you come to FreeBSD after using Linux, one of the first things you may notice is the lack of high-resolution consoles. The default is text-mode 80x25 characters. Although high-resolution is desirable to many, it's certainly not required. If you want to have a 1024x768(or even higher) console resolution, it's fairly easy to set up, just requires a kernel recompile and setting the mode you want to use in the /etc/rc.conf file.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">==Kernel Configuration==</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>First off, we need to edit the kernel config to add two options. I won't go into too much depth here, as this article isn't about how to config your kernel. For my example I will use the 'GENERIC' kernel config.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>First off, we need to edit the kernel config to add two options. I won't go into too much depth here, as this article isn't about how to config your kernel. For my example I will use the 'GENERIC' kernel config.</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 13:</td>
<td colspan="2" class="diff-lineno">Line 15:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Save & exit</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Save & exit</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">==Build & Install New Kernel==</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  cd /usr/src</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  cd /usr/src</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  make buildkernel KERNCONF=VESAKERN</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  make buildkernel KERNCONF=VESAKERN</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  make installkernel KERNCONF=VESAKERN</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  make installkernel KERNCONF=VESAKERN</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">==See Available Video Modes & Pick One==</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>When that is done, reboot to use the new kernel. Upon reboot, you will notice no change initially. Log in as root and enter:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>When that is done, reboot to use the new kernel. Upon reboot, you will notice no change initially. Log in as root and enter:</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 26:</td>
<td colspan="2" class="diff-lineno">Line 32:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  vidcontrol MODE_280</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  vidcontrol MODE_280</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Your console should jump to that. If it works, great. If the screen goes blank, your card/monitor can't support that, and you need to use something else. You may need to switch to different terminal to try one that works. Once you find a setting that you like, we can add it to /etc/rc.conf.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Your console should jump to that. If it works, great. If the screen goes blank, your card/monitor can't support that, and you need to use something else. You may need to switch to different terminal to try one that works.  </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">==Tell FreeBSD to use the video mode all the time==</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Once you find a setting that you like, we can add it to /etc/rc.conf.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  allscreens_flags="MODE_280"</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  allscreens_flags="MODE_280"</div></td></tr>
<!-- diff cache key bsdwiki:diff:version:1.11a:oldid:3443:newid:3444 -->
</table>209.94.61.52http://freebsdwiki.net/index.php?title=High_Resolution_Console&diff=3443&oldid=prevKjelderg: tiny corrections on what I saw as incorrect.2005-12-16T02:18:37Z<p>tiny corrections on what I saw as incorrect.</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 02:18, 16 December 2005</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>If you come to FreeBSD after using Linux, one of the first things you may notice is the lack of high-resolution consoles. The default is <del class="diffchange diffchange-inline">640x480</del>. Although high-resolution is desirable to many, it's certainly not required. If you want to have a 1024x768(or even higher) console resolution, it's fairly easy to set up, just requires a kernel recompile and setting the mode you want to use in the /etc/rc.conf file.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>If you come to FreeBSD after using Linux, one of the first things you may notice is the lack of high-resolution consoles. The default is <ins class="diffchange diffchange-inline">text-mode 80x25 characters</ins>. Although high-resolution is desirable to many, it's certainly not required. If you want to have a 1024x768(or even higher) console resolution, it's fairly easy to set up, just requires a kernel recompile and setting the mode you want to use in the /etc/rc.conf file.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>First off, we need to edit the kernel config to add two options. I won't go into too much depth here, as this article isn't about how to config your kernel. For my example I will use the 'GENERIC' kernel config.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>First off, we need to edit the kernel config to add two options. I won't go into too much depth here, as this article isn't about how to config your kernel. For my example I will use the 'GENERIC' kernel config.</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 22:</td>
<td colspan="2" class="diff-lineno">Line 22:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  vidcontrol -i mode</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  vidcontrol -i mode</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>You should see a long listof all available resolutions, <del class="diffchange diffchange-inline">possibly </del>all the <del class="diffchange diffchange-inline">way up to 1600x1200</del>. Personally, 1024x768 console is plenty big, or small, depending on how you think about it. On my system the mode number for 1024x768x24 is 280. To test the desired mode, use the following command:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>You should see a long listof all available resolutions, <ins class="diffchange diffchange-inline">including </ins>all <ins class="diffchange diffchange-inline">of </ins>the <ins class="diffchange diffchange-inline">modes that the video card is capable of</ins>. Personally, 1024x768 console is plenty big, or small, depending on how you think about it. On my system the mode number for 1024x768x24 is 280. To test the desired mode, use the following command:</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  vidcontrol MODE_280</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>  vidcontrol MODE_280</div></td></tr>
<!-- diff cache key bsdwiki:diff:version:1.11a:oldid:3437:newid:3443 -->
</table>Kjelderghttp://freebsdwiki.net/index.php?title=High_Resolution_Console&diff=3437&oldid=prevQuiet at 16:27, 15 December 20052005-12-15T16:27:36Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 16:27, 15 December 2005</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 31:</td>
<td colspan="2" class="diff-lineno">Line 31:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>This will tell all terminal screens to use the desired resolution. Go ahead and reboot to try it. You will not see the large screen resolution until rc.conf is processed. This is different to Linux where the bootloader passes the resolution providing for a full boot-sequence in high-resolution. On my system, it jumps to high-resolution just before loading the Linux ABI support.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>This will tell all terminal screens to use the desired resolution. Go ahead and reboot to try it. You will not see the large screen resolution until rc.conf is processed. This is different to Linux where the bootloader passes the resolution providing for a full boot-sequence in high-resolution. On my system, it jumps to high-resolution just before loading the Linux ABI support.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">[[Category : Configuring_FreeBSD]]</ins></div></td></tr>
</table>Quiethttp://freebsdwiki.net/index.php?title=High_Resolution_Console&diff=3427&oldid=prevQuiet at 16:20, 15 December 20052005-12-15T16:20:25Z<p></p>
<p><b>New page</b></p><div>If you come to FreeBSD after using Linux, one of the first things you may notice is the lack of high-resolution consoles. The default is 640x480. Although high-resolution is desirable to many, it's certainly not required. If you want to have a 1024x768(or even higher) console resolution, it's fairly easy to set up, just requires a kernel recompile and setting the mode you want to use in the /etc/rc.conf file.<br />
<br />
First off, we need to edit the kernel config to add two options. I won't go into too much depth here, as this article isn't about how to config your kernel. For my example I will use the 'GENERIC' kernel config.<br />
<br />
cd /usr/src/sys/i386/conf<br />
cp GENERIC VESAKERN<br />
vi VESAKERN<br />
<br />
add the following lines:<br />
<br />
options VESA # Build VESA module into kernel<br />
options SC_PIXEL_MODE # Allows syscons to act on pixels rather than text<br />
<br />
Save & exit<br />
<br />
cd /usr/src<br />
make buildkernel KERNCONF=VESAKERN<br />
make installkernel KERNCONF=VESAKERN<br />
<br />
When that is done, reboot to use the new kernel. Upon reboot, you will notice no change initially. Log in as root and enter:<br />
<br />
vidcontrol -i mode<br />
<br />
You should see a long listof all available resolutions, possibly all the way up to 1600x1200. Personally, 1024x768 console is plenty big, or small, depending on how you think about it. On my system the mode number for 1024x768x24 is 280. To test the desired mode, use the following command:<br />
<br />
vidcontrol MODE_280<br />
<br />
Your console should jump to that. If it works, great. If the screen goes blank, your card/monitor can't support that, and you need to use something else. You may need to switch to different terminal to try one that works. Once you find a setting that you like, we can add it to /etc/rc.conf.<br />
<br />
allscreens_flags="MODE_280"<br />
<br />
This will tell all terminal screens to use the desired resolution. Go ahead and reboot to try it. You will not see the large screen resolution until rc.conf is processed. This is different to Linux where the bootloader passes the resolution providing for a full boot-sequence in high-resolution. On my system, it jumps to high-resolution just before loading the Linux ABI support.</div>Quiet