Subject: Re: X on 8600 update
To: Andreas Drewke <andreas_dr@gmx.de>
From: Michael <macallan18@earthlink.net>
List: port-macppc
Date: 09/23/2004 14:20:49
Hello,

> I used to use X86 "mac-ed" Voodooo3 2000 in my mac last year and it worked 
> great with MacOS and BeOSR5. But I would not recommend to use it with NetBSD. 
> First OpenFirmware on screen output works but is weird. There is a endian 
> problem so chars are not drawn from "top to bottom" but the opposite.
> Second. X won't work without patching XFree86. It occurs the great known mem 
> map problem and more.
I did some hacking and it works, at least for me. The problem is the vgahw module - it tries to map the VGA framebuffer which fails and then it tries to access VGA registers which fails too. The hack involves a kernel patch ( to allow mapping of $a0000 - hacked the ofb driver to redirect that to the beginning of the framebuffer ) and support to map the PCI register space. In XFree I just enabled using memory-mapped IO - awkward because different PCI busses in Macsa can have different IO areas but if you only use one card it /should/ work for all drivers ( tested tdfx and mga )

> What about the mmap problem? Was there some progress done?
See above :)

> And what about DRI (sorry, i am dr_i_ming) :)
Module loads, finds my Voodoo3 but panics when XFree tries to use it. Had to do a lot of hacking, the code looks /very/ awkward.

good luck
Michael