From owner-freebsd-stable Fri Aug 16 19: 7:27 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DEBD837B400 for ; Fri, 16 Aug 2002 19:07:23 -0700 (PDT) Received: from mtiwmhc23.worldnet.att.net (mtiwmhc23.worldnet.att.net [204.127.131.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5385243E42 for ; Fri, 16 Aug 2002 19:07:23 -0700 (PDT) (envelope-from cswiger@mac.com) Received: from prime ([12.88.121.91]) by mtiwmhc23.worldnet.att.net (InterMail vM.4.01.03.27 201-229-121-127-20010626) with SMTP id <20020817020721.PTWO7441.mtiwmhc23.worldnet.att.net@prime> for ; Sat, 17 Aug 2002 02:07:21 +0000 Message-ID: <003901c24592$d1fd5ee0$0301a8c0@prime> From: "Charles Swiger" To: Subject: syscons & LCDs... Date: Fri, 16 Aug 2002 22:07:19 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, all-- Assuming a RELENG-4.6 system with the following kernel options: options VESA options SC_PIXEL_MODE ...how can you best optimize the syscons display for a LCD with a native resolution of 1280x1024? Here's an excerpt of 'vidcontrol -i': fb0: vga0, type:VESA VGA (5), flags:0x700ff initial mode:24, current mode:258, BIOS mode:3 frame buffer window:0xa0000, buffer size:0x400000 window size:0x10000, origin:0x0 display start address (0, 0), scan line width:100 reserved:0x0 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 [ ... ] 24 (0x018) 0x00000001 T 80x25 8x16 0xb8000 32k 32k 0x00000000 32k [ ... ] 256 (0x100) 0x0000000f G 640x400x8 1 8x16 0xa0000 64k 64k 0xfc000000 4096k 257 (0x101) 0x0000000f G 640x480x8 1 8x16 0xa0000 64k 64k 0xfc000000 4096k 258 (0x102) 0x0000000b G 800x600x4 4 8x16 0xa0000 64k 64k 0x00000000 4096k 259 (0x103) 0x0000000f G 800x600x8 1 8x16 0xa0000 64k 64k 0xfc000000 4096k 260 (0x104) 0x0000000b G 1024x768x4 4 8x16 0xa0000 64k 64k 0x00000000 4096k 261 (0x105) 0x0000000f G 1024x768x8 1 8x16 0xa0000 64k 64k 0xfc000000 4096k 262 (0x106) 0x0000000b G 1280x1024x4 4 8x16 0xa0000 64k 64k 0x00000000 4096k 263 (0x107) 0x0000000f G 1280x1024x8 1 8x16 0xa0000 64k 64k 0xfc000000 4096k [ ... ] 331 (0x14b) 0x0000000f G 720x480x16 1 8x16 0xa0000 64k 64k 0xfc000000 4096k 332 (0x14c) 0x0000000f G 720x576x16 1 8x16 0xa0000 64k 64k 0xfc000000 4096k I've gotten as far as using 800x600, as that interpolates better than the 720x480 resolution it seemed to default to (80x25, I guess). I'd really prefer to drive it at the native resolution instead, however...aka mode 263. If my best bet is to install X11, I guess I'll bite the bullet and do so, but I'd really prefer to use text-based consoles if I still can. -Chuck PS: If the hardware details help, the LCD is a ViewSonic VX900, and here's "dmesg": Copyright (c) 1992-2002 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.6.2-RELEASE #7: Fri Aug 16 20:57:43 EDT 2002 root@sec.local:/usr/obj/usr/src/sys/SEC Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (300.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x634 Stepping = 4 Features=0x80f9ff real memory = 201326592 (196608K bytes) avail memory = 192036864 (187536K bytes) Preloaded elf kernel "kernel" at 0xc03ae000. VESA: v3.0, 4096k memory, flags:0x1, mode table:0xc0345482 (1000022) VESA: STB Velocity 128 (RIVA 128) Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 8 entries at 0xc00fdf40 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 [ ... ] vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> I can swap in another video card if it would make a difference. (It's been hot here in NYC, and the RIVA 128 doesn't even need a heatsink.) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message