Port-ofppc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: call for testers - switching ofppc to xorg X11
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
On Dec 5, 2010, at 4:35 AM, matthew green wrote:
On Thu, 02 Dec 2010 22:38:59 +1100
matthew green <mrg%eterna.com.au@localhost> wrote:
i got around to testing this myself. i have a problem with X -
configure
doesn't work because it tries to enable IO access via
xf86EnableIO()
and the PCI_MAGIC_IO_RANGE code (ppc_video.c) but the
screxf86Info.screenFd is set to -1 so it doesn't work:
[ 333.725] (WW) xf86EnableIO -1
[ 333.725] (II) xf86EnableIO: ffffffff
[ 333.726] (WW) Can't map IO space!
screenFd should be a handle to ttyE0, used earlier to
ioctl(WSDISPLAYIO_SMODE, WSDISPLAYIO_MODE_MAPPED) and such. In doubt
do what macppc does.
it isn't setup during X -configure for ofppc.
As I said, wsfb can't be probed in a sane way. As for the other
drivers - for most of those which use the old probe method won't do
anything because the API calls they use to find their hardware are
broken now. The new method is exclusively for PCI, we can't convert
drivers like wsfb, crime or anything UPA or SBus to it.
i tried with an xorg.conf and it started up, but with an 800x600
display. it also has the same problem above:
[ 153.944] (WW) xf86EnableIO -1
[ 153.945] (II) xf86EnableIO: ffffffff
[ 153.945] (WW) Can't map IO space!
even in this case, but it doesn't seem to truly break it.
Depends on the graphics driver - if it tries to do anything PIO, like
accessing the legacy VGA registers, it will bork. Since wsfb doesn't
know about those you're safe for now. If you're trying to use anything
not from ATI ( even the mach64 has everything available via MMIO )
you'll probably run into problems, and especially older chips tend to
have only the drawing engine in MMIO registers and mode setup in
extended VGA registers.
i'm going to switch ofppc to xorg by default... and we'll fix these
issues.
I'm still trying to figure out what exactly broke X -configure :/
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iQEVAwUBTPxGFMpnzkX8Yg2nAQIA+QgAloWgD46FaqQYvJzPJICM5WFSVszZuU9d
ijBvtNpvxHedXXVQTsK+mkNSxaLlD9/+1NBPKZD8cJOKx9Lp0zbw3KvVsKpxnIVd
KbEjZRYeYvEzp2HcFd3Mlv0l0rDTANibLXjJJu+kCzlP43C2dwkmDNprPg3clkuT
W0ZCsAkyD8Hd3ZSIP1INqKInQlIxeOGd2S4voqbrbXzomkD71Izot1wOe27CDqE4
b/zhjOL+R/oVXr3ZxFYflePIWicpdCarC2OM36OH5bMg6OWsP8sYmlGL+TT7wIYR
Xmk/4o40+fAkZybgJl/0U+FcZSvDIK3YI5hRcc0VTNGFuMDJKsmM/w==
=c4rJ
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index