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

Bug #1746949 reported by Jean-Louis Dupond
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GTK+
Expired
Medium
gnome-terminal (Ubuntu)
Confirmed
Medium
Unassigned
gtk+3.0 (Ubuntu)
Triaged
Medium
Unassigned
mutter (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Hi,

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: performance
tags: added: performance
Revision history for this message
Jean-Louis Dupond (dupondje) wrote :
Revision history for this message
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
Revision history for this message
Jean-Louis Dupond (dupondje) wrote :

The following commit fixes the issue for 90%:
https://git.gnome.org/browse/vte/commit/?id=809e79770

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

Changed in gtk:
importance: Unknown → Medium
status: Unknown → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-terminal (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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