From owner-freebsd-current@FreeBSD.ORG Mon Aug 30 08:42:13 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 899E916A4CF for ; Mon, 30 Aug 2004 08:42:13 +0000 (GMT) Received: from web.portaone.com (mail.russia.cz [195.70.151.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E6FD43D39 for ; Mon, 30 Aug 2004 08:42:12 +0000 (GMT) (envelope-from sobomax@portaone.com) Received: from [192.168.0.20] (portacare.portaone.com [195.140.247.242]) (authenticated bits=0) by web.portaone.com (8.12.8p2/8.12.8) with ESMTP id i7U8g2Ej052630 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 Aug 2004 10:42:03 +0200 (CEST) (envelope-from sobomax@portaone.com) Message-ID: <4132E84C.9060200@portaone.com> Date: Mon, 30 Aug 2004 11:41:48 +0300 From: Maxim Sobolev Organization: Porta Software Ltd User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: vova@fbsd.ru References: <080a01c48dff$4248a310$7890a8c0@gits.invalid> <4132358C.6060108@portaone.com> <1093849339.864.5.camel@localhost> In-Reply-To: <1093849339.864.5.camel@localhost> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Cyrille Lefevre cc: Deng XueFeng cc: "current@freebsd.org" Subject: Re: [PATCH TO TEST] VESA [1024x768] mode support forFreeBSD-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2004 08:42:13 -0000 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 > >