Re: gnome-terminal (or vte) likes to spin the CPU


I'm having the same problem on IRIX 6.5 also using gnome-terminal 2.1.3
and vte 0.10.7. starting gnome-terminal gives approx 98% cpu usage and
it seems to me that vte is the culprit. Especially when you start
scrolling (ls -laR /) or resizing the window, it gets really slow. I've
turned off blinking cursor and other luxuries but it remains being
extremely unresponsive. If you don't touch the terminal at all and just
leave it there for say five minutes, it uses between 20 to 30% of the
cpu. This is all tested on an O2 R10000 175mhz.

Any ideas where to look?


PS: vte seems to use a glibc specific function called mbsrtowcs in vte.c
when __STDC_ISO_10646__ is NOT set; is this ok? I don't think irix
supports either UTF8 or its close variant ISO_10646. I managed to hack
around this by defining ISO_10646 anyway. Not doing so gives no compile
time errors but makes libvte complain at linktime (with vte_scan) about
missing mbsrtowcs.

PSPS: in some .c files "#include <../config.h>" had to be moved down a
couple of lines because else the standard includes would override
certain defines which were set by configure in config.h. Ofcourse not
below certain #ifdef statements like _HAVE_TERMIOS_H and the like ;-).

Steve Fox wrote:
On Thu, 2002-12-12 at 14:49, Nalin Dahyabhai wrote:

On Thu, Dec 12, 2002 at 03:38:07PM -0500, Havoc Pennington wrote:

There are quite a few dups of "the first tab opened is stuck", which I would guess is the same thing.

Ah, ok. For some reason that didn't seem to ring me.

That one (focus bugs) was fixed in 0.10.7 (thanks Jonathan!), which is
the version Steve is running.  I sounds like some part of initialization
is just getting stuck waiting for something, but I'd need more info to
track it down.

Yep, she's still with me :) I'd be happy to send any info you need if
you can't reproduce.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]