From owner-freebsd-stable@FreeBSD.ORG Mon Apr 2 18:40:00 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 090E816A401 for ; Mon, 2 Apr 2007 18:40:00 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id E1C0613C448 for ; Mon, 2 Apr 2007 18:39:59 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from localhost (jn@ns1 [69.55.238.237]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id l32IdwGf003264; Mon, 2 Apr 2007 14:39:59 -0400 (EDT) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-stable@freebsd.org Date: Mon, 2 Apr 2007 14:38:34 -0400 User-Agent: KMail/1.9.6 References: <8d23ec860704021055n12e7ec05h300effc21e54713e@mail.gmail.com> In-Reply-To: <8d23ec860704021055n12e7ec05h300effc21e54713e@mail.gmail.com> X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704021438.35024.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: Schiz0 Subject: Re: Changing Console Resolution - Vidcontrol X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Apr 2007 18:40:00 -0000 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