[PATCH TO TEST] VESA [1024x768] mode support forFreeBSD-CURRENT
Maxim Sobolev
sobomax at portaone.com
Mon Aug 30 01:42:13 PDT 2004
I think that you have to recompile your kernel with option VESA *and*
option SC_PIXEL_MODE.
-Maxim
Vladimir Grebenschikov wrote:
> 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
>
>
More information about the freebsd-current
mailing list