From owner-freebsd-current Sun Feb 20 6:44:54 2000 Delivered-To: freebsd-current@freebsd.org Received: from outmail.utsunomiya-u.ac.jp (outmail.utsunomiya-u.ac.jp [160.12.196.3]) by hub.freebsd.org (Postfix) with ESMTP id 1584337BCDA for ; Sun, 20 Feb 2000 06:44:51 -0800 (PST) (envelope-from yokota@zodiac.mech.utsunomiya-u.ac.jp) Received: from zodiac.mech.utsunomiya-u.ac.jp (IDENT:AvqDLVx39kIvd5PiubtOXJWVHbU9D8Iw@zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by outmail.utsunomiya-u.ac.jp (8.9.3/3.7Wpl2) with ESMTP id XAA22076; Sun, 20 Feb 2000 23:44:25 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by zodiac.mech.utsunomiya-u.ac.jp (8.7.6+2.6Wbeta7/3.4W/zodiac-May96) with ESMTP id XAA17612; Sun, 20 Feb 2000 23:50:21 +0900 (JST) Message-Id: <200002201450.XAA17612@zodiac.mech.utsunomiya-u.ac.jp> To: Blaz Zupan Cc: freebsd-current@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: CGA instead of VGA In-reply-to: Your message of "Sat, 19 Feb 2000 17:57:43 +0100." References: Date: Sun, 20 Feb 2000 23:50:20 +0900 From: Kazutaka YOKOTA Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >On -current my VGA card is being used as a CGA card. It is correctly >recognized as a VGA: > >vga-pci0: mem 0xf8000000-0xfbffffff irq 11 at d >evice 15.0 on pci0 The above message simply means that a PCI card classified as VGA is found. This does not necessarily means that the card can be used as VGA. >vga0: at port 0x3d0-0x3db iomem 0xb8000-0xbffff on isa0 > >but then used as a CGA: > >sc0: CGA <16 virtual consoles, flags=0x200> The BIOS setup menu usually has an entry to specify the type of the installed video card. If this item is set to CGA, the BIOS and the vga driver will initialize the card, even if it is a VGA, as the CGA card. Are you sure that this doesn't happen to be the case with your system? >The problem is, that I can't set fonts: > ># vidcontrol vidcontrol: can't load font: Device not configured If the card is recognized as CGA, you cannot load font or switch video modes. >I vaguely remember seing a commit from Kazu that supposedly fixed this, >although I still experience it with a -current machine as of a couple of >days ago. That commit fixed the problem where the vga driver wrongly thought the card is CGA when the BIOS DOES initialize the card as VGA. If the BIOS initialize the card as CGA, the vga driver is still led to believe the card is CGA. (And I believe that is the reasonable behavior.) Kazu >The motherboard is an Intel AN430TX, the graphics card is a S3 Trio 64V+ >based card. Below is the full dmesg. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message