You are not logged in.

#1 2024-03-24 09:56:31

amatika
Member
Registered: 2016-03-17
Posts: 59

Gnome terminal, very laggy

Typing lags a lot with Gnome terminal after executing commands such as "ls".
E.g. removing the first character in the line takes 2-3 seconds.

The same issue is with xfce4-terminal.

However, with Konsole or Xterm there's no lag.
There's no lag either in browsers or apps such as LibreOffice, VSCode.

The problem started to occur after removing redundant packages from the system. Or updated all the packages. Not sure what exactly caused this.

There're following entries in the journal after executing commands such as ls and cd. Not sure if related.

tracker-miner-fs-3[5246]: Error creating proxy: Unable to create socket: Operation not permitted (g-io-error-quark, 14)

I've reinstalled Gnome, that didn't help.
My Gnome version is: Version 3.52.0 for GNOME 46
My GPU driver: nvidia 550.67-1, x86_64

Last edited by amatika (2024-03-25 08:24:35)

Offline

#2 2024-03-24 14:52:37

amhairghin
Member
Registered: 2015-10-14
Posts: 63

Re: Gnome terminal, very laggy

I have the same issue but with Terminator. Laggy input screen like if you're using a bad ssh connection.

Gnome console seems work well, but other terminal applications fail.

It's start with GNOME 46 update.

Last edited by amhairghin (2024-03-24 14:53:18)

Offline

#3 2024-03-24 18:46:21

seth
Member
Registered: 2012-09-03
Posts: 51,731

Re: Gnome terminal, very laggy

gnome-terminal, xfce4-terminal and terminator are all the same: they're wrappers around VTE3.
gnome-console uses VTE4

https://gitlab.gnome.org/GNOME/vte/-/issues/2757 sounds related.

Offline

#4 2024-03-25 03:52:52

SIGTRAP
Member
Registered: 2024-03-25
Posts: 1

Re: Gnome terminal, very laggy

I have the same issue with gnome-terminal since the gnome 46 update.
When typing into gnome-terminal, my input is not shown immediately, but with a very noticeable lag.

Enabling "Cursor blinking" in the gnome-terminal profile helps with reducing the lag; it seems the blinking cursor triggers a redraw.

xterm, alacritty and gnome-console all work fine.

I use the "nvidia 550.67-1" driver with a GeForce GTX 1650.

Edit:
Downgrading gnome-shell and mutter fixes the issue for me:

pacman -U /var/cache/pacman/pkg/gnome-shell-1:45.5-1-x86_64.pkg.tar.zst /var/cache/pacman/pkg/mutter-45.5-1-x86_64.pkg.tar.zst

Edit 2: https://gitlab.gnome.org/GNOME/mutter/-/issues/3384

Last edited by SIGTRAP (2024-03-25 04:35:22)

Offline

#5 2024-03-25 07:42:52

amhairghin
Member
Registered: 2015-10-14
Posts: 63

Re: Gnome terminal, very laggy

seth wrote:

gnome-terminal, xfce4-terminal and terminator are all the same: they're wrappers around VTE3.
gnome-console uses VTE4

https://gitlab.gnome.org/GNOME/vte/-/issues/2757 sounds related.

Initially I thought about that (that VTE3 could be related), but now I have discovered that you have the lag also in electron applications like for example with teams-for-linux or with Tauri applications like Cinny.

As SIGTRAP comments, the culprit seems to be mutter and the little affection given to X11's nowadays.

Offline

#6 2024-03-25 08:13:42

seth
Member
Registered: 2012-09-03
Posts: 51,731

Re: Gnome terminal, very laggy

now I have discovered that you have the lag also in electron applications

=> https://bbs.archlinux.org/viewtopic.php?id=294177

Offline

#7 2024-03-25 08:24:26

amhairghin
Member
Registered: 2015-10-14
Posts: 63

Re: Gnome terminal, very laggy

seth wrote:

now I have discovered that you have the lag also in electron applications

=> https://bbs.archlinux.org/viewtopic.php?id=294177

Seems related (with the update I mean)

Last edited by amhairghin (2024-03-25 08:35:58)

Offline

#8 2024-03-30 00:59:59

diogobaeder
Member
Registered: 2012-01-02
Posts: 59

Re: Gnome terminal, very laggy

I'm having this issue too; I tried setting GSK_RENDERER=gl like some suggested, which seems to have fixed the problem for the terminator program, but I'm still having the keyboard input lag with 1Password. Seems to be gone in Firefox too.

Offline

#9 2024-03-30 15:40:48

dboardman3
Member
Registered: 2018-01-24
Posts: 8

Re: Gnome terminal, very laggy

I am currently experiencing the same. Fresh arch install.

Gnome Console is snappy and fast. Gnome Terminal is un-usable. Laggy.

Offline

#10 2024-03-30 17:26:23

nista11
Member
Registered: 2024-03-26
Posts: 3

Re: Gnome terminal, very laggy

I have the same problem. I reverted to gnome 45 for now until this gets fixed. I should note that I also use the nvidia drivers.

Offline

#11 2024-03-30 17:51:25

seth
Member
Registered: 2012-09-03
Posts: 51,731

Re: Gnome terminal, very laggy

Did you try to export GSK_RENDERER=gl ?

Offline

#12 2024-03-30 18:21:42

nista11
Member
Registered: 2024-03-26
Posts: 3

Re: Gnome terminal, very laggy

Yes, that seems to improve things a bit, but the lag is still present. It can be seen, for example, in an ls command, which ends in about half a second, whereas in gnome 45 it was instant.

Offline

#13 2024-04-06 06:20:26

verbbis
Member
Registered: 2009-09-02
Posts: 27

Re: Gnome terminal, very laggy

It seems there's hope it will be fixed in the next mutter release.

Offline

#14 2024-04-06 09:21:11

amhairghin
Member
Registered: 2015-10-14
Posts: 63

Re: Gnome terminal, very laggy

Seems that applying this patch fixes the problem: https://gitlab.gnome.org/GNOME/mutter/- … 3685/diffs

Offline

#15 2024-04-07 19:54:01

justpilot
Member
Registered: 2024-04-05
Posts: 9

Re: Gnome terminal, very laggy

I upgraded the system today and everything works fine again. The problem seems to be solved.

Offline

#16 2024-04-07 19:56:13

yochananmarqos
Member
Registered: 2020-02-05
Posts: 198

Re: Gnome terminal, very laggy

@justpilot: Please edit your topic title to prepend [SOLVED].

Anyone that erroneously set GSK_RENDERER=gl should revert that. The issue is solved with mutter 46.0-3.

Offline

#17 2024-04-07 20:48:58

nista11
Member
Registered: 2024-03-26
Posts: 3

Re: Gnome terminal, very laggy

I can also confirm that the latest mutter version solved this issue.

Offline

#18 2024-04-07 20:54:01

justpilot
Member
Registered: 2024-04-05
Posts: 9

Re: Gnome terminal, very laggy

yochananmarqos wrote:

@justpilot: Please edit your topic title to prepend [SOLVED].

Anyone that erroneously set GSK_RENDERER=gl should revert that. The issue is solved with mutter 46.0-3.

@yochananmarqos: I do not have the rights to do so, as I am not the owner of this topic.

Last edited by justpilot (2024-04-07 20:54:20)

Offline

#19 2024-04-09 07:39:00

hytew
Member
Registered: 2011-01-20
Posts: 27

Re: Gnome terminal, very laggy

Solved also for Tilda + Nvidia 1650 Super.

Offline

Board footer

Powered by FluxBB