From owner-freebsd-x11@FreeBSD.ORG Sun Mar 22 00:04:45 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 B2518106570C; Sun, 22 Mar 2009 00:04:45 +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 7B6618FC0C; Sun, 22 Mar 2009 00:04:45 +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 n2M03NtY099273 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 21 Mar 2009 20:03:23 -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="=-x1k8ey71H+B5aF+1Sov1" Organization: FreeBSD Date: Sat, 21 Mar 2009 19:04:23 -0500 Message-Id: <1237680263.1938.10.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 (Take 2) 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: Sun, 22 Mar 2009 00:04:46 -0000 --=-x1k8ey71H+B5aF+1Sov1 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Ok, this patch should work on NV50 chips also. What you get is EXA and Xv. You still need: A recent -CURRENT or -STABLE. git master of libdrm and xf86-video-nouveau. This patch. Things I've figured out since the last patch... On NV50 class hardware you need to have a compositing manager running for Xv to work. That means xcompmgr, metacity with composite enabled, xfce (rumored to work as well, haven't tried). If your running Gnome with metacity, open gconf-editor and go to apps->metacity->general and check the composite box. On NV40 class hardware, you don't need the composite manager. In fact (at least with Xserver 1.6 which I'm running now), if a composite manager is enabled, I'm seeing high cpu utilization from Xorg under some circumstances. I don't think this is a drm issue, but still an issue. For me, if I start a video using mplayer in an xterm, cpu is fine as long as that xterm is the foreground window. If it is not the foreground window, even if it isn't obscured I see the cpu utilization. Disabling the composite manager makes everything fine. http://people.freebsd.org/~rnoland/drm-nouveau-032109.patch robert. --=20 Robert Noland FreeBSD --=-x1k8ey71H+B5aF+1Sov1 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) iEYEABECAAYFAknFgIcACgkQM4TrQ4qfRONLQgCfSqCyQn5naAsZyidgzfpzd8oO vV4An1rzwBAmTPx7Lk+6q9gwpYqn3IU3 =qIHs -----END PGP SIGNATURE----- --=-x1k8ey71H+B5aF+1Sov1--