Subject: Re: Trident video - possible?
To: None <wysoft@extremecode.org>
From: Michael <macallan18@earthlink.net>
List: port-macppc
Date: 02/10/2005 07:46:42
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

> I recently decided on a whim to stick a Trident ProVidia 9685 card 
> into my
> 7300. I didn't expect anything to happen, but lo and behold, it is
> recognized by OFW, NetBSD, and XFree86. OFW displays a device tree
> for it, I can 'dev' into its node, and it even looks like it has Apple 
> ROM
> drivers ("AAPL" something shows up under .properties). NetBSD also sees
> it, and binds wscons to it, though the display never gets initialized.
What do you mean by 'recognized' - can you get OF to display its 
console on the card? What does the device entry look like - pcixxxx or 
some proper name?

> The dissapointing thing is that, although XFree86 picks up on the 
> card, it
> can't seem to mmap the device. At least that's what it says. Sorry, I
> can't grab the error message at the moment.
That's a bug in XFree, or better - a design flaw. Lots of drivers use 
the vgahw module to talk to VGAish hardware but this module assumes a 
framebuffer at 0xa0000 which doesn't exist on macppc so mmap()ing it 
fails. The other problem is that it might need access to IO registers 
which isn't supported by current XFree. There's a workaround which 
needs changes in both the kernel and XFree though.

> So, is this normal behavior for an unspported video card, or is there 
> some
> possibility of getting this to work? If it would help, I can reply with
> the full XFree error log, and even the OFW device .properties.
NetBSD will pick up anything OF uses as console, it won't initialize 
any displays that weren't initialized by OF.

> I'm new to macppc, and would like to use X on this thing. It's fairly
> snappy, but Xmacppc hurts my eyes.
You could probably run XFree, but as I said - it requires some 
inofficial patches. And first you need to make OF use it as console ( 
setenv output-device /pci/whatever and so on )

good luck
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBQgtXsspnzkX8Yg2nAQKSvgf7Bqy+a1Cc+mrnrOIKbj7HnOhemWYrOoHp
9Ipbantk6bxm/4Jc2dCsr7H4uadYsXDUl++ST14HoJgvk2MnI1gL9mkTIf0f1t1t
c5OFmmeEAZHXOEQRGvOfCp0MF1Cef1rIZRwzzopcMjSq6dxRpr6Gy6iNmbrlXNcl
/NXF/QYFD0Tar0zR9iQ9DBkos/yFVFaHQ2oJ5KUuyGjeI0N3RkllID/wBX9PQfjo
zcybvNLDfkMT4ps0EZ3/88x1g9Lm2mAdCGrgcL/+doI0llg2f/KdpoaN+HcZsgOK
TdUADhkU+CJjCTr7Lo/OLk2PQT41eIaySDreVfHc4vdec3Q4zt13LQ==
=0M16
-----END PGP SIGNATURE-----