[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Troubles upgrading from 200 MHz P2 to 400 MHz G3...



    >    * What kernel and/or what driver runs the ix3D properly (if any)?

    What graphics chip does it have? If you don't know, please post the output of
    'lspci|grep VGA'.

Here's the whole bus, or, at least all of PCI bus that 2.2.18 <vanilla> can
find:

    # lspci -v
    00:0b.0 Host bridge: Apple Computer Inc. Bandit PowerPC host bridge (rev 03)
	    Flags: bus master, medium devsel, latency 32

    00:0d.0 USB Controller: OPTi Inc. 82C861 (rev 10) (prog-if 10 [OHCI])
	    Subsystem: OPTi Inc. 82C861
	    Flags: bus master, medium devsel, latency 32, IRQ 23
	    Memory at 80800000 (32-bit, non-prefetchable) [disabled]

    00:0e.0 VGA compatible controller: S3 Inc. 86c764/765 [Trio32/64/64V+] (rev 54) (prog-if 00 [VGA])
	    Flags: medium devsel, IRQ 24
	    Memory at 84000000 (32-bit, non-prefetchable) [disabled]
	    Expansion ROM at 80810000 [disabled]

    00:0f.0 Display controller: Integrated Micro Solutions Inc.: Unknown device 9135 (rev 01)
	    Flags: medium devsel, IRQ 25
	    Memory at 90000000 (32-bit, prefetchable)
	    Expansion ROM at 80840000 [disabled]

    00:10.0 Class ff00: Apple Computer Inc. Grand Central I/O (rev 02)
	    Flags: bus master, medium devsel, latency 32
	    Memory at f3000000 (32-bit, non-prefetchable)

'lspci' and/or LINUX only seems to be seeing PCI bus 0, which everything
except a wide-SCSI card is currently plugged into.  The so-called 'IMS'
card (actually an ix3D) iswhat MacOS and LINUX are able to use so far.

For those not listening earlier, i have a PowerMac 9500 with an XLR8 400 MHz 
G3, a IXMicro video card and a couple of other things that don't quite work
right yet.  I'm using 2.2.18 per Ethan Benson's suggestion, currently on
the 'unstable' branch.  I also have a 2.4.0-test4 kernel which works except
for minor mouse confusion.  (Hey, i find the 'unstable' branch of Debian far
more reliable than Windows NT 4.0!)

Here's some 'dmesg' extracts which might be helpful:

    Total memory = 384MB; using 2048kB for hash table (at c0400000)
    Linux version 2.2.18 (tvr@G3) (gcc version 2.95.2 20000220 (Debian GNU/Linux)) #6 Fri Feb 9 16:28:53 PST 2001
    PCI bus 0 controlled by bandit at f2000000
    Cache coherency enabled for bandit/PSX at f2000000
    PCI bus 1 controlled by bandit at f4000000
    Cache coherency enabled for bandit/PSX at f4000000
	...
    Memory: 384740k available (1240k kernel code, 7152k data, 84k init) [c0000000,d8000000]
	...
    MacOS display is /bandit/IMS,tt3d
    Using unsupported 1024x768 IMS,tt3d at 90000020, depth=8, pitch=1024
    Console: switching to colour frame buffer device 128x48
    fb0: Open Firmware frame buffer device on /bandit/IMS,tt3d

And here's an X server's opinion

    XFree86 Version 4.0.2 / X Window System
    (protocol Version 11, revision 0, vendor release 6400)
    Release Date: 18 December 2000
	...
    (II) LoadModule: "pcidata"
    (II) Loading /usr/X11R6/lib/modules/libpcidata.a
    (II) Module pcidata: vendor="The XFree86 Project"
	    compiled for 4.0.2, module version = 0.1.0
	    ABI class: XFree86 Video Driver, version 0.3
    (II) PCI: PCI scan (all values are in hex)
    (II) PCI: 00:0b:0: chip 106b,0001 card 0000,0000 rev 03 class 06,00,00 hdr 00
    (II) PCI: 00:0d:0: chip 1045,c861 card 1045,c861 rev 10 class 0c,03,10 hdr 00
    (II) PCI: 00:0e:0: chip 5333,8811 card 0000,0000 rev 54 class 03,00,00 hdr 00
    (II) PCI: 00:0f:0: chip 10e0,9135 card 0000,0000 rev 01 class 03,80,00 hdr 00
    (II) PCI: 00:10:0: chip 106b,0002 card 0000,0000 rev 02 class ff,00,00 hdr 00
    (II) PCI: End of PCI scan
    (II) LoadModule: "scanpci"
    (II) Loading /usr/X11R6/lib/modules/libscanpci.a
    (II) Module scanpci: vendor="The XFree86 Project"
	    compiled for 4.0.2, module version = 0.1.0
	    ABI class: XFree86 Video Driver, version 0.3
    (II) UnloadModule: "scanpci"
    (II) Unloading /usr/X11R6/lib/modules/libscanpci.a
    (II) Host-to-PCI bridge:
    (II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x00 (VGA_EN is cleared)
    (II) Bus 0 I/O range:
	    [0] -1	0x00000000 - 0x0000ffff (0x10000) IX[B]
    (II) Bus 0 non-prefetchable memory range:
	    [0] -1	0x00000000 - 0xffffffff (0x0) MX[B]
    (II) Bus 0 prefetchable memory range:
	    [0] -1	0x00000000 - 0xffffffff (0x0) MX[B]
    (--) PCI: (0:14:0) S3 Trio32/64 rev 84, Mem @ 0x84000000/26
    (--) PCI: (0:15:0) IMS unknown chipset (0x9135) rev 1, Mem @ 0x90000000/27
    (II) Addressable bus resource ranges are
	    [0] -1	0x00000000 - 0xffffffff (0x0) MX[B]
	    [1] -1	0x00000000 - 0x0000ffff (0x10000) IX[B]
    (II) OS-reported resource ranges:
    (II) Active PCI resource ranges:
	    [0] -1	0xf3000000 - 0xf3ffffff (0x1000000) MX[B]E
	    [1] -1	0x80840000 - 0x8087ffff (0x40000) MX[B](B)
	    [2] -1	0x90000000 - 0x97ffffff (0x8000000) MX[B](B)
    (II) Inactive PCI resource ranges:
	    [0] -1	0x80800000 - 0x80ffffff (0x800000) MX[B]E
	    [1] -1	0x80810000 - 0x8081ffff (0x10000) MX[B](B)
	    [2] -1	0x84000000 - 0x87ffffff (0x4000000) MX[B](B)
    (II) Active PCI resource ranges after removing overlaps:
	    [0] -1	0xf3000000 - 0xf3ffffff (0x1000000) MX[B]E
	    [1] -1	0x80840000 - 0x8087ffff (0x40000) MX[B](B)
	    [2] -1	0x90000000 - 0x97ffffff (0x8000000) MX[B](B)
    (II) OS-reported resource ranges after removing overlaps with PCI:
    (II) All system resource ranges:
	    [0] -1	0xf3000000 - 0xf3ffffff (0x1000000) MX[B]E
	    [1] -1	0x80840000 - 0x8087ffff (0x40000) MX[B](B)
	    [2] -1	0x90000000 - 0x97ffffff (0x8000000) MX[B](B)
	    [3] -1	0x80800000 - 0x80ffffff (0x800000) MX[B]E
	    [4] -1	0x80810000 - 0x8081ffff (0x10000) MX[B](B)
	    [5] -1	0x84000000 - 0x87ffffff (0x4000000) MX[B](B)
	...
    #

As you can see, there is now also another display card plugged in, which
MacOS doesn't recognize.  (I also have a TGUI9685 card, if that helps might
work.)  I don't care much which works with X, but i presume i need it to
be in native (as opposed toMacOS framebuffer) mode, as my eyesight requires
the resolution to be dynamically set in X Windows.  I also don't care much
which version of X Windows i run.

I have gotten ix3D get vaguely coherent results now, by setting the
MacOS screen parameters to 1024x768x8.  Then the penguin and the text
look clean upon bootup via either BootX or the HFS boot floppy, except
that everything is rotated about 4 character positions to the left [32
bits perhaps??] and characters are not erased properly when the screen
is redrawn.  I've not managed to get an X server to work properly in
native mode, only text-only video when the MacOS (and/or its boot ROM?)
has left the card in the right state.  It runs happily at a various
fixed resolutions and color depths using the MacOS frame buffer code,
but i can't change that without booting into the MacOS 'Finder'.

Questions:

   * What kernel and/or what driver runs the ix3D properly (if any)?     

   * Can the S3 Trio64+ or TGUI9685 be made to work under X Windows at 
     least (even if i have to recable for MacOS)?

   * Is the ixMicro card (or one of the above substitues) even worth
     bothering with?  If not, are there modestly priced video cards 
     which are Mac-compatable and LINUX-friendly?  (I don't care how
     well they work for games and/or 3D, as i don't play with them.)

Let's try one problem at a time and see if progress can be made that way.
I don't mind kernel or driver hacking to make this thing work, but i want
to do something reasonably expedient about this.

				   -- Tovar



Reply to: