Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Aug 2004 11:02:19 +0400
From:      Vladimir Grebenschikov <vova@fbsd.ru>
To:        Maxim Sobolev <sobomax@portaone.com>
Cc:        "current@freebsd.org" <current@freebsd.org>
Subject:   Re: [PATCH TO TEST] VESA [1024x768] mode support forFreeBSD-CURRENT
Message-ID:  <1093849339.864.5.camel@localhost>
In-Reply-To: <4132358C.6060108@portaone.com>
References:  <080a01c48dff$4248a310$7890a8c0@gits.invalid> <4132358C.6060108@portaone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2004-08-29 at 22:59 +0300, Maxim Sobolev wrote:

> vidcontrol -i mode is your best friend! ;-)

Yes, it shows some corresponding graphical modes:
# kldload vesa
# vidcontrol -i mode < /dev/ttyv1 | fgrep 1400x1050
320 (0x140) 0x0000000f G 1400x1050x8 1   8x16  0xa0000 64k 64k
0xd8000000 16384k
321 (0x141) 0x0000000f G 1400x1050x15 1  8x16  0xa0000 64k 64k
0xd8000000 16384k
322 (0x142) 0x0000000f G 1400x1050x16 1  8x16  0xa0000 64k 64k
0xd8000000 16384k
323 (0x143) 0x0000000f G 1400x1050x24 1  8x16  0xa0000 64k 64k
0xd8000000 16384k
324 (0x144) 0x0000000f G 1400x1050x32 1  8x16  0xa0000 64k 64k
0xd8000000 16384k

but anyway there are a little text modes:
# vidcontrol -i mode < /dev/ttyv1 | fgrep T
 24 (0x018) 0x00000001 T 80x25           8x16  0xb8000 32k 32k
0x00000000 32k
 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

And the all standard VGA modes,

and I can't switch to text mode based 1400x1050 resolution (all Ok with
Xorg server, I talk only about syscons in high resolution, text or
raster)

# vidcontrol VESA_800x600 < /dev/ttyv1
vidcontrol: cannot set videomode: Operation not supported by device
usage: vidcontrol [-CdHLPpx] [-b color] [-c appearance] [-f [size] file]
                  [-g geometry] [-h size] [-i adapter | mode] [-l
screen_map]
                  [-M char] [-m on | off] [-r foreground background]
                  [-S on | off] [-s number] [-t N | off] [mode]
                  [foreground [background]] [show]
# vidcontrol VESA_1400x1050 < /dev/ttyv1
usage: vidcontrol [-CdHLPpx] [-b color] [-c appearance] [-f [size] file]
                  [-g geometry] [-h size] [-i adapter | mode] [-l
screen_map]
                  [-M char] [-m on | off] [-r foreground background]
                  [-S on | off] [-s number] [-t N | off] [mode]
                  [foreground [background]] [show]

> -Maxim

-- 
Vladimir B. Grebenchikov
vova@fbsd.ru



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