multiheaded console: vgacon + matroxfb

Gerd Knorr (kraxel@goldbach.in-berlin.de)
Sun, 3 Jan 1999 17:31:08 +0100 (CET)


Hi *,

I've just tried what happens if there are two VGA-Boads installed in my
box. One is a s3 virge, the other a matrox mysique. The system uses the
S3 board as primary device. I've booted linux with this command line:

video=matrox:vesa:0x105,fh:64000,fv:90,novga video=vc:5-8

Ok, system comes up fine. matroxfb initializes the second vga board.
fbcon takes over vt5-vt8 which appear on the matrox monitor, the other
vt's available as vga text console on the S3.

Now my problem:
===============

The S3 has some problems with the font. setfont does'nt work. Sometimes
I just get a corrupted font, sometimes the box hangs (at least the
console, can't check network. Anyone has a spare vt100 for me?). If I
leave X11 (XF86_S3V Server), I have a corrupted font on the text console.
These problems do *not* occur if I boot with matroxfb turned off.

Anyone has a idea what happens here? Looks a bit like a hardware
problem to me, but matroxfb is configured with "novga". There should'nt
be I/O conflicts...

Hardware:

00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
Flags: bus master, medium devsel, latency 64

00:07.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] (rev 01)
Flags: bus master, medium devsel, latency 0

00:07.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] (prog-if 80)
Flags: bus master, medium devsel, latency 64
I/O ports at ffa0

00:0b.0 VGA compatible controller: Matrox Graphics, Inc. MGA 1064SG [Mystique] (rev 03)
Subsystem: Unknown device 102b:0100
Flags: stepping, medium devsel, IRQ 9
Memory at ff000000 (32-bit, prefetchable)
Memory at ffbec000 (32-bit, non-prefetchable)
Memory at fe800000 (32-bit, non-prefetchable)

00:0f.0 Multimedia video controller: Brooktree Corporation Bt848 (rev 11)
Flags: bus master, medium devsel, latency 66, IRQ 9
Memory at ffbea000 (32-bit, prefetchable)

00:11.0 VGA compatible controller: S3 Inc. ViRGE/VX (rev 02)
Flags: bus master, medium devsel, latency 64, IRQ 9
Memory at f8000000 (32-bit, non-prefetchable)

00:13.0 Multimedia audio controller: Ensoniq AudioPCI (rev 01)
Subsystem: Unknown device 4942:4c4c
Flags: bus master, slow devsel, latency 64, IRQ 3
I/O ports at ff00

The good news:
==============

bogomips kraxel ~# xinit -- /cdrbuf/xc/programs/Xserver/XF86_SVGA :0
[ ... ]
Configured drivers:
SVGA: server for SVGA graphics adaptors (Patchlevel 0):
fbdev, NV1, STG2000, RIVA128, RIVATNT, ET4000, ET4000W32, ET4000W32i,
^^^^^
[ ... ]
(--) SVGA: PCI: Matrox MGA 1064SG rev 3, Memory @ 0xff000000, 0xfe800000, MMIO @ 0xffbec000
(--) SVGA: chipset: fbdev
(--) SVGA: videoram: 4096k
(**) SVGA: Using 16 bpp, Depth 16, Color weight: 565
(--) SVGA: Maximum allowed dot-clock: 90.000 MHz
(**) SVGA: Mode "1024x768": mode clock = 85.000
(**) SVGA: Mode "800x600": mode clock = 49.000
(**) SVGA: Mode "640x480": mode clock = 36.000
(**) SVGA: Mode "400x300": mode clock = 25.000
(**) SVGA: Mode "320x240": mode clock = 15.750
(**) SVGA: Mode "PAL": mode clock = 50.000
(--) SVGA: Virtual resolution set to 1024x768
fbdev: accelerator=Matrox MGA1064SG (Mystique), fb=0xff000000+4194304k, mmio=0xffbec000+16384
(--) SVGA: Using XAA (XFree86 Acceleration Architecture)
(--) SVGA: XAA: Solid filled rectangles
(--) SVGA: XAA: Screen-to-screen copy
(--) SVGA: XAA: 8x8 color expand pattern fill
(--) SVGA: XAA: CPU to screen color expansion (TE/NonTE imagetext, TE/NonTE polytext)
(--) SVGA: XAA: Using 8 128x128 areas for pixmap caching
(--) SVGA: XAA: Caching tiles and stipples
(--) SVGA: XAA: General lines and segments
(--) SVGA: XAA: Dashed lines and segments

Runs happily on the matrox mystique, even if it works as secondary
display. Fully Accelerated. Patches against XFree 3.3.3 available by
mail.

Gerd

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/