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



On Thu, 28 Apr 2011, Michael wrote:

There is one way to find out if the mode setting code is the culprit ( it probably is ).
In mach4_attach() look for this:
if (setmode)
        mach64_modeswitch(sc, sc->sc_my_mode);

and comment it out.

I'll do that next.  In the meantime:

So, someone with an iMac please try the above, build a kernel with options MACHFB_DEBUG and send me the kernel output ( it should contain a dump of the monitor's EDID block ). With that I should be able to tell wether the logic that picks a video mode is faulty ( it probably is, since the iMac's CRTs require a fixed horizontal frequency which is rather unusual ).

Done.  Actually, MACHFB_DEBUG and DIAGNOSTIC set, but only in machfb.c
itself.

The resulting dmesg can be found at:

  http://bobdbob.com/~jdbaker/nbsd-debug/dmesg-machfb-debug-GENERIC.txt

I've inserted some /* comments about what the screen is doing */ at
a few key points.

--
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index