[Bug 1197544] New: GNOME:Factory/gnome-terminal: Scrolling bug
http://bugzilla.opensuse.org/show_bug.cgi?id=1197544 Bug ID: 1197544 Summary: GNOME:Factory/gnome-terminal: Scrolling bug Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: GNOME Assignee: gnome-bugs@suse.de Reporter: reiokorn@tutanota.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Since the latest update, the gnome terminal is constantly scrolling down when waiting for input. See video https://youtu.be/nXLKlqWtoW8 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1197544 B <reiokorn@tutanota.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |os.gnome.maintainers@gmail. | |com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1197544 http://bugzilla.opensuse.org/show_bug.cgi?id=1197544#c1 B <reiokorn@tutanota.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo? --- Comment #1 from B <reiokorn@tutanota.com> --- any others affected by this? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1197544 http://bugzilla.opensuse.org/show_bug.cgi?id=1197544#c2 Atri Bhattacharya <badshah400@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |badshah400@gmail.com Flags|needinfo? | --- Comment #2 from Atri Bhattacharya <badshah400@gmail.com> --- Nope, cannot reproduce here. NAME="openSUSE Tumbleweed" VERSION="20220402" gnome-terminal 3.44.00-1.1 from OSS repo GNOME 42.0 on X11 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1197544 http://bugzilla.opensuse.org/show_bug.cgi?id=1197544#c3 --- Comment #3 from B <reiokorn@tutanota.com> --- (In reply to Atri Bhattacharya from comment #2)
Nope, cannot reproduce here.
NAME="openSUSE Tumbleweed" VERSION="20220402" gnome-terminal 3.44.00-1.1 from OSS repo GNOME 42.0 on X11
Thanks for giving me the idea of the X11 session. The bug is only reproducible under WAYLAND not under X11 I just tried that. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1197544 http://bugzilla.opensuse.org/show_bug.cgi?id=1197544#c4 --- Comment #4 from B <reiokorn@tutanota.com> --- OS: openSUSE Tumbleweed x86_64 # VERSION="20220402" Kernel: 5.17.1-1-default Shell: bash 5.1.16 Resolution: 2560x1440 DE: GNOME 42.0 WM: Mutter Terminal: gnome-terminal Version: 3.44.0-1.1 CPU: AMD Ryzen 7 5800X (16) @ 3.800GHz GPU: AMD ATI Radeon RX 6700/6700 XT / 6800M -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1197544 B <reiokorn@tutanota.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joan.torres@suse.com, | |sndirsch@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1197544 http://bugzilla.opensuse.org/show_bug.cgi?id=1197544#c5 Stefan Dirsch <sndirsch@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|sndirsch@suse.com | --- Comment #5 from Stefan Dirsch <sndirsch@suse.com> --- This looks like a gnome-terminal or GNOME/Wayland/mutter related issue. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1197544 B <reiokorn@tutanota.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jengelh@inai.de -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1197544 http://bugzilla.opensuse.org/show_bug.cgi?id=1197544#c6 --- Comment #6 from Jan Engelhardt <jengelh@inai.de> --- Some thoughts: I have seen something like that before, even in X11. It is not so much a scrolling problem as it is a latency issue. For example, I have my keyboard repeat rate set to 40cps, i.e. one character every 25000 �sec. I can reproduce the "scrolling issue" in xterm with such a prompt: PS1='\w$(usleep 22000)> ' which means there is a total latency of almost 3000�s. xterm has to process the ENTER key input, bash has to parse the empty command, then parse PS1 to show the next prompt, spin up a subprocess, that subprocess has to load and finish, and then the prompt text (TTF!) needs to be rendered, etc. Both bash and {the dynamic loader which runs as part of /usr/bin/usleep} have been getting fatter over the past 20 years in general. If I do the same in dash, I need to use 23000 to get a similar effect, which means dash is about 1ms more effective in parsing etc. Other aggravating factors: * openSUSE's default PS1 contains $(spwd), which adds another 2.5ms of latency in my testing * libvte-based terminals have had really bad latency characteristics of their own, https://lwn.net/Articles/751763/ . That article is from 2018, I don't know how things look in 2022. Also, I envision that the article is measuring quite differently than I am. In my adhoc test, libvte(on X11) latency is only about 3.5ms worse than xterm. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1197544 Joan Torres <joan.torres@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC|joan.torres@suse.com | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1197544 B <reiokorn@tutanota.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|GNOME:Factory/gnome-termina |GNOME:Factory/gnome-termina |l: Scrolling bug |l/Wayland/mutter: latency | |issue -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1197544 http://bugzilla.opensuse.org/show_bug.cgi?id=1197544#c7 --- Comment #7 from B <reiokorn@tutanota.com> --- (In reply to Jan Engelhardt from comment #6)
Some thoughts:
I have seen something like that before, even in X11. It is not so much a scrolling problem as it is a latency issue.
For example, I have my keyboard repeat rate set to 40cps, i.e. one character every 25000 �sec. I can reproduce the "scrolling issue" in xterm with such a prompt:
PS1='\w$(usleep 22000)> '
which means there is a total latency of almost 3000�s. xterm has to process the ENTER key input, bash has to parse the empty command, then parse PS1 to show the next prompt, spin up a subprocess, that subprocess has to load and finish, and then the prompt text (TTF!) needs to be rendered, etc. Both bash and {the dynamic loader which runs as part of /usr/bin/usleep} have been getting fatter over the past 20 years in general. If I do the same in dash, I need to use 23000 to get a similar effect, which means dash is about 1ms more effective in parsing etc.
Other aggravating factors:
* openSUSE's default PS1 contains $(spwd), which adds another 2.5ms of latency in my testing
* libvte-based terminals have had really bad latency characteristics of their own, https://lwn.net/Articles/751763/ . That article is from 2018, I don't know how things look in 2022. Also, I envision that the article is measuring quite differently than I am. In my adhoc test, libvte(on X11) latency is only about 3.5ms worse than xterm.
thanks for your input, any idea on how to fix this? Why is it only affecting Wayland and not X11? I'm esp. wondering because, not all of my machines are affected and they are all running TW. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1197544 http://bugzilla.opensuse.org/show_bug.cgi?id=1197544#c8 --- Comment #8 from B <reiokorn@tutanota.com> --- Still borked my other machine is now also getting the same issue -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com