Port-macppc archive

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

Re: macppc, XFree86, -current, lack of magic



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

Hello,

On May 11, 2008, at 00:56, Jonathan A. Kollasch wrote:

I'm playing with -current on a G3 slot-loading iMac,

I've had base's XFree86 working w/ 4.0, but that XF86Config
no longer works.

Yeah, we changed the way X finds graphics devices.

...
(==) Using config file: "/etc/X11/XF86Config".
xf86OpenConsole
(WW) R128: No matching Device section for instance (BusID PCI: 0:0:0) found
(EE) No devices detected.

Fatal server error:
no screens found


The Rage is at PCI:0:16:0, so this is making little sense to me.

Since XFree86 doesn't support PCI domains on NetBSD it can only see devices visible through the 1st host bridge. This means you wouldn't be able to use a PCI graphics board in any AGP-equipped Mac, or only cards in specific slots in Macs with more than one PCI bus. To get around that we changed X to look for PCI graphics chips via / dev/ttyE0 so it will always find whatever graphics chip is your console no matter which bus it's on. That's where PCI:0:0:0 comes from.

When I change it to PCI:0:0:0, things fail spectacularly.
So something seems awry.

Yeah, the module loader is broken on powerpc - it doesn't work with the new malloc routine in libc - it expects malloc to return memory chunks close enough together that 24bit relocs always work, something that was true with the old malloc.
Xorg doesn't have this problem.
So, please try pkgsrc/x11/modular-xorg, it /should/ just work on pretty much any Mac, the only graphics hardware that might not work are ancient, proprietary Apple onboard graphics chips ( /chaos/ control and friends ) If you really need XFree86 there's a workaround - you can build a libc with the old malloc with relatively little hassle.

have fun
Michael

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

iQEVAwUBSCcFp8pnzkX8Yg2nAQKhcggAlF0VJuLB/xzB5EehWOLTQUEpAjLdgXG2
XT/fY4E7H0ujtm0RQppts2QmjYtF8nBvztL8BCjvi6jzh9z8FvlMF81CJGNu4+47
NWhvkf7KV0ld1koB8wjKsRR4Nr+u5Is+dkA6l5WNn0ukO69Ix065GnftGZsLHk0Y
dx+A36B062WoMfNkCsUaKoWAyXR/oOcmxCWi/Evl43Xc3yZSxzuYva0qiIJWvRsb
ZV2cUTkIZUhP0vJJX961O/nhQ4A7JqthPS7Be55pbYqOPqKhxmApl0/dHqVgJBY+
Xq6cNkv56kxWamfz1gk2TsCAj3SOkceky68fzcG1HKMeKXGL5MV2AA==
=bFTv
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index