Red Hat Bugzilla – Bug 487757
emacs redisplay extremely slow
Last modified: 2009-09-22 03:22:26 EDT
Description of problem:
Starting around Feb 18, emacs in Rawhide became slow as molasses when redisplaying in an X window: Any scrolling or redisplay (even when only scrolling by a single line), the whole window is redisplayed, and
it is done so very slowly - taking about two seconds.
This make using emacs extremely painful.
This is only a problem with the default "X window" emacs - it is not a problem with emacs -nw (i.e. Emacs in a terminal window).
This might be an X driver problem - but it doesn't seem to affect other programs I've tried, including other text editors (kate, gedit).
It seems to be using the "intel" driver, though X.log.0 also makes reference to "i810". The hardware is a Lenovo T400 Thinkpad with a 4500MHD.
Version-Release number of selected component (if applicable):
Rawhide as of today.
X.Org X Server 1.6.0, Release Date: 2009-2-25.
Steps to Reproduce:
Open a file in Emacs that is bigger than a screen, and scroll.
Or partially obscure it and re-display.
With these installed I can confirm the problem. With file scrolling the file update lag is large.
The effect is similar to ssh into a far away server with very slow net connectivity and using emacs.
If this info helps:
[root@rahul ~]# xrandr
Xlib: extension "Generic Event Extension" missing on display "localhost:10.0".
Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 1680 x 1680
VGA connected 1680x1050+0+0 (normal left inverted right x axis y axis) 473mm x 296mm
1400x1050 74.8 60.0
1280x1024 75.0 60.0
1024x768 75.0 70.1 60.0
800x600 72.2 75.0 60.3 56.2
640x480 75.0 72.8 75.0 59.9
LVDS connected (normal left inverted right x axis y axis)
1280x800 60.0 + 50.0
800x600 60.3 56.2
HDMI-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
[root@rahul ~]# lspci | grep Display
00:02.1 Display controller: Intel Corporation 82Q35 Express Integrated Graphics Controller (rev 02)
Yep, seeing also with Lenovo X300.
Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
This might be a duplicate of 490839 ?
It might well be - if I enable "Desktop Effects" Emacs is suddenly quite zippy!
So I can actually use Compiz for something besides eye candy!
Same problem here. I see it with xterm too.
Seems to be related to the classic bitmap font rendering
xterm -font "-*-terminus-bold-r-normal--16-*-*-*-*-*-iso10646-1"
=> slow as hell.
xterm -fa terminus:style=bold -fs 10
=> reasonable fast.
Fixed by kernel-126.96.36.199-54.fc11 and xorg-x11-drv-intel-188.8.131.522-2.fc11, at least for me. See bug 490839 for more information.
hello, there's a new version 23.0.93 in rawhide: does it fix this for you?
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.
More information and reason for this action is here:
hello, there's a new version 23.1 in F11 and rawhide: does it fix this for you?
The bug wasn't in Emacs, but in the Intel driver and/or Kernel - see comment #7.
In any case, the problem has been fixed in F11 for a while now.
We can probably close this bug.