Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Nov 2003 11:04:15 -0600
From:      Stephen Hilton <nospam@hiltonbsd.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: vidcontrol 132x43 mode help
Message-ID:  <20031105110415.194769ea.nospam@hiltonbsd.com>
In-Reply-To: <20031103100014.32402126.nospam@hiltonbsd.com>
References:  <20031103100014.32402126.nospam@hiltonbsd.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 3 Nov 2003 10:00:14 -0600
Stephen Hilton <nospam@hiltonbsd.com> wrote:

> Cheers all,
> 
> I am trying to get 132x43 mode in my consoles and need a little help :-)
> 
> Matrox G400 video card, Hitachi CM771 monitor, FreeBSD 4.9
> 
> # vidcontrol -i adapter
> fb0:
>     vga0, type:VESA VGA (5), flags:0x700ff
>     initial mode:24, current mode:24, BIOS mode:3
>     frame buffer window:0xb8000, buffer size:0x8000
>     window size:0x8000, origin:0x0
>     display start address (0, 0), scan line width:80
>     reserved:0x0
> 
> # vidcontrol -i mode
>     mode#     flags   type    size       font      window      linear buffer
> ------------------------------------------------------------------------------
>   0 (0x000) 0x00000001 T 40x25           8x8   0xb8000 32k 32k 0x00000000 32k
>   1 (0x001) 0x00000001 T 40x25           8x8   0xb8000 32k 32k 0x00000000 32k
>   2 (0x002) 0x00000001 T 80x25           8x8   0xb8000 32k 32k 0x00000000 32k
>   3 (0x003) 0x00000001 T 80x25           8x8   0xb8000 32k 32k 0x00000000 32k
>   4 (0x004) 0x00000003 G 320x200x2 1     8x8   0xb8000 32k 32k 0x00000000 32k
>   5 (0x005) 0x00000003 G 320x200x2 1     8x8   0xb8000 32k 32k 0x00000000 32k
>   6 (0x006) 0x00000003 G 640x200x1 1     8x8   0xb8000 32k 32k 0x00000000 32k
>  13 (0x00d) 0x00000003 G 320x200x4 4     8x8   0xa0000 64k 64k 0x00000000 256k
>  14 (0x00e) 0x00000003 G 640x200x4 4     8x8   0xa0000 64k 64k 0x00000000 256k
>  16 (0x010) 0x00000003 G 640x350x2 2     8x14  0xa0000 64k 64k 0x00000000 128k
>  18 (0x012) 0x00000003 G 640x350x4 4     8x14  0xa0000 64k 64k 0x00000000 256k
>  19 (0x013) 0x00000001 T 40x25           8x14  0xb8000 32k 32k 0x00000000 32k
>  20 (0x014) 0x00000001 T 40x25           8x14  0xb8000 32k 32k 0x00000000 32k
>  21 (0x015) 0x00000001 T 80x25           8x14  0xb8000 32k 32k 0x00000000 32k
>  22 (0x016) 0x00000001 T 80x25           8x14  0xb8000 32k 32k 0x00000000 32k
>  23 (0x017) 0x00000001 T 40x25           8x16  0xb8000 32k 32k 0x00000000 32k
>  24 (0x018) 0x00000001 T 80x25           8x16  0xb8000 32k 32k 0x00000000 32k
>  26 (0x01a) 0x00000003 G 640x480x4 4     8x16  0xa0000 64k 64k 0x00000000 256k
>  27 (0x01b) 0x00000003 G 640x480x4 4     8x16  0xa0000 64k 64k 0x00000000 256k
>  28 (0x01c) 0x00000003 G 320x200x8 1     8x8   0xa0000 64k 64k 0x00000000 64k
>  30 (0x01e) 0x00000001 T 80x50           8x8   0xb8000 32k 32k 0x00000000 32k
>  32 (0x020) 0x00000001 T 80x30           8x16  0xb8000 32k 32k 0x00000000 32k
>  34 (0x022) 0x00000001 T 80x60           8x8   0xb8000 32k 32k 0x00000000 32k
>  37 (0x025) 0x00000003 G 320x240x8 4     8x8   0xa0000 64k 64k 0x00000000 256k
> 112 (0x070) 0x00000000 T 80x43           8x8   0xb8000 32k 32k 0x00000000 32k
> 113 (0x071) 0x00000001 T 80x43           8x8   0xb8000 32k 32k 0x00000000 32k
> 256 (0x100) 0x0000000f G 640x400x8 1     8x16  0xa0000 64k 64k 0xce000000 16384k
> 257 (0x101) 0x0000000f G 640x480x8 1     8x16  0xa0000 64k 64k 0xce000000 16384k
> 258 (0x102) 0x0000000b G 800x600x4 4     8x14  0xa0000 64k 64k 0x00000000 16384k
> 259 (0x103) 0x0000000f G 800x600x8 1     8x16  0xa0000 64k 64k 0xce000000 16384k
> 266 (0x10a) 0x00000009 T 132x43          8x8   0xb8000 32k 32k 0x00000000 16384k
> 272 (0x110) 0x0000000f G 640x480x16 1    8x16  0xa0000 64k 64k 0xce000000 16384k
> 273 (0x111) 0x0000000f G 640x480x16 1    8x16  0xa0000 64k 64k 0xce000000 16384k
> 274 (0x112) 0x0000000f G 640x480x32 1    8x16  0xa0000 64k 64k 0xce000000 16384k
> 275 (0x113) 0x0000000f G 800x600x16 1    8x16  0xa0000 64k 64k 0xce000000 16384k
> 276 (0x114) 0x0000000f G 800x600x16 1    8x16  0xa0000 64k 64k 0xce000000 16384k
> 277 (0x115) 0x0000000f G 800x600x32 1    8x16  0xa0000 64k 64k 0xce000000 16384k
> 
> 
> I can set 80x60 mode ok, but whenever I try 132x43 my monitor clicks, then 
> no video. I do have VESA in my kernel.
> 

Still looking for answers here, been through the volumious archives 
and man pages regarding vidcontrol, vga, and vidfont. Saw some PR's 
also but don't know if they apply to my problem.

>From some of the past threads I get the impression that the 
"vidcontrol -i mode" command shows results for modes that really are 
not available, is this the case? would the modes numbers below 100 be 
the ones taht are truely available ?

If my assumption above is incorrect and my Matrox G400 will support the 
mode "266 (0x10a) 0x00000009 T 132x43  8x8" then is the reason my monitor 
goes black/blank when switching to that mode due to a monitor syncing 
issue ? and are there any ways to try to fix that ?

Regards,

Stephen Hilton
nospam@hiltonbsd.com



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