Bug 22568

Summary: Xv surface slows down other 2D operations
Product: xorg Reporter: Clemens Eisserer <linuxhippy>
Component: Driver/intelAssignee: Gordon Jin <gordon.jin>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Clemens Eisserer 2009-06-30 18:11:15 UTC
An open mplayer outputing to an xv surface slows down other 2D operations, even when mplayer is on pause (and top shows no cpu consumption by X or mplayer).

Scrolling in my gmail account, or some more complex pages like:
http://www.one.de/shop/one-notebooks-c-213.html

show can't-keep-up-with-painting effects when scrolling with FireFox-3.5, although scrolling worked fine before. Although scrolling is slow, neither X nor FireFox show high CPU consumption. Even after closing mplayer performance is not back to normal.

I see this problem on an i945GM, kernel-2.6.31.rc1 and intel-2.7.99 and xorg-1.6.99.
Sysprof shows 45.6% of cycles in firefox (5% in kernel), and 40% of cycles in xorg (18% in kernel). Xorg spends 11% in RenderTrapezoids and 4% in RenderComposite.
Comment 1 Clemens Eisserer 2009-06-30 18:28:53 UTC
needs more investigation, doesn't seem to be as simple as I thought ...

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.