Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2009 01:48:00 -0600
From:      Robert Noland <rnoland@FreeBSD.org>
To:        Garrett Cooper <yanefbsd@gmail.com>
Cc:        freebsd-x11 <freebsd-x11@freebsd.org>, czander@nvidia.com
Subject:   Re: nv / nouveau driver livelock with 9600GT on latest X11 with recent  (<7 days) 8-CURRENT
Message-ID:  <1235634480.1289.2.camel@widget.2hip.net>
In-Reply-To: <7d6fde3d0902252343v64424914p3bef9fc75638e96@mail.gmail.com>
References:  <7d6fde3d0902252343v64424914p3bef9fc75638e96@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-6hcZij1tmfmwzoX5r20I
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Wed, 2009-02-25 at 23:43 -0800, Garrett Cooper wrote:
> Hi guys,
>     This is primarily a note, but it appears that nv / nouveau
> livelock with the latest X11 and 8-CURRENT. I have yet to try PC-BSD
> to see if the issue exists with that version (based off 7.1-RC1), and
> the card is brand new. The issue with livelocking didn't occur with my
> 8800GTS however.

Is this on amd64?

Previously when compiling on freebsd amd64 we'd end up at xi86
block (line 1315) which would define mem_barrier and write_mem_barrier
to be NOP's. Instead they should be valid, as per the linux amd64 setup.

This stops the hangs experienced by many when using the nv driver
which would hang due to out of order dma requests as noticed in
http://bugs.freedesktop.org/show_bug.cgi?id=3D3168

Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com>
---
 hw/xfree86/common/compiler.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/xfree86/common/compiler.h b/hw/xfree86/common/compiler.h
index 2601693..afb44ad 100644
--- a/hw/xfree86/common/compiler.h
+++ b/hw/xfree86/common/compiler.h
@@ -461,7 +461,7 @@ extern _X_EXPORT unsigned int inb(unsigned long
port);
 extern _X_EXPORT unsigned int inw(unsigned long port);
 extern _X_EXPORT unsigned int inl(unsigned long port);
 =20
-#   elif defined(linux) && defined(__amd64__)
+#   elif (defined(linux) || defined(__FreeBSD__)) && defined(__amd64__)
 =20
 #    include <inttypes.h>
=20
--=20
1.6.0.2

_______________________________________________
xorg-devel mailing list
xorg-devel@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-devel

robert.

>     I'll be glad to provide more info on request.
> Thanks!
> -Garrett
>=20
> Nvidia components installed:
> - nvidia-driver-180.29 (currently disabled, restored nvidia provided
> X11 libs to the X.org provided libs).
> - xf86-video-nouveau-0.0.10.20090129
> - xf86-video-nv-2.1.12_1
> - xorg-apps-7.4_1
> - xorg-cf-files-1.0.2_3
> - xorg-drivers-7.4
> - xorg-fonts-100dpi-7.4
> - xorg-fonts-7.4
> - xorg-fonts-75dpi-7.4
> - xorg-fonts-cyrillic-7.4
> - xorg-fonts-miscbitmaps-7.4
> - xorg-fonts-truetype-7.4
> - xorg-fonts-type1-7.4
> - xorg-libraries-7.4
> - xorg-server-1.5.3_5,1
>=20
> [gcooper@orangebox /usr/home/gcooper]$ uname -a
> FreeBSD orangebox.gateway.2wire.net 8.0-CURRENT FreeBSD 8.0-CURRENT
> #1: Sun Feb 22 07:26:00 PST 2009
> root@orangebox.gateway.2wire.net:/usr/obj/usr/src/sys/ORANGEBOX  i386
--=20
Robert Noland <rnoland@FreeBSD.org>
FreeBSD

--=-6hcZij1tmfmwzoX5r20I
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (FreeBSD)

iEYEABECAAYFAkmmSTAACgkQM4TrQ4qfROO8NgCdFLgprM4YutOZbPHQ/8lYXBoS
gt4AnR6vZS8RZeiuvBgVaGosDtGehpUs
=rsRe
-----END PGP SIGNATURE-----

--=-6hcZij1tmfmwzoX5r20I--




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