Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jan 2002 17:42:48 +0100
From:      Andreas Ntaflos <ntaflos.andreas@gmx.net>
To:        Nuno Teixeira <nunotex@pt-quorum.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Is VESA_800x600 hardcoded to 80x25?
Message-ID:  <20020106174248.A42857@Deadcell.ANT>
In-Reply-To: <20020106154230.GD1141@gw.tex.bogus>; from nunotex@pt-quorum.com on Sun, Jan 06, 2002 at 03:42:30PM %2B0000
References:  <20020106154230.GD1141@gw.tex.bogus>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: 0ddY6bAsO6ANfVRQSpsfakq7txfpWVwy

iQA/AwUBPDh+hCghDxt/ED0NEQLq4gCgqia8ADF97wYrdU9wa7AgrjKkoegAni3+
YjuOIXLosOLP0gpmkKtDXJLZ
=7Tew
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020106174248.A42857>