Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jun 2012 14:16:34 +0200
From:      Marius Strobl <marius@alchemy.franken.de>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        x11@freebsd.org, freebsd-sparc64@freebsd.org, freebsd-ppc@freebsd.org
Subject:   Re: graphics/libGL regression on sparc64
Message-ID:  <20120630121634.GA94551@alchemy.franken.de>
In-Reply-To: <20120619104247.GA13630@mech-cluster241.men.bris.ac.uk>
References:  <20120619104247.GA13630@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 19, 2012 at 11:42:47AM +0100, Anton Shterenlikht wrote:
> On sparc64 r235474,
> updating from libGL-7.4.4 to 7.6.1 I get:

There are several problems preventing Xorg bits to build on sparc64
(and powerpc) since the update to 7.5.2. First, make sure you have a
ports tree with graphics/libdrm/Makefile rev. 1.25. Then apply the
following patches:
http://people.freebsd.org/~bapt/fix-hal-on-sparc64.diff
http://people.freebsd.org/~marius/dri_libGL_libdrm.diff

According to a quick test, the old server works fine with both the
mach64 and the sunffb driver on sparc64. When running `Xorg -configure`
you need to manually fix the resulting configuration file though
as any device on the PCI bus not being mach64 compatible is detected
as a radeon chip.
However, while the new server selected with WITH_NEW_XORG builds
just fine on sparc64 with these patches, it doesn't work there. For
mach64, there isn't any indication in the log why this doesn't work
besides "no screens found", although the configuration is correct,
libdrm is built without KMS support and the mach64 being detected.
For sunffb, it just segfaults.

Marius




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120630121634.GA94551>