Index: [thread] [date] [subject] [author]
  From: Edward S. Marshall <emarshal@logic.net>
  To  : ggi-develop@eskimo.com
  Date: Sat, 29 Aug 1998 21:40:49 -0500 (CDT)

kgicon partial success...

Hi,

Semi-successful load of kgicon over here. Video card is a Diamond Stealth
64 DRAM (S3 Vision 964, according to the docs, with 1M), monitor is your
standard bargain-basement 14" SVGA fare. :-)

When I run the included "insert" script, the module loads, and the screen
goes completely white. Flipping to other VCs reveals black screens.
Flipping back to the original, and typing clear, gives me a look at what
is actually there: a text mode which has a visible area of about 10
characters horizontally, and 6 1/2 vertically.

Each character is rendered with a several pixel gap between each
horizontal line. When you wrap around the edge, you remain on the same
text line, but character rendering is done one pixel lower, until you
reach 80 characters, at which point you have a solid character (if you've
been typing the same character the whole time), and you skip to the next
text line.

Aside from the strangeness of font rendering, the console appears to work
just fine. I can actually stty my screen down to 10x6, and even vi works
properly. ;-)

Here's what dmesg gave me:

IBM VGA chipset driver rev $Revision: 1.3 $
Detected 256KBytes of Video RAM
Monosync monitor driver rev $Revision: 1.4 $
monosync.c:95: standard 14" Super VGA (1024x768 pxl, 240 x 180 mm<B2>, 31-58 kHz, 50-75 Hz)
VGA DAC driver rev. $Revision: 1.1 $
VGA clock driver rev $Revision: 1.1 $,  common code:$Revision: 1.2 $
IBM VGA driver loaded.
kgifb_init: xres 640 yres 400 bpp 8 vaddr 0xc00a0000 paddr 0xa0000 size 65536
Console: switching to colour frame buffer device 80x25
fb0: KGI frame buffer device using 64K of video memory

Here's my kgicon .config:

MON_CLASS=monosync
MON_TYPE=SVGA
CHIP_CLASS=IBM
CHIP_TYPE=vga
ACCEL_CLASS=IBM
ACCEL_TYPE=vga
CLK_CLASS=fixed
CLK_TYPE=vga
DAC_CLASS=IBM
DAC_TYPE=vga

Relevant kernel config is:

CONFIG_VGA_CONSOLE=y
CONFIG_VIDEO_SELECT=y
CONFIG_FB=y
CONFIG_DUMMY_CONSOLE=y
# CONFIG_FB_VGA is not set
# CONFIG_FB_VESA is not set
CONFIG_VIDEO_SELECT=y
# CONFIG_FB_MDA is not set
# CONFIG_FB_VIRTUAL is not set
CONFIG_FBCON_ADVANCED=y
CONFIG_FBCON_MFB=y
CONFIG_FBCON_CFB2=y
CONFIG_FBCON_CFB4=y
CONFIG_FBCON_CFB8=y
CONFIG_FBCON_CFB16=y
CONFIG_FBCON_CFB24=y
CONFIG_FBCON_CFB32=y
# CONFIG_FBCON_AFB is not set
# CONFIG_FBCON_ILBM is not set
# CONFIG_FBCON_IPLAN2P2 is not set
# CONFIG_FBCON_IPLAN2P4 is not set
# CONFIG_FBCON_IPLAN2P8 is not set
# CONFIG_FBCON_MAC is not set
CONFIG_FBCON_VGA=y
# CONFIG_FBCON_FONTWIDTH8_ONLY is not set
# CONFIG_FBCON_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y

It's *almost* there (previously, console would completely lock up on me).
Any help/assistance would be greatly appreciated. Output of "sysinfo" is
attached below; I can supply any other information you might need to help
with this.

-- 
-------------------.  emarshal at logic.net  .---------------------------------
Edward S. Marshall  `-----------------------'   http://www.logic.net/~emarshal/

   Linux labyrinth 2.1.117 #2 SMP Thu Aug 20 21:20:49 CDT 1998 i586 unknown
           9:25pm up 20 min, 4 users, load average: 0.00, 0.60, 1.08

# Configuration info for labyrinth.logic.net :
# Hardware Setup:

[CPU]
processor	: 0
cpu family	: 5
model		: Pentium 75+
vendor_id	: GenuineIntel
stepping	: 4
fdiv_bug	: no
hlt_bug		: no
sep_bug		: no
f00f_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr mce cx8
bogomips	: 29.90


[PCI]
PCI devices found:
  Bus  0, device   0, function  0:
    Unknown class: Silicon Integrated Systems 85C501 (rev 57).
      Fast devsel.  Master Capable.  No bursts.  Max Lat=128.
      Non-prefetchable 32 bit memory at 0x80000010 [0x80000010].
      Prefetchable 64 bit memory at 0x80000010 [0x8000001c].
      Non-prefetchable 32 bit memory at 0x80000020 [0x80000020].
  Bus  0, device   1, function  0:
    Non-VGA device: Silicon Integrated Systems 85C503 (rev 0).
      Medium devsel.  Master Capable.  No bursts.  
  Bus  0, device   9, function  0:
    VGA compatible controller: S3 Inc. Trio32/Trio64 (rev 0).
      Medium devsel.  
      Non-prefetchable 32 bit memory at 0xfb000000 [0xfb000000].
  Bus  0, device  13, function  0:
    IDE interface: CMD 640 (buggy) (rev 2).
      Medium devsel.  IRQ e.  

[SCSI]


# Ressources:

[PORTS]
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01e8-01ef : ide2
01f0-01f7 : ide0
0220-022f : soundblaster
02f8-02ff : serial(auto)
0376-0376 : ide1
0388-038b : OPL3/OPL2
03bc-03be : parport0
03c0-03df : vga+
03ee-03ee : ide2
03f6-03f6 : ide0
03f8-03ff : serial(auto)

[IRQ]
           CPU0       
  0:     209249          XT-PIC  timer
  1:      10461          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  3:     200961          XT-PIC  serial
  4:       2987          XT-PIC  serial
  7:         12          XT-PIC  soundblaster
  8:          0          XT-PIC  rtc
 11:          1          XT-PIC  ide2
 13:          0          XT-PIC  fpu
 14:      29614          XT-PIC  ide0
 15:     386638          XT-PIC  ide1
NMI:          0
IPI:          0

[DMA]
 1: SoundBlaster8
 4: cascade
 5: SoundBlaster16


# Kernel Setup:

[VERSION]
Linux version 2.1.117 (kernel@labyrinth) (gcc version 2.7.2.3) #2 SMP Thu Aug 20 21:20:49 CDT 1998

[MODULES]
cdrom                  10988   0 (autoclean) (unused)
vfat                   13688   2 (autoclean)
fat                    24148   2 (autoclean) [vfat]


# Graphics card:

[BIOS]
cardinfo

Index: [thread] [date] [subject] [author]