Bug 365622

Summary: konsole uses 100% cpu since the upgrade of freetype to 2.6.5
Product: [Applications] konsole Reporter: Timo Gurr <timo.gurr>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: 16.04.2   
Target Milestone: ---   
Platform: Exherbo   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: konsole_freetype.png

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.