After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 122871 - Gnome-terminal 2.4 very slow.
Gnome-terminal 2.4 very slow.
Status: RESOLVED DUPLICATE of bug 137864
Product: vte
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: VTE Maintainers
VTE Maintainers
: 124544 126519 147711 148796 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-09-21 10:59 UTC by Virgo
Modified: 2005-08-29 12:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
top shows CPU eaten by gnome-terminal while selecting text (166.57 KB, image/png)
2004-01-04 07:38 UTC, vgrebenschikov
Details

Description Virgo 2003-09-21 10:59:14 UTC
Hello!
Gnome ternimal 2.4 works MORE SLOWLY than 2.2? 
Very slow refresh screen and slow portrayal, slow display of results.
I tried gnome-terminal 2.4 from garnome and Ximian Desktop 2.4 unstable. 
There are ideas as it to correct?
Thanks.
Comment 1 Kjartan Maraas 2003-09-21 12:04:34 UTC
Is this on the local machine? What system is it? What hardware? How
can we try to reproduce what you're experiencing?
Comment 2 Virgo 2003-09-21 12:33:29 UTC
OS: RH 9.0

Local machine: 
CPU: Intel(R) Celeron(TM) CPU 1000MHz stepping 01
Memory: 251920k/261056k
HDD: ST340810A, ATA DISK drive

Reproduction: To have Gnome 2.2 install Garnome 0.27.
Run Gnome 2.2 and try speed work gnone-terminal 2.2.x
Run Garnome and try spped work gnone-terminal 2.4.x
gnone-terminal 2.2.x more fast. 

P.S. Now i install Ximian Desktop Unstable (Gnome 2.4) and install
gnome-terminal 2.2.x but NOW this terminal slow as well as 2.4!!! May
bug in some library!

Thanks for answer!
Comment 3 Kjartan Maraas 2003-09-21 22:49:09 UTC
The terminal widget is in the vte package, but I'm not sure this is
enough information to find out what the problem is. What operations
are slower than in 2.2.x for you? Could you give some examples and
timings maybe?
Comment 4 Havoc Pennington 2003-09-22 02:25:53 UTC
You have to say _what_ is slow. What command do you run, and what
aspect of the terminal is then slow. Are you running screen?
Comment 5 Virgo 2003-09-22 15:46:19 UTC
Very simple.
I list my home directory
gnome-terminal 2.4:
$time ls -al

real    0m3.192s
user    0m0.010s
sys     0m0.000s

xterm:
real    0m1.292s
user    0m0.020s
sys     0m0.010s

gnome-terminal 2.2:
real    0m1.951s
user    0m0.000s
sys     0m0.020s

$ls -al | wc -c
  16295

if i run mc gnome-terminal 2.4 very slowly draws the screen.
In xterm and gnome-terminal 2.2 fastly.
Comment 6 Kjartan Maraas 2003-09-22 17:05:58 UTC
This is probably a long shot, but do you use any binary drivers for
the graphics hardware in this machine? I've seen reports of nautilus
being slow with nvidia binary drivers before and that just popped into
my head now.
Comment 7 Virgo 2003-09-23 06:45:18 UTC
No. I not used other binary drivers, only those which were in system.
i have internal video card
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 202M
agpgart: agpgart: Detected an Intel i815 Chipset.
agpgart: AGP aperture is 64M @ 0xe0000000
[drm] AGP 0.99 on Intel i810 @ 0xe0000000 64MB
[drm] Initialized i810 1.2.1 20020211 on minor 0


Why different versions gnome-terminal have different speed of display?
I understand that libraries, but why in the worse party are changed.
Others also noticed this problem with gnome-terminal
(http://gnomesupport.org/forums/viewtopic.php?p=22405#22405)
Comment 8 Kevin 2003-10-16 13:24:44 UTC
I'm seeing this too on my laptop.  I'm running gentoo and receintly
upgraded to gnome 2.4.  The laptop is a Dell Inspiron 8200 2GHz with a
GeForce4 440 Go graphics card.  I use the latest drives from nVidia.

The problem I'm seeing is the line redraw rate.  If you cat a file,
say /var/log/messages, you can almost see it redrawing each line. 
This behavior becomes more apparent when you increase the size of the
terminal.  I hate to do this to you, but I am thinking of switching to
gnome from KDE and I know KDE's konsole didn't have this problem (I'm
trying to rule out my particular hardward).

From within Gnome 2.4, if I cat a random text file (133110 bytes),
this is how long it takes:

gnome-terminal: 0.421s normal size, 1.645s full screen
konsole: 0.133s normal size, 0.232s full screen
xterm: 0.102s normal size, 0.085s full screen

Notes: normal size is 80x24 and full screen is a little under
1600x1200.  Changing the number of lines in history and the color
scheme has to affect.  My background "Effects" are set to "None (use
solid color)".
Comment 9 Virgo 2003-10-20 15:15:27 UTC
I'm install FreeBSD 5.1 and Gnome 2.4.
Some problem with speed after upgrade from 2.2, but gnome-terminal on
my desktop faster than in Linux.
Comment 10 Luis Villa 2004-01-02 18:24:21 UTC
*** Bug 126519 has been marked as a duplicate of this bug. ***
Comment 11 Luis Villa 2004-01-02 18:25:58 UTC
*** Bug 124544 has been marked as a duplicate of this bug. ***
Comment 12 Dave North 2004-01-02 20:33:04 UTC
Since I submitted bug 126519 I updated to a newer version of gnome-terminal that 
no longer shows this problem. It being debian, I have no idea how to get the 'bad' one 
back.

 My video card is an old ati rage 128 that seems to behave itself well with linux in 
general. I generally run 80x70, do not run screen, and have had no speed and/or 
processor dominance problems with any other xterm (incuding the new gnome-term 
version I have -- it reports 2.4.2.

From my point of view, this is now "fixed."
Comment 13 Virgo 2004-01-03 12:07:05 UTC
Strange. I have gnome-terminal 2.4.2 and I have not noticed
improvements unfortunately.
Comment 14 vgrebenschikov 2004-01-04 07:37:09 UTC
No it is not fixed, I have following packages installed:
gnometerminal-2.4.2
vte-0.11.10_2

So, testcase reported by me in bug #124544 is still valid:
Marking any text area inside gnome-terminal takes several seconds and 
a lot of CPU, see screenshoot below.

Also I have notice that gnome-terminal "eats"  too much CPU while idle 
(do not draw anything, and do not output any text)

Comment 15 vgrebenschikov 2004-01-04 07:38:49 UTC
Created attachment 22898 [details]
top shows CPU eaten by gnome-terminal while selecting text
Comment 16 Mariano Suárez-Alvarez 2004-07-22 22:08:37 UTC
*** Bug 147711 has been marked as a duplicate of this bug. ***
Comment 17 Dimitrios 2004-07-22 22:26:26 UTC
Here gnome-terminal's scrolling (or displaying) is so slow, that i've got
to run with >/dev/null most of my commands, otherwise they take three times
longer or more to complete.

For example, when compiling a long document in LaTeX:

$ time latex project
<cut output>
real    0m3.839s
user    0m0.399s
sys     0m0.053s

$ time latex project >/dev/null
real    0m0.489s
user    0m0.352s
sys     0m0.029s

wooohaa! whats going on?!

lets try xterm:

$ time latex project
<cut output>
real    0m0.592s
user    0m0.389s
sys     0m0.030s

$ time latex project >/dev/null
real    0m0.438s
user    0m0.361s
sys     0m0.025s


wow! xterm takes 0.592 which gnome-terminal takes 3.839 !?!?!
Comment 18 Mariano Suárez-Alvarez 2004-08-02 20:09:59 UTC
*** Bug 148796 has been marked as a duplicate of this bug. ***
Comment 19 Dimitrios 2005-02-23 19:48:00 UTC
this bug was opened on "2003-09-21 06:59" and now its 2005. Any luck of getting
this fixed (speedy terminal)?

it seems that the many features of the terminal have caused it to slow down,
maybe if there was an option to disable most of them?
Comment 20 Kjartan Maraas 2005-02-23 21:57:43 UTC
Could you try the tarball here: http://www.gnome.org/~kmaraas/vte-0.11.12.tar.gz
and see if that helps?
Comment 21 Dimitrios 2005-02-24 14:53:03 UTC
i just tested vte, and its a bit faster than gnome-terminal. it seems like your
'fix' is to scrap gnome-terminal all together and switch to another application.

i dont see a problem with that. if the new terminal runs faster, then so be it.
Comment 22 Kjartan Maraas 2005-02-24 15:42:25 UTC
You misunderstood me. VTE is the terminal widget used by gnome-terminal. You
need to compile and install the lib and then try out gnome-terminal performance
when using the new version of VTE.
Comment 23 Kjartan Maraas 2005-08-29 12:06:02 UTC
Closing this since it's one of several bugs that talk about general slowness in
vte/gnome-terminal.

*** This bug has been marked as a duplicate of 137864 ***