Subject: Re: machfb non-onboard cards
To: Florian Stoehr <netbsd@wolfnode.de>
From: Michael <macallan18@earthlink.net>
List: port-sparc64
Date: 07/23/2005 12:55:14
--Signature_Sat__23_Jul_2005_12_55_14_-0400_2zPdxwPbllfoDrfE
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> Now let's get some card to have X on this machine!
>=20
> From machfb.c source:
>=20
>  	{ PCI_PRODUCT_ATI_MACH64_CT, 135000 },
>  	{ PCI_PRODUCT_ATI_RAGE_PRO_AGP, 230000 },
>  	{ PCI_PRODUCT_ATI_RAGE_PRO_AGP1X, 230000 },
>  	{ PCI_PRODUCT_ATI_RAGE_PRO_PCI_B, 230000 },
>  	{ PCI_PRODUCT_ATI_RAGE_XL_AGP, 230000 },
>  	{ PCI_PRODUCT_ATI_RAGE_PRO_PCI_P, 230000 },
>  	{ PCI_PRODUCT_ATI_RAGE_PRO_PCI_L, 230000 },
>  	{ PCI_PRODUCT_ATI_RAGE_XL_PCI, 230000 },
>  	{ PCI_PRODUCT_ATI_RAGE_II, 135000 },
>  	{ PCI_PRODUCT_ATI_RAGE_IIP, 200000 },
>  	{ PCI_PRODUCT_ATI_RAGE_IIC_PCI, 230000 },
>  	{ PCI_PRODUCT_ATI_RAGE_IIC_AGP_B, 230000 },
>  	{ PCI_PRODUCT_ATI_RAGE_IIC_AGP_P, 230000 },
>  	{ PCI_PRODUCT_ATI_RAGE_LT_PRO_AGP, 230000 },
>  	{ PCI_PRODUCT_ATI_RAGE_MOB_M3_PCI, 230000 },
>  	{ PCI_PRODUCT_ATI_RAGE_MOB_M3_AGP, 230000 },
>  	{ PCI_PRODUCT_ATI_RAGE_LT, 230000 },
>  	{ PCI_PRODUCT_ATI_RAGE_LT_PRO_PCI, 230000 },
>  	{ PCI_PRODUCT_ATI_RAGE_MOBILITY, 230000 },
>  	{ PCI_PRODUCT_ATI_RAGE_LT_PRO, 230000 },
>  	{ PCI_PRODUCT_ATI_MACH64_VT, 170000 },
>  	{ PCI_PRODUCT_ATI_MACH64_VTB, 200000 },
>  	{ PCI_PRODUCT_ATI_MACH64_VT4, 230000 }
>=20
> so any cheap Rage II Pro PCI should work, eh?

Sort of. Machfb has been confirmed to work just fine on macppc with some
Apple graphics chips.

> Unfortunately, the ati X driver is not that documented.

Indeed. I'd like to say that whatever works with machfb works also with
XFree's ati driver but unfortunately that's not true. Rage II chips for
instance work fine with machfb ( at least on sparc64 ) but for X you
need to disable acceleration.

> Two questions:
> - Will any of those work with the ati X driver included in 3.99.7 X?

Most of them will.=20

> - Always seeing "onboard" when talking about machfb, I hope it WILL
> also  do when plugging in a stand-alone card?

It shouldn't make a difference.=20

> This machine has keyboard/mouse through USB only, will that be a
> problem?

No, as long as the USB chip is supported.

Since you need a card with Sun firmware support you don't have much
choice. What should work are:
- PGX24 cards. Should be a 2MB Rage II or 4MB Rage Pro - don't bother
with the 2MB variant, X won't work with acceleration enabled.
- PGX64 cards. These use the Rage XL chip. Should work with machfb,
probably problematic with X - I seem to remember a discussion about this
chip ( in a Blade 100? ) but I can't find it. Maybe someone else can
comment on this.

What won't work out of the box but may with some hacking:
- PGX32 - they're Permedia2-based. We have no fitting console driver but
there's an unofficial generic PCI framebuffer driver. Supported by
XFree's glint driver which may or may not work on sparc64
- XVR-100 - uses a Radeon 7000. No fitting console driver but there's
this unofficial thing. Supported by XFree's radeon driver which is known
to work on macppc so chances are it will work on sparc64 too.

So your best bet to get away without too much hassle is a 4MB Rage
Pro PGX24.

have fun
Michael

--Signature_Sat__23_Jul_2005_12_55_14_-0400_2zPdxwPbllfoDrfE
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQuJ2c8pnzkX8Yg2nAQIS2gf/VfRhbAOStVZ52vr19oj46I/4wKuW5Nfl
OXXJS5bYYN6jozF2kY+2C0crtwF/9UbUuOr+Raf8Ivow69+G7GptGfHiedGUsANN
Z6Jl2sE1Jm/WDQOz7Muu71Q8Vrym0Dz206l9TlceVVpu9NRJcYsnprED+/9AsrI8
alF+USV/9C+nJ6/EMrBBV0Gv/h4K8TEw/xzsb8XNmbOr32vuRFzQOgGPZUslUL2b
u8IrSruuLcpjuU3Ei5HI+0xOUZu2s+LASMVdmIgu4mwai3WsIAzNozUvwPGqUNos
eJeYcav+qvwRxKKtSfwM7OGik+hFyHbQyD6qZyv6v3ZkyE/t+E3oUg==
=HO2v
-----END PGP SIGNATURE-----

--Signature_Sat__23_Jul_2005_12_55_14_-0400_2zPdxwPbllfoDrfE--