From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Furniss Subject: Re: [Bug 15293] Flash video laggy inside Firefox only with KMS Date: Sun, 28 Feb 2010 11:54:52 +0000 Message-ID: <4B8A598C.8010603@ukfsn.org> References: <201002270640.o1R6eiS3030970@demeter.kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <201002270640.o1R6eiS3030970@demeter.kernel.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.sourceforge.net To: bugzilla-daemon@bugzilla.kernel.org Cc: dri-devel@lists.sourceforge.net List-Id: dri-devel@lists.freedesktop.org bugzilla-daemon@bugzilla.kernel.org wrote: > http://bugzilla.kernel.org/show_bug.cgi?id=15293 > > > > > > --- Comment #25 from Pauli 2010-02-27 06:39:33 --- > I vote for NOTOURBUG too. > > Maybe ddx could be a bit better optimized for XGetSubImage that flash is using > but in end we can't get it perform well enough anyway without modifying the > blob. > > So what exactly is happening to slow down here: > > -Flash is playing the video to vram. > -Flash calls XGetSubImage multiple times per frame to read back the whole > video. > -XGetSubImage tries to copy data from VRAM to system memory but there seems to > be huge latency for CPU to read the data that was just written by GPU. > > Hack patch: http://www.youtube.com/watch?v=JLkGGNbBJeI ;) > Out of curiosity, why does it work OK with UMS? I can't see people being too pleased when their distros switch to KMS and they the can't play some youtube vids that they could previously. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev --