gnome-terminal reacting very sluggishly

Bug #85575 reported by Thomas Schwinge
52
Affects Status Importance Assigned to Milestone
Feisty Backports
Won't Fix
Undecided
Unassigned
gnome-terminal (Ubuntu)
Invalid
Undecided
Unassigned
vte (Ubuntu)
Fix Released
High
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-terminal

Since a recent update of my Feisty machine, the gnome-terminal is reacting very suggishly. For example, if in one tab I have scrolling text, it takes several seconds after I pressed Ctrl-PgUp to actually get the tab changed. This went much more smoothly with the Edgy version.

The installed version is 2.17.91-0ubuntu1.

Revision history for this message
Laurent Bigonville (bigon) wrote :

I noticed the same problem here

Changed in gnome-terminal:
status: Unconfirmed → Confirmed
Revision history for this message
Johan Van Hellemont (johan-van-hellemont) wrote :

Same here with a fresh Herd 4 install.
High CPU usage during scrolling.

Revision history for this message
Thomas Schwinge (tschwinge) wrote :

A further data point: side by side I open two terminals. In one I have `top' running. In the other I do someting to make the terminal screen scroll. In `top' I can see that Xorg's cpu usage converges to 100 %.

#v+
$ while sleep 1 && seq 0 20 | tr \\n \ && echo; do :; done
#v-

... for example gives a Xorg cpu usage of 40 %, which is too much in my understanding.

Revision history for this message
Laurent Bigonville (bigon) wrote :

I tried with the edgy version of gnome-terminal (2.16.1-0ubuntu1) and get the same issue, so I don't think it's really a gnome-terminal issue. Could someone also try with the edgy version?

Revision history for this message
Johan Van Hellemont (johan-van-hellemont) wrote :

Laurent,I tried with edgy version and yes the same issue.
Also scrolling in the terminal of Synaptic react very slow !

Revision history for this message
Sslaxx (stuart-sslaxx) wrote :

Indeed this is not just an issue with GNOME Terminal. I have seen similar problems with XFCE's terminal. As Konsole does not show these issues, it is likely related to the GTK+ family of libraries (which both GNOME and XFCE use).

Revision history for this message
Laurent Bigonville (bigon) wrote :

It's maybe a pango issue or something

Revision history for this message
Tobias Wolf (towolf) wrote :

Could be a vte issue. Does Xfce use it?
The changelog for it actually states massive improvements with vim. I experience the opposite.

Revision history for this message
Sslaxx (stuart-sslaxx) wrote :

Yes, both GNOME Terminal and XFCE4 Terminal use VTE. Konsole does not.

Revision history for this message
Johan Van Hellemont (johan-van-hellemont) wrote :

Installed a daily build (170207) and the same problem.
There is something wrong !

Revision history for this message
Sslaxx (stuart-sslaxx) wrote :

Has anyone been able to confirm if this is a VTE issue, or an issue with another of the GTK+ libraries?

Revision history for this message
Laurent Bigonville (bigon) wrote :

I think this is related to bug #85956

I've rebuild vte with the patch from gnome BTS and it seems that gnome-terminal is a lot more reactive. Could someone confirm? BTW xorg still use a lot of cpu

Revision history for this message
John Dong (jdong) wrote :

I'm experiencing this too since 20070220 Feisty daily updates, VTE and X client (1.2.0?) updates were pulled in. Scrolling in terminals is significantly slower and also it seems like Beryl glitches after that update too

I will later today try rolling back updates and trying to isolate a culprit.

Revision history for this message
Sslaxx (stuart-sslaxx) wrote :

Not just slower, but there is also screen corruption (missing/partially drawn characters).

Revision history for this message
Thomas Schwinge (tschwinge) wrote :

If I revert to the edgy versions of `libvte9' and `libvte-common' (i.e. the 1:0.14.1-0ubuntu1 versions), everything seems to be fine again.

Changed in gnome-terminal:
assignee: nobody → desktop-bugs
importance: Undecided → High
Revision history for this message
Johan Van Hellemont (johan-van-hellemont) wrote :

After a bunch of updates today gnome-terminal reacts normally for me.
Anyone confirm this?

Revision history for this message
Matti Lindell (mlind) wrote :

this is fixed for me on recent vte update

Revision history for this message
Sslaxx (stuart-sslaxx) wrote :

Not quite fixed, as the screenshot shows (incomplete status bar, what looks like a cursor block over my typing).

Revision history for this message
Laurent Bigonville (bigon) wrote :

Fixed in 1:0.15.4-0ubuntu1 according to changelog. Maybe open a new bug for the terminal corruption

Changed in vte:
status: Confirmed → Fix Released
Changed in gnome-terminal:
status: Unconfirmed → Rejected
Revision history for this message
Sslaxx (stuart-sslaxx) wrote :
Revision history for this message
Thomas Schwinge (tschwinge) wrote :

I'd like to have this issue revisited, as I don't consider it fixed.

Test case: a freshly booted system, X server and one full screen Gnome terminal running ``top -d 1''.

Edgy versions (`1:0.14.1-0ubuntu1') of `libvte9' and `libvte-common': cpu running at 600 MHz and `Xorg' uses 5% cpu time. This is still too much for my feeling, but I can certainly live with that.

However: current Feisty versions (`1:0.15.4-0ubuntu1') of `libvte9' and `libvte-common': cpu running at 1700 MHz and `Xorg' uses 34% cpu time.

Revision history for this message
Thomas Schwinge (tschwinge) wrote :

With a recent upload, this is fixed now.

And in fact, this report seems to be a duplicate of <https://launchpad.net/bugs/78343>.

Revision history for this message
James Troup (elmo) wrote :

Sorry, but despite getting a lot better, this is still broken for me. I just downgraded from 1:0.15.6-0ubuntu1 to edgy because the lag in interactive use was driving me crazy.

Revision history for this message
Thomas Schwinge (tschwinge) wrote :

James: You are right. It's a lot better, but there is still a very noticeable (read: annoying) delay when switching between different tabs.

Revision history for this message
Thomas Schwinge (tschwinge) wrote :

So, what can we do to get this ticket reopened and the issue revisited?

Revision history for this message
Sebastien Bacher (seb128) wrote :

Could somebody work with upstream on that, they know the code better and the Ubuntu Desktop Team is overworked at the moment

Changed in vte:
status: Fix Released → Confirmed
Revision history for this message
Niko Maila (niko-maila) wrote :

Using +/- keys to scale font size seems to be extremely sluggish also, likely related. At it's worst, the entire terminal goes white and will render the text only after switching tabs and/or moving cursor over the window.

Revision history for this message
Martin Pool (mbp) wrote :

I'm seeing corruption of a different kind, where sections of other windows randomly reappear within my gnome-terminal. If I make the font smaller, it seems to stop, and repainting the screen also removes the corruption.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Dropping the milestone, we are too near of 7.04 to do changes on that now. Does anybody still get the bug or is that been fixed with updates? Do you have an easy way to trigger it, we might get a fix to feisty-updates if that's still happening

Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 85575] Re: gnome-terminal reacting very sluggishly

On 4/13/07, Sebastien Bacher <email address hidden> wrote:
> Dropping the milestone, we are too near of 7.04 to do changes on that
> now. Does anybody still get the bug or is that been fixed with updates?
> Do you have an easy way to trigger it, we might get a fix to feisty-
> updates if that's still happening

For me it seemed more likely to happen with very large font sizes...

--
Martin

Revision history for this message
Martin Pool (mbp) wrote :

Actually it happened again at my regular font size. What's interesting is that it's often getting overlayed with content from some other window, in this case the task switcher.

Revision history for this message
Matti Lindell (mlind) wrote :

I rebuilt vte (1:0.16.3-0ubuntu1) from gutsy's archive for feisty and for me it seems that terminal response time has improved significantly.
Anyone experiencing problems with feisty's vte should probably try this out too. Maybe we could get this to feisty-backports (or as SRU).

Revision history for this message
Thomas Schwinge (tschwinge) wrote :

mlind: Where did you get that version from? On <http://packages.ubuntu.com/gutsy/libs/libvte9> I see 1:0.16.1-0ubuntu1 listed as the latest, which is the same that feisty has.

Revision history for this message
Matti Lindell (mlind) wrote :

$ apt-cache madison vte
       vte | 1:0.16.1-0ubuntu1 | http://www.nic.funet.fi feisty/main Sources
       vte | 1:0.16.3-0ubuntu1 | http://archive.ubuntu.com gutsy/main Sources

Revision history for this message
Thomas Schwinge (tschwinge) wrote :

mlind: You are right that with such self-compiled packages, the resource consumption and respons times are fine again.

However, I'm still (irregularely) seeing the same screen corrupotion as reported my Martin Pool.

Revision history for this message
Matti Lindell (mlind) wrote :

yes, screen corruption is still there for me too.

Revision history for this message
Matti Lindell (mlind) wrote :

New vte from gutsy's archive is working really well for me, screen corruption seems to be fixed too. Would it be possible to get this backported for Feisty?

Revision history for this message
Sebastien Bacher (seb128) wrote :

The gutsy version works fine, marking fixed. You can open a feisty-backport bug if you want

Changed in vte:
status: Confirmed → Fix Released
Revision history for this message
Matti Lindell (mlind) wrote :

Added a backport request

Revision history for this message
Valentin Rocher (bishiboosh) wrote :

-> Considering build-dep gnome-pkg-tools (>= 0.10)
      Tried versions: 0.9.3
   -> Does not satisfy version, not trying

Changed in feisty-backports:
status: New → Invalid
Revision history for this message
Valentin Rocher (bishiboosh) wrote :

With gnome-pkg-tools backported, it b/i/r well.

Putting it in Incomplete until someone accpets gnome-pkg-tools bug.

Changed in feisty-backports:
status: Invalid → Incomplete
Revision history for this message
Matti Lindell (mlind) wrote :

Bishiboosh, are you sure you tried the vte in Gutsy's archive? It doesn't have versioned b-depends on gnome-pkg-tools, but the vte in Debian unstable has.

Revision history for this message
Scott Kitterman (kitterman) wrote :

gnome-terminal
Reverse Depends:
 |gnome-panel
  wajig
 |sawfish
  meta-ul-server-gui
  meta-ul-desktop-base
  gnome-rdp
  gnome-core
  anjuta
  ubuntu-desktop
  gnome-terminal-data
  gnome-terminal-data
 |gnome-panel
  edubuntu-desktop

I think this is to much a core application for a safe backport. Certainly for a backport for whatever is left of the issue that may or may not be related to this package. Backports is intended to bring new features, not bug fixes.

Changed in feisty-backports:
status: Incomplete → Won't Fix
Revision history for this message
favoritefood0 (favoritefood0) wrote : New problem

I have a problem with my gnome terminal. I run the terminal and execute the script "sudo bash diskmount" After I do that I get a new line saying ONLY "Password:" and I cannot complete the field to finish running the script, It also makes it respond very slowly, and the only way to run scripts again is to open a new terminal.

Revision history for this message
Nikos Mavrogiannopoulos (nmavrogiannopoulos) wrote :

It seems I experience the same issue on ubuntu Jaunty and gnome-terminal 2.26.0.

Revision history for this message
Ivo Jimenez (ivotron) wrote :

I'm also experiencing this with 9.04 in vte-based terminals but only when more than one tab is opened, the behavior is not present if I have only one tab opened

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.