From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 75719] mplayer -vo gl consume more CPU on r200 Date: Mon, 10 Mar 2014 09:41:25 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0431437325==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 16373FA1E2 for ; Mon, 10 Mar 2014 02:41:25 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0431437325== Content-Type: multipart/alternative; boundary="1394444485.BdBf1fF1.20480"; charset="us-ascii" --1394444485.BdBf1fF1.20480 Date: Mon, 10 Mar 2014 09:41:25 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D75719 --- Comment #15 from Thomas Hellstr=C3=B6m --- (In reply to comment #14) > (In reply to comment #8) > > So if CPU usage is drastically increased by this commit (or rather this > > merge), IMHO that points to a bug somewhere else, but triggered by this > > merge; possibly in radeon / TTM caching setup or in the x86 PAT memory > > region tracking code. > >=20 >=20 > Seems like that is the case... VM_PFNMAP usage instead of VM_MIXEDMAP > triggers that i now need 'nopat' boot option it is also workaround...=20= =20 >=20 > So only 'nopat' option work here good with VM_PFNMAP or like before > VM_MIXEDMAP is good with PAT... VM_PFNMAP with PAT here is really unusable > for gl videos :). Interesting, although it's not the first time x86 pat/caching has busted graphics performance-wise, which might appear a bit strange considering graphics is a major user. In any case, I'll put together a patch to revert the VM_PFNMAP usage until = I've figured out what's really happening (it's only there to boost performance anyway). Meanwhile, the fact that this is visible also points to an area of potential improvement in the radeon driver. Apparently video playback causes a lot of buffer maps / unmaps. Could the maps somehow be cached in the driver? Thanks, Thomas --=20 You are receiving this mail because: You are the assignee for the bug. --1394444485.BdBf1fF1.20480 Date: Mon, 10 Mar 2014 09:41:25 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Commen= t # 15 on bug 75719<= /a> from Thomas Hellstr=C3=B6m
(In reply to comment #=
14)
> (In reply to comment #8)
> > So if CPU usage is drastically increased by this commit (or rathe=
r this
> > merge), IMHO that points to a bug somewhere else, but triggered b=
y this
> > merge; possibly in radeon / TTM caching setup or in the x86 PAT m=
emory
> > region tracking code.
> >=20
>=20
>  Seems like that is the case... VM_PFNMAP usage instead of VM_MIXEDMAP
> triggers that i now need 'nopat' boot option it is also workaround...=
=20=20
>=20
>  So only 'nopat' option work here good with VM_PFNMAP or like before
> VM_MIXEDMAP is good with PAT... VM_PFNMAP with PAT here is really unus=
able
> for gl videos :).


Interesting, although it's not the first time x86 pat/caching has busted
graphics performance-wise, which might appear a bit strange considering
graphics is a major user.

In any case, I'll put together a patch to revert the VM_PFNMAP usage until =
I've
figured out what's really happening (it's only there to boost performance
anyway).

Meanwhile, the fact that this is visible also points to an area of potential
improvement in the radeon driver. Apparently video playback causes a lot of
buffer maps / unmaps. Could the maps somehow be cached in the driver?

Thanks,
Thomas


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1394444485.BdBf1fF1.20480-- --===============0431437325== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0431437325==--