From owner-freebsd-stable Sun Jan 6 14: 0:12 2002 Delivered-To: freebsd-stable@freebsd.org Received: from pt-quorum.com (pt-quorum.com [209.10.167.210]) by hub.freebsd.org (Postfix) with ESMTP id 02E4737B489 for ; Sun, 6 Jan 2002 13:59:53 -0800 (PST) Received: from gw.tex.bogus (d179053.avr.PT.KPNQwest.net [193.126.179.53]) by pt-quorum.com (Postfix) with ESMTP id 7FE38ED0A; Sun, 6 Jan 2002 22:02:06 +0000 (WET) Received: by gw.tex.bogus (Postfix, from userid 1000) id 963415D30; Sun, 6 Jan 2002 21:59:55 +0000 (WET) Date: Sun, 6 Jan 2002 21:59:55 +0000 From: Nuno Teixeira To: Andreas Ntaflos Cc: freebsd-stable@freebsd.org Subject: Re: Is VESA_800x600 hardcoded to 80x25? patch @100 Hz Message-ID: <20020106215955.GF19117@gw.tex.bogus> References: <20020106154230.GD1141@gw.tex.bogus> <20020106174248.A42857@Deadcell.ANT> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020106174248.A42857@Deadcell.ANT> User-Agent: Mutt/1.3.25i X-Operating-System: FreeBSD 4.5-PRERELEASE Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jan 06, 2002 at 05:42:48PM +0100, Andreas Ntaflos wrote: | On Sun, Jan 06, 2002 at 03:42:30PM +0000, Nuno Teixeira wrote: | > | > Hello to all, | > | > For the first time I configured VESA and SC_PIXEL_MODE in kernel to reach | > VESA_800x600 (100x37). | > | > When I used vidcontrol to do this I noted that I only can get a smaller | > "window" in the middle of the screen (80x25). | > [snip] | > --------------------------------------------------------------------------- | > Message: | > >... knowing that 800x600 / 8x16 = 100x37.5 I should be able to do better. | > >I switched to VESA_800x600, but instead of getting 100x37 I just get 80x25 | > >in a smaller "window" in the middle of the screen. | > > | > >1) Is VESA ... hardcoded to 80x25? | > > | > >2) Is this combo hardcoded to 4-bit color? | > | > 1) Yes, VESA_800x600 is hardcoded to 80x25 in vidcontrol.c, but it is easy | > to fix. Just make the following change and recompile: | > | > if (mode == SW_VESA_800x600) { | > [snip] | | In order to have VESA_800x600 use the full screen of the virtual console, | run the following: | | # vidcontrol -g 100x37 VESA_800x600 -f whatever_font_you_want | | This will resize it to the said geometry of 100x37 chars at a resolution | of 800x600. | | The rc.conf entries look like this on my box: | | allscreens_flags="-g 100x37 VESA_800x600" | font8x16="/usr/share/syscons/fonts/iso15-8x16.fnt" | | This should work just fine and fill up the whole available screen. | | I just don't like the low refresh rate of 60Hz, after some time, it blinds | my head :) | | Does anyone know how to increase the vert. refresh at 800x600? | | regards | -- | Andreas "ant" Ntaflos | ntaflos.andreas@gmx.net | Vienna, AUSTRIA Hi, I've found a patch to VESA_800x600 @100Hz Here is the link if you are interested: http://groups.google.com/groups?threadm=87bsxsnoxm.fsf%40rnd.donetsk.ua&rnum=11&prev=/groups%3Fq%3Dfreebsd%252Bconsole%252Bvesa%252Brefresh%26start%3D10%26sa%3DN Bye, -- Nuno Teixeira pt-quorum.com /* PGP Public Key: http://www.pt-quorum.com/pgp/nunoteixeira.asc Key fingerprint: 8C2C B364 D4DC 0C92 56F5 CE6F 8F07 720A 63A0 4FC7 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message