Bug 70969

Summary: 100% CPU usage in weston-terminal while highlighting text
Product: cairo Reporter: U. Artie Eoff <ullysses.a.eoff>
Component: gl backendAssignee: cairo-bugs mailing list <cairo-bugs>
Status: VERIFIED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: medium    
Version: 1.12.14   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: sysprof of weston-terminal while highlighting text
lshw
system installed packages

Description U. Artie Eoff 2013-10-28 20:56:54 UTC
Created attachment 88255 [details]
sysprof of weston-terminal while highlighting text

When highlighting text in the weston-terminal, the cpu pegs to 100% and weston-terminal becomes unresponsive and the cursor changes to a busy icon.  Eventually, weston-terminal becomes responsive again.  It's much worse, however, when weston-terminal is in fullscreen mode.

wayland (HEAD) heads/1.3-0-g84247b7
drm (HEAD) libdrm-2.4.46-0-gc6d73cf
mesa (HEAD) remotes/origin/9.2-0-g7ab2b8c
libva (HEAD) libva-1.2.1-0-g88ed1eb
intel-driver (HEAD) 1.2.1-0-g8f306e3
weston (HEAD) remotes/origin/1.3-0-g98562c3

Also observed on wayland/drm/mesa/weston master stack too.
Weston toytoolkit compiled with cairo-glesv2 (1.12)
Comment 1 U. Artie Eoff 2013-10-28 20:58:51 UTC
Created attachment 88256 [details]
lshw
Comment 2 U. Artie Eoff 2013-10-28 20:59:26 UTC
Created attachment 88257 [details]
system installed packages
Comment 3 U. Artie Eoff 2013-10-28 21:09:24 UTC
I just tried with upstream master cairo-glesv2 and this problem goes away.
Comment 4 Uli Schlachter 2013-10-28 21:46:11 UTC
So are you saying that this bug was already fixed in cairo's git master?
Comment 5 U. Artie Eoff 2013-10-28 22:23:35 UTC
(In reply to comment #4)
> So are you saying that this bug was already fixed in cairo's git master?

Yes.  I'm hoping to do a bisect to see which commit actually fixes it.  

Potentially we could get it backported to a stable release?
Comment 6 U. Artie Eoff 2013-11-22 17:34:34 UTC
I haven't had time to bisect which commit fixed this issue.  But I can confirm that at least cairo version 1.12.16 works fine.  I imagine distros will start picking up that version or newer soon.  Therefore, closing this one.

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.