[Bug 75719] mplayer -vo gl consume more CPU on r200

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 10 02:41:25 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=75719

--- Comment #15 from Thomas Hellström <thellstrom at vmware.com> ---
(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.
> > 
> 
>  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...  
> 
>  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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140310/60a58ca9/attachment-0001.html>


More information about the dri-devel mailing list