Date: Mon, 2 Apr 2007 14:38:34 -0400 From: John Nielsen <lists@jnielsen.net> To: freebsd-stable@freebsd.org Cc: Schiz0 <schiz0phrenic21@gmail.com> Subject: Re: Changing Console Resolution - Vidcontrol Message-ID: <200704021438.35024.lists@jnielsen.net> In-Reply-To: <8d23ec860704021055n12e7ec05h300effc21e54713e@mail.gmail.com> References: <8d23ec860704021055n12e7ec05h300effc21e54713e@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 02 April 2007 01:55:45 pm Schiz0 wrote: > I'm wondering how you can increase the resolution of the console in FreeBSD > stable. I have read the man page on vidcontrol and googled around a bit, > but I'm still confused about what to do. I'm currently running FreeBSD in > VMWare on a windows machine (But that'll change as soon as I learn enough > to put it up my server, which currently runs linux). I'd like to have > something like 1024x768 resolution or so. Also, the man pages mention > something about VESA modules. What exactly is this, and do I need it? My > kernel is currently compiled without support for it. Would I need to > recompile my kernel again? Without recompiling your kernel, you should be able to do modes like: # vidcontrol -f 8x8 cp437-8x8.fnt VGA_80x50 # vidcontrol -f 8x8 cp437-8x8.fnt VGA_80x60 If you add "options VGA_WIDTH90" to your kernel you can do things like: # vidcontrol -f 8x8 cp437-8x8.fnt VGA_90x50 # vidcontrol -f 8x8 cp437-8x8.fnt VGA_90x60 (note that not all hardware likes the 90-column modes) And if you add "options VESA" and "options SC_PIXEL_MODE" to your kernel you can use any fontsize (of the three: 8x16, 8x14, 8x8) with any VESA video mode supported by your hardware. You get a list of modes by running "vidcontrol -i mode" from a virtual terminal. On my machine mode 279 is 1024x768x16. If I wanted to use that with an 8x14 font I'd do this: # vidcontrol -f 8x14 cp437-8x14.fnt MODE_279 JN
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704021438.35024.lists>
