Terminal lags (low FPS) the whole desktop when fast output

Bug #1746949 reported by Jean-Louis Dupond on 2018-02-02
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-terminal (Ubuntu)
gtk+3.0 (Ubuntu)
mutter (Ubuntu)

Bug Description


When using Wayland and gnome-terminal, the performance/fps of the whole desktop is real low when gnome-terminal outputs alot of data.

This happens when you cat some logfile for example, or do a tail -f on a quickly growing file.
The whole desktop feels sluggish then.

This is only the case on Wayland. on X-Server it goes perfectly!

tags: added: performance
Daniel van Vugt (vanvugt) wrote :

This is a known issue for software-rendered windows that update rapidly. There are several reasons for it so also several possible solutions...

* GTK 3.x is software-rendered, so rapid window redraws that require uploading new frames to the GPU from the CPU may be slow. This is mostly fixable by changing GTK to hardware rendering (coming in GTK 4.0).

* Wayland lacks 2D acceleration options that Xorg has. However those could plausibly be emulated by modifying the GTK 3.x code in theory.

* The EGLNative platform (that used by "Wayland" sessions) in Mutter/Gnome-Shell is generally slower than the X11 platform. It doesn't have to be. It's just a younger less mature platform, which we're trying to improve. Fixes for this would come in the 'mutter' project.

Changed in gnome-terminal (Ubuntu):
importance: Undecided → Medium
Changed in gtk+3.0 (Ubuntu):
importance: Undecided → Medium
Changed in mutter (Ubuntu):
importance: Undecided → Medium
Changed in gtk+3.0 (Ubuntu):
status: New → Triaged
Changed in mutter (Ubuntu):
status: New → Triaged
summary: - Terminal laggs (low fps) the whole desktop when fast output
+ Terminal lags (low FPS) the whole desktop when fast output
Jean-Louis Dupond (dupondje) wrote :

The following commit fixes the issue for 90%:

its not as fast as it was on X, but its useable now :)

Changed in gtk:
importance: Unknown → Medium
status: Unknown → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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