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 Apr 28, 2011, at 2:28 PM, David Riley wrote:
The other possibility is (as mentioned) the CRT handling being
buggy, since the iMac had some interesting restrictions on modes. I
wish my parents' old Rev B iMac was still alive and well... maybe
they still have it. I'll check.
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.
The idea was to use the monitor's EDID data to pick a better mode than
OpenFirmware does ( as in, higher refresh rate if the monitor allows
it since OF is rather restrictive in which modes it allows ), which
may or my not work correctly on an iMac's built-in screen.
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 ).
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iQEVAwUBTbm+7spnzkX8Yg2nAQIt4Qf/QoLMGWywc9mPyx5GZ0nU+q+qIOgYs6ND
hbC5+Ha+9g3JWGzh+NS0PjrwywJX6SOyLuNcCVvtgIBTfaJNHVyfT7H8HOO+cpU3
ZrWoQz2MxfHlQd1KXaex8cMpSt+aKsLDIK/A3sIE+AOrOwRbGNd9TXJ9eS4tE+Ww
8th0+st3ykFO+ZDZTpv/jE4IV0bXHgtVjrBLB0GdkbH8eZBTsxq8PNqlfIP4U4ZP
w0cYTRyByGecrf09fvFrKEVTraL1wAByprhqkgUXToca12Pg+TzTxTxuhrqLQ67j
4sDg7nuxryBA2QyubZuxvfFqpqFjLWkf0hkQP9lnA9uxTW4mFpMFUw==
=l+ui
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index