From owner-freebsd-x11@FreeBSD.ORG Sun Jan 19 18:56:57 2014 Return-Path: Delivered-To: freebsd-x11@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 9D4D9B54; Sun, 19 Jan 2014 18:56:57 +0000 (UTC) Received: from mail-oa0-x235.google.com (mail-oa0-x235.google.com [IPv6:2607:f8b0:4003:c02::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 58F2113E4; Sun, 19 Jan 2014 18:56:57 +0000 (UTC) Received: by mail-oa0-f53.google.com with SMTP id m1so5501992oag.40 for ; Sun, 19 Jan 2014 10:56:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=07JIPwnTGlVvKuQ47eE65RczzuzcZ+aY0wqqegWOl8k=; b=sEKyCaxv/tJ4H4k6NXJ6uY0FQ2A0zTa5+x7nDq182VA+D5VkD2RWT+fypJX2EVp1Hg evhI7Wg6Hktd+jUgPC8cu/F7XAAqkpvE+Mx6rWNYCL3vaWqcihIykggRD9FpxHMnRvoE pjTFVMknlMPhVk9cOxIMDrM566SiZQDstZrtx3/ipvUFLIjJYcI1xmSUeCqwzFvptcJS gXQ8MJTwtb3QsgOQoYdpdlAkNZP7hxK6FU6vzl1QxV48acwG4Rlhl8plW649m5O1lA+7 0S4CAS1a4mGkShebKzoVmBaQViX6ZYvvP2OnLn78SFQbZgng1LiQRC/kOViJQT1LX8EM Bo3w== MIME-Version: 1.0 X-Received: by 10.60.246.104 with SMTP id xv8mr12246544oec.18.1390157816513; Sun, 19 Jan 2014 10:56:56 -0800 (PST) Received: by 10.182.78.71 with HTTP; Sun, 19 Jan 2014 10:56:56 -0800 (PST) In-Reply-To: <52DC0770.7060000@freebsd.org> References: <52DC0770.7060000@freebsd.org> Date: Sun, 19 Jan 2014 13:56:56 -0500 Message-ID: Subject: Re: Fixes for X on PowerPC From: Joe Nosay To: Nathan Whitehorn Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2014 18:56:57 -0000 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?