Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Feb 2000 23:50:20 +0900
From:      Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To:        Blaz Zupan <blaz@amis.net>
Cc:        freebsd-current@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp
Subject:   Re: CGA instead of VGA 
Message-ID:  <200002201450.XAA17612@zodiac.mech.utsunomiya-u.ac.jp>
In-Reply-To: Your message of "Sat, 19 Feb 2000 17:57:43 %2B0100." <Pine.BSF.4.21.0002191748400.512-100000@gold.amis.net> 
References:  <Pine.BSF.4.21.0002191748400.512-100000@gold.amis.net> 

next in thread | previous in thread | raw e-mail | index | archive | help

>On -current my VGA card is being used as a CGA card. It is correctly
>recognized as a VGA:
>
>vga-pci0: <S3 Trio graphics accelerator> 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: <Generic ISA VGA> 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 </dev/ttyv0 -f 8x16 iso02-8x16
>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




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