Port-sparc64 archive

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

Re: Modular xorg on NetBSD/sparc64



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

Hello,

On Jan 6, 2008, at 10:00, Pierre Pronchery wrote:

                Hello,

I've just managed to compile and run modular-xorg-server 1.3.0.0nb3 from pkgsrc-2007Q3 on my Ultra 60. It is not perfect yet (see the end of this
mail). I did not have too many things to change:

$ cd /usr/pkgsrc/x11/modular-xorg-server && make configure
- hw/xfree86/os-support/bus/Makefile:
  * uncommented "am__objects_10 = Sbus.lo" line 84
- hw/xfree86/os-support/bus/Sbus.c:
* included changes from xsrc (the file is attached, it doesn't add too
many #ifdef)
- hw/xfree86/os-support/bus/xf86Sbus.h:
  * added these two lines under "#elif defined(__NetBSD__)":
    #  include <dev/sun/fbio.h>
    #  include <dev/ofw/openfirmio.h>
    (this file is attached too)
- hw/xfree86/common/Makefile:
  * uncommented "am__objects_2 = xf86sbusBus.lo" line 78
$ make package

I then installed the stock xf86-video-sunffb-1.1.0.tar.gz from
ftp.freedesktop.org. I did not check if the one from xsrc has patches to
backport yet.

I can provide an actual pkgsrc patch for xf86Sbus.h and Sbus.c, but I
did not find how to include the sbus bits for compilation properly.

Just mail whatever you've got to the package maintainer.

The issue now is that Xorg constantly consumes 100% CPU. Widgets in
WindowMaker and Gtk+ draw very slowly, I can see every blit appear
sequentially with steps of 0.5s. The pixbuf demo from gtk-demo is
running decently though.

As martin said - that's been fixed in xsrc. The relevant file is drivers/sunffb/VISmoveimage.s, you can probably just copy it over from xsrc and rebuild the sunffb driver.

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

iQEVAwUBR4JLvMpnzkX8Yg2nAQJ1Bgf/a8Wlbz/cOqgYAuXrgzpm8ZpFzN7Rlq10
EQ48bHPpOiQOqAcdzeI/VZ5wA6dkjFtkF76B0Bpu6HhPQhtUMfcSZjiyGUj3xNrh
UEB2+9aR5Pk9p+WjFFHFuHr+Q3QGQBMHtDtl1X+Qs6/CvW6sGAfw7Rls+ZoR5Xro
NZD4VfNLp3H8kIZVj0DOy5hX70m/C4tkVqlEJXsQ0jn2rpWIqw0TnIvXh7p1naiO
LibXunqqyoQM92uZnri+S+ABZFlKeylt0pWs/c9hS4rforhjGb5NOQxH3Nz5oSr6
SuoDqV7J94Z2iWkqaNCo/ploJxZ5QAlXxSzBn9i7S6TPSIDy6338fg==
=OCnm
-----END PGP SIGNATURE-----



Home | Main Index | Thread Index | Old Index