Port-macppc archive

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

Re: machfb (sort of) working on Mach64 GX



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On May 3, 2011, at 10:30 AM, John D. Baker wrote:

On Tue, 3 May 2011, Michael wrote:

dsp_precision = 4, dsp_loop_latency = 10,
mclk_fb_div = 228, vclk_fb_div = 181,
mclk_post_div = 2, vclk_post_div = 2
/* above is the last legible line printed at the bottom of the screen */ /* everything from this point forward is compressed into the upper- left */ /* 1/16th of the screen (1/4 width, 1/4 height). As such it is just an */ /* illegible jumble of gray and white vertical bars littered with pixel */
/* garbage that would be the screen text. */

Does the line above remain visible / readable? If it does then the mode setting code is actually doing the right thing and we screw up somewhere initialising the drawing engine.

Yes.  The lines between the "screen goes black, these lines scroll up"
comment and the above comment block remain readable as long as the
machine is running.  Console/ttyEn output makes the pixels dance in
the upper-left region of the screen as noted.

Ok, so the mode setting code works properly and I need to have a good look at the drawing engine initialisation.

Now that I've got more noise from the driver, one additional thing I'm
going to try is to see if any of the reported information is different
once I let MacOS X touch the hardware. As I noted in the past, if MacOS
X is allowed to boot first, rebooting with NetBSD sees machfb display
just fine.

It probably does the drawing engine setup for us - looks like machfb does just enough to make it work on the cards I have, which work because the firmware actually uses the drawing engine and so leaves it in a usable state. Now it's just a matter of spot the uninitialised register(s).

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBTcAU1cpnzkX8Yg2nAQJEcAf/Uc0zuslNJbb7MxGaY+c0bZAJS6p7r9G/
GF5HEBM+dw7ckKKR5QzcvXFI5fZOrMBwyFiOo4g57iVoUkEfMj8qHjs0vlMzQemh
dc0LZGKWVpCSs5pRrBdt63CbfGEoNAuhX2d3pOBkrv+ciO5ti5N6Z6CQZ4PUP0rL
iJtWutEm6laLw2NooqvcigDPxCrJEeH8SMiCJiFuKsHJ6wX6ekKeIcympflq2NKX
jF6yXeqFGKLHfXtdBRYk8NvC3yfQONwFUBA8k9X0pjPik6tR5r1ws4KHb6hTXcU3
LfTSzNXg65NuW7MnQNcECHjbXxioOiUOuq2LJOX67smMvoLgJlc0ig==
=t4fs
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index