Bug 365622 - konsole uses 100% cpu since the upgrade of freetype to 2.6.5
Summary: konsole uses 100% cpu since the upgrade of freetype to 2.6.5
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 16.04.2
Platform: Exherbo Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-13 16:26 UTC by Timo Gurr
Modified: 2016-07-18 20:01 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
konsole_freetype.png (72.57 KB, image/png)
2016-07-13 16:27 UTC, Timo Gurr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Gurr 2016-07-13 16:26:45 UTC
The latest freetype release offers new subpixel hinting options:

http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/devel/ftoption.h?id=596157365aeff6bb842fe741f8cf322890a952fe

When freetype 2.6.5 is compiled with "TT_CONFIG_OPTION_SUBPIXEL_HINTING  2" which according the the information in the freetype commit is the new default mode, then konsole is lagging and utilizing 100% CPU usage when switching tabs or redrawing the screen, e.g. when opening/closing a file in vi, showing a git diff --cached and so on.

Why I'm reporting this here and not on the freetype bugtracker is because everything else seems to work fine, it's only konsole showing that extreme CPU usage and lag. Attaching a screenshot of ksysguard showing the intense CPU usage causing lags and delays when trying to work with konsole.

Reproducible: Always
Comment 1 Timo Gurr 2016-07-13 16:27:27 UTC
Created attachment 100068 [details]
konsole_freetype.png
Comment 2 Timo Gurr 2016-07-13 16:48:07 UTC
I guess this can be closed, after also upgrading fontconfig to 2.12.0, rebuilding the font cache with $ fc-cache -fr and doing another reboot I can no longer reproduce this issue for now.
Comment 3 Christoph Feck 2016-07-18 20:01:32 UTC
Thanks for the update, closing.