Issue 479 in xmonad: xmonad & xft slow font rendering

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 479 in xmonad: xmonad & xft slow font rendering

codesite-noreply@google.com
Status: New
Owner: ----

New issue 479 by wol... at gmail.com: xmonad & xft slow font rendering
http://code.google.com/p/xmonad/issues/detail?id=479

What steps will reproduce the problem?
1. Start gnome3 environment
2. Open resource manager and vim with arbitrary large file
3. Scroll with your keyboard up and down
4. Notice that cpu-consumption and ui-performance differs considerably with  
the same steps reproduced in xmonad.

What is the expected output? What do you see instead?
I expect at least the same performance.

What version of the product are you using? On what operating system?
Arch linux x86_64. xmonad 0.9.2

Are you using an xmonad.hs?  Please attach it and the output of "xmonad
--recompile".

Please provide any additional information below.

I use xmonad for quite some time. But today I was curious about gnome 3 and  
what I noticed is that font rendering in gnome 3 was significantly faster  
than in xmonad.
This was strange for me, because I don't even use composite managers with  
my xmonad setup. I dig it a little and found, that the source of problem  
may be xft, which is used by default.

Also, it's unlikely to be a hardware problem, because my setup is  
i7/8gb/ati hd5470.

Attachments:
        xmonad.hs  6.0 KB



Reply | Threaded
Open this post in threaded view
|

Issue 479 in xmonad: xmonad & xft slow font rendering

codesite-noreply@google.com

Comment #1 on issue 479 by rlblas... at gmail.com: xmonad & xft slow font  
rendering
http://code.google.com/p/xmonad/issues/detail?id=479

I also suffer from this problem.

I've attached a small utility which outputs large amount of text. In gnome  
I have around 30% CPU usage on X while running this app. But when I run  
this in xmonad X goes to 100% CPU usage. In reality there should be no load  
because the application is mostly sleeping (there's a sleep of 40  
milliseconds between the writes).

I've used urxvt in both cases (gnome/xmonad) for the above numbers but the  
issue is around with other terminals too. I use Terminus font which is a  
bitmap font. I also have an ati card with fglrx drivers (but the same issue  
is around with the open source drivers too).


Attachments:
        stringdump.c  468 bytes