Search This Blog

Thursday, December 30, 2010

Useful Command, vidcontrol for Console Resolution

Most of us have a decent LCD monitor and it will be nice that we can use the high resolution inside the console. Under FreeBSD, it was not possible for AMD64. From FreeBSD 8 Stable and forward, the vesa driver is supported in the kernl option! Thank you for the FreeBSD team. This is such a nice work. To enable vesa for the console, add this to your kernel config file:

options VESA

and install your new kernel. After that you can check with vidcontrol -i mode, you can see several high resolution available. To use a 800x600, do:

vidcontrol VESA_800x600

check the manual page for vidcontrol, you might need to load different fonts for different screen resolutions.


No comments: