From owner-freebsd-x11@FreeBSD.ORG Fri Mar 20 05:35:51 2009 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20157106564A; Fri, 20 Mar 2009 05:35:51 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id C25E58FC14; Fri, 20 Mar 2009 05:35:50 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.1.156] (adsl-19-214-182.bna.bellsouth.net [68.19.214.182]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id n2K5YSCC085433 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 20 Mar 2009 01:34:28 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: freebsd-x11 , freebsd-current Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-TTSZ/+AGctgiEzQaaBDy" Organization: FreeBSD Date: Fri, 20 Mar 2009 00:35:31 -0500 Message-Id: <1237527331.1777.516.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 FreeBSD GNOME Team Port X-Spam-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: Subject: [PREVIEW] Nouveau on FreeBSD X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 05:35:51 -0000 --=-TTSZ/+AGctgiEzQaaBDy Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Ok, this patch may abuse your cat, or run off with your sister... Use at your own risk... If you have an NV50 or greater, don't bother yet... The way that this driver handles attach, it will attach to *any* Nvidia display adapter. It will attach to an NV50+, but it won't do much more than start twm, as it can't map the GART. Ok, enough of what it can't do... You *should* be able to run EXA and Xv with this on at least NV40 class hardware. I know that it has worked successfully on an NV40 and NV44. You will need: 1. A very recent -CURRENT or -STABLE (I plan to MFC the needed bits to -STABLE when I'm done with this mail) 2. This patch. 3. If you are on amd64, you will need libdrm from git and maybe even if you aren't. 2.4.5 should be ok for i386, but in either case you will need to add --enable-nouveau-experimental-api to libdrm's configure. 4. The nouveau driver. xf86-video-nouveau should be ok, if you have that running now, or convince it to build... otherwise get that from git as well. It's a moving target and fixes go in pretty regularly, so if you are having issues, it's a place to start. I'm not exactly ready for bug reports... This is a preview, if it works, thats awesome. If it doesn't set Option "NoAccel" in your xorg.conf or switch back to nv or the blob for the time being... That isn't to say that I'm not interested in hearing that it works or not, just that this isn't production code. The only issue that I'm seeing currently is some artifacts on my mouse pointer. I don't think this is related to drm though, I think it is a ddx issue. Otherwise it seems to be working quite well. Oh, I have generally been able to vt switch without issues, restarts not so good... http://people.freebsd.org/~rnoland/drm-nouveau-031909.patch robert. --=20 Robert Noland FreeBSD --=-TTSZ/+AGctgiEzQaaBDy Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEABECAAYFAknDKyMACgkQM4TrQ4qfRONQRwCfcj+wRZFTHTtLJzntCEVatMm7 zFwAn36ONdWcLcSBW254LqD7Uxqh1Kbu =gLzH -----END PGP SIGNATURE----- --=-TTSZ/+AGctgiEzQaaBDy--