Bug 70969 - 100% CPU usage in weston-terminal while highlighting text
Summary: 100% CPU usage in weston-terminal while highlighting text
Status: VERIFIED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: gl backend (show other bugs)
Version: 1.12.14
Hardware: Other All
: medium normal
Assignee: cairo-bugs mailing list
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-28 20:56 UTC by U. Artie Eoff
Modified: 2013-11-22 17:35 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
sysprof of weston-terminal while highlighting text (155.50 KB, application/x-tar)
2013-10-28 20:56 UTC, U. Artie Eoff
Details
lshw (15.51 KB, text/plain)
2013-10-28 20:58 UTC, U. Artie Eoff
Details
system installed packages (372.23 KB, text/plain)
2013-10-28 20:59 UTC, U. Artie Eoff
Details

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.