Steps to reproduce:
1. Install the Anonymous Pro font (yum install msimonson-anonymouspro-fonts on F13, or download+install manually from http://www.ms-studio.com/FontSales/anonymouspro.html )
2. Set GNOME terminal font to Anonymous Pro, size 8pt (assuming X server DPI is set to 96)
3. In a GNOME-terminal window, run a program that spews a lot of text; an example Python script which will do the job is available at http://pastie.org/private/dmzqrytvjdhle597muzufw
Spewing dozens of lines of text per second should causes barely any noticeable extra CPU overhead.
My X server's CPU usage jumps to well over 70% and according to sysprof most of my CPU time is being spent inside drm_gem_object_alloc, which is being called by radeon_gem_object_create.
Still seeing this bug on Fedora 15 (xserver 1.10.1, ATI driver 6.14.1/git-a6d2dba6).
(In reply to comment #2)
> My X server's CPU usage jumps to well over 70% and according to sysprof most of
> my CPU time is being spent inside drm_gem_object_alloc, which is being called
> by radeon_gem_object_create.
Can you attach a sysprof profile?
Sysprof profile is available at http://mg8.org/tmp/bug-28511.sysprof. Taken from a Debian wheezy system running xserver-xorg 1.11.4 RC 1, xserver-xorg-video-radeon 1:6.14.3-2, running on Linux 3.1.0-1-amd64. The xserver CPU usage still spikes to 100% on at least one of my cores.
Can you get another one with the xserver-xorg-core-dbg, xserver-xorg-video-radeon-dbg and libdrm2-dbg packages installed?
Uploaded to http://mg8.org/tmp/bug-28511.2.sysprof
According to Chris on IRC, this also happens with a recent intel driver, so it's probably an issue in code used with both drivers.
Running the referenced python script, the main difference I notice between the Anonymous Pro and DejaVu Sans Mono fonts is that with the former, the X server uses more CPU than gnome-terminal (similar to the referenced profiles), while with the latter it's the other way around.
However, I'm not sure how the font could make any direct difference on the server side; it's just glyphs there? So, maybe the Anonymous Pro font causes gnome-terminal / VTE / Cairo / Xft / ... to use a different, less efficient method for drawing the text? E.g. drawing fewer characters per call.
BTW, the latest profile is still mostly unusable, possibly due to known issues with sysprof on 64 bit.
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/400.