Subject: Re: machfb non-onboard cards
To: Michael <macallan18@earthlink.net>
From: Florian Stoehr <netbsd@wolfnode.de>
List: port-sparc64
Date: 07/23/2005 19:42:13
On Sat, 23 Jul 2005, Michael wrote:

> Hello,
>
>> Now let's get some card to have X on this machine!
>>
>> From machfb.c source:
>>
>>  	{ 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 }
>>
>> 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.
>
>> - 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.
>
>> 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
>

OK, I got some really cheap 4MB Rage IIc - let's see what will happen. If 
they refuse to work, I'll fetch a Rage Pro (although the IIc sould be very 
close to the Pro).

What about IIc acceleration in X, is that also broken?

Thanks
Florian