From owner-freebsd-ppc@FreeBSD.ORG Sun Jan 19 18:58:17 2014 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4B79AC63; Sun, 19 Jan 2014 18:58:17 +0000 (UTC) Received: from smtpauth4.wiscmail.wisc.edu (wmauth4.doit.wisc.edu [144.92.197.145]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 15463142B; Sun, 19 Jan 2014 18:58:16 +0000 (UTC) MIME-version: 1.0 Received: from avs-daemon.smtpauth4.wiscmail.wisc.edu by smtpauth4.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) id <0MZN00H00VSXSY00@smtpauth4.wiscmail.wisc.edu>; Sun, 19 Jan 2014 12:58:15 -0600 (CST) X-Spam-PmxInfo: Server=avs-4, Version=6.0.3.2322014, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2014.1.19.184516, SenderIP=0.0.0.0 X-Spam-Report: AuthenticatedSender=yes, SenderIP=0.0.0.0 Received: from comporellon.tachypleus.net (adsl-76-208-68-77.dsl.mdsnwi.sbcglobal.net [76.208.68.77]) by smtpauth4.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTPSA id <0MZN00KO2WP2MK20@smtpauth4.wiscmail.wisc.edu>; Sun, 19 Jan 2014 12:58:15 -0600 (CST) Date: Sun, 19 Jan 2014 12:58:13 -0600 From: Nathan Whitehorn Subject: Re: Fixes for X on PowerPC In-reply-to: To: Joe Nosay Message-id: <52DC2045.1030404@freebsd.org> References: <52DC0770.7060000@freebsd.org> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0 Content-Type: text/plain; CHARSET=US-ASCII; format=flowed Content-Transfer-Encoding: 7BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: freebsd-x11@freebsd.org, FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2014 18:58:17 -0000 On 01/19/14 12:56, Joe Nosay wrote: > > > > On Sun, Jan 19, 2014 at 12:12 PM, Nathan Whitehorn > > wrote: > > I was just bootstrapping a new (to me) laptop and ran into some > minor difficulties getting X running. They can be fixed with the > patch at http://people.freebsd.org/~nwhitehorn/new_xorg_ppc.diff > > > It has the following parts: > 1. plist fix for graphics/libdrm (the Intel driver is only built > on x86 platforms) > 2. only apply MMX/SSE2 flags in configure on platforms that have > MMX and SSE2 for x11/pixman to avoid errors from configure > 3. Use old ATI driver on platforms without KMS (for now, > everything but x86) > 4. Fix error in xorg-server makefile EXTRA_PATCHES where some > platform-specific patches would replace rather than add to the > patches list. > > The only even vaguely substantive change is the last patch: > 5. xf86EnableIO() and xf86OpenConsole() no longer seem to be > called in the same order, with the result that xf86Info.consoleFd > hasn't been set yet when xf86EnableIO() is called. I've copied > what Linux does here and used /dev/mem instead, as well as copying > Linux in making errors there non-fatal. Incidentally, the > xf86EnableIO() implementation is one of the shadiest and most > questionable things I have ever seen. I really doubt it does > whatever it is meant to do correctly, but it at least does the > same thing old Xorg did now. > -Nathan > > _______________________________________________ > freebsd-x11@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to > "freebsd-x11-unsubscribe@freebsd.org > " > > > > That's great. Will it also work for the desktop cards? Yes. -Nathan