From owner-freebsd-sparc64@FreeBSD.ORG Sat Jun 30 12:16:51 2012 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA40F1065670; Sat, 30 Jun 2012 12:16:51 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 4E4F68FC08; Sat, 30 Jun 2012 12:16:51 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.4/8.14.4/ALCHEMY.FRANKEN.DE) with ESMTP id q5UCGYWF094650; Sat, 30 Jun 2012 14:16:35 +0200 (CEST) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.4/8.14.4/Submit) id q5UCGY8Q094649; Sat, 30 Jun 2012 14:16:34 +0200 (CEST) (envelope-from marius) Date: Sat, 30 Jun 2012 14:16:34 +0200 From: Marius Strobl To: Anton Shterenlikht Message-ID: <20120630121634.GA94551@alchemy.franken.de> References: <20120619104247.GA13630@mech-cluster241.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120619104247.GA13630@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.4.2.3i Cc: x11@freebsd.org, freebsd-sparc64@freebsd.org, freebsd-ppc@freebsd.org Subject: Re: graphics/libGL regression on sparc64 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jun 2012 12:16:51 -0000 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