Index: [thread] [date] [subject] [author]
  From: Bob Barry <bobb@adsme.co.za>
  To  : GGI mailing list <ggi-develop@eskimo.com>
  Date: Fri, 14 May 1999 13:29:43 +0200

Re: Multiple ATI Video Cards

The "lower slot number" ATI card was replaced with an S3 Virge.  At boot,
several lines of text were displayed by the S3V, then display was
transferred to the ATI.  The ATI was assigned to fb0, but its output was a
raster of vertical lines.  With the console unuseable, the following status
was obtained by logging in remotely:

=====================================

"dmesg" shows:

PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
NET4: Linux IPX 0.38 for NET4.0
IPX Portions Copyright (c) 1995 Caldera, Inc.
Starting kswapd v 1.5 
atyfb: 3D RAGE IIC (PCI) [0x4756 rev 0x7a] 512K RESV, 230 MHz PLL, 83 Mhz MCLK
Console: switching to colour frame buffer device 80x60
fb0: ATY Mach64 frame buffer device on PCI
Detected PS/2 Mouse Port.

NO SIGN OF THE S3 VIRGE CARD!

=====================================

"lspci -vvx" shows:

00:0b.0 VGA compatible controller: S3 Inc. ViRGE/DX or /GX (rev 01)
	Subsystem: Unknown device 5333:8a01
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 4 min, 255 max, 64 set
	Interrupt: pin A routed to IRQ 5
	Region 0: Memory at e4000000 (32-bit, non-prefetchable)
00: 33 53 01 8a 07 00 00 02 01 00 00 03 00 40 00 00
10: 00 00 00 e4 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 33 53 01 8a
30: 00 00 00 e9 00 00 00 00 00 00 00 00 05 01 04 ff

00:0c.0 VGA compatible controller: ATI Technologies Inc 215IIC [Mach64 GT IIC] (rev 7a)
	Subsystem: Unknown device 1002:0088
	Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Interrupt: pin A routed to IRQ 10
	Region 0: Memory at ea000000 (32-bit, prefetchable)
	Region 1: I/O ports at 6c00 [disabled]
	Region 2: Memory at ec000000 (32-bit, non-prefetchable)
	Capabilities: [5c] Power Management version 1
		Flags: PMEClk- AuxPwr- DSI- D1- D2- PME-
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 02 10 56 47 82 00 90 02 7a 00 00 03 08 40 00 00
10: 08 00 00 ea 01 6c 00 00 00 00 00 ec 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 02 10 88 00
30: 00 00 00 eb 5c 00 00 00 00 00 00 00 0a 01 08 00

ATI CARD I/O PORTS DISABLED

=====================================

"fbset -s -v -i" shows:

Linux Frame Buffer Device Configuration Version 2.0-pre (28/10/1998)
(C) Copyright 1995-1998 by Geert Uytterhoeven

Opening frame buffer device `/dev/fb0'
Using current video mode from `/dev/fb0'

mode "name"
    # D: 25.172 MHz, H: 31.466 kHz, V: 59.934 Hz
    geometry 640 480 640 793 8
    timings 39726 48 16 33 10 96 2
endmode

Getting further frame buffer information
Frame buffer device information:
    Name        : ATY Mach64
    Address     : 0xea000000
    Size        : 520192
    Type        : PACKED PIXELS
    Visual      : PSEUDOCOLOR
    XPanStep    : 8
    YPanStep    : 1
    YWrapStep   : 0
    LineLength  : 640
    MMIO Address: 0xea7ff800
    MMIO Size   : 2048
    Accelerator : ATI Mach64GT


=====================================

"fbset "800x600-60" -v" changes fbo mode:

Linux Frame Buffer Device Configuration Version 2.0-pre (28/10/1998)
(C) Copyright 1995-1998 by Geert Uytterhoeven

Opening frame buffer device `/dev/fb0'
Reading mode database from file `/etc/fb.modes'
Using video mode `800x600-60'
Setting video mode to `/dev/fb0'

=====================================

"fbset -v" reads new state of fb0:

Linux Frame Buffer Device Configuration Version 2.0-pre (28/10/1998)
(C) Copyright 1995-1998 by Geert Uytterhoeven

Opening frame buffer device `/dev/fb0'
Using current video mode from `/dev/fb0'

mode "name"
    # D: 39.954 MHz, H: 37.835 kHz, V: 60.247 Hz
    geometry 800 600 800 600 8
    timings 25029 88 40 23 1 128 4
    hsync high
    vsync high
endmode

Getting further frame buffer information
Frame buffer device information:
    Name        : ATY Mach64
    Address     : 0xea000000
    Size        : 520192
    Type        : PACKED PIXELS
    Visual      : PSEUDOCOLOR
    XPanStep    : 8
    YPanStep    : 1
    YWrapStep   : 0
    LineLength  : 800
    MMIO Address: 0xea7ff800
    MMIO Size   : 2048
    Accelerator : ATI Mach64GT

MODE SEEMS TO HAVE CHANGED PROPERLY, BUT SCREEN IS STILL
A RASTER OF GREEN VERTICAL LINES

=====================================

The fault seems not to be associated with fb0, but rather with
"framebuffer using card which is not in lowest pci video slot".

Does this give anyone an idea of where the fault is?

Bob Barry

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