Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 2014 15:41:12 -0600
From:      Nathan Whitehorn <nwhitehorn@freebsd.org>
To:        freebsd-x11@freebsd.org
Cc:        Baptiste Daroussin <bapt@freebsd.org>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: Fixes for X on PowerPC
Message-ID:  <52DC4678.2080901@freebsd.org>
In-Reply-To: <52DC0770.7060000@freebsd.org>
References:  <52DC0770.7060000@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/19/14 11:12, 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
>

I've updated this with a patch 6 for xf86-video-nv that fixes some
breakage after the change to use libpciaccess to use I/O ports in
xorg-server: the driver was really on some behind-the-scenes behavior
(use of IOBase, in particular) that has now apparently been removed.
-Nathan



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