Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Mar 2009 19:04:23 -0500
From:      Robert Noland <rnoland@FreeBSD.org>
To:        freebsd-x11 <freebsd-x11@freebsd.org>, freebsd-current <freebsd-current@freebsd.org>
Subject:   [PREVIEW] Nouveau on FreeBSD (Take 2)
Message-ID:  <1237680263.1938.10.camel@balrog.2hip.net>

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

--=-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 <rnoland@FreeBSD.org>
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--




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