Touchpad scroll events overwhelm terminal programs
Ticket to address an issue raised in comments to another unrelated issue in: chergert/ptyxis#107 (comment 2024175)
when i scroll in powertop tuneables tab using touchpad current terminal tab freezes for couple of seconds.
same issue with gl renderer. can't reproduce using alacritty.
syscap:111.syscap
screencast: starts at 0:12, 2nd column from the right in bottom left window is cpu usage. in screencast i go to bottom then to the middle using arrow keys. after that i scroll using touchpad
Kooha-2024-02-23-01-57-00
ptyxis debug info
Name: Fedora Linux
uname.sysname = Linux
uname.release = 6.7.4-200.fc39.x86_64
uname.version = #1 SMP PREEMPT_DYNAMIC Mon Feb 5 22:21:14 UTC 2024
uname.machine = x86_64
GLib: 2.79.2 (compiled against 2.79.2)
GTK: 4.13.8 (compiled against 4.13.8)
VTE: 0.77.0 (compiled against 0.77.0) +BIDI +GNUTLS +ICU -SIXEL +SYSTEMD
Display: GdkWaylandDisplay
GTK Theme: Adwaita-empty
System Font: Source Code Pro 10
Font: -- Using System Font --
window[0].n_tabs = 1
window[0].renderer = GskNglRenderer
window[0].scale = 1,000000
window[0].scale_factor = 1
window[0].monitor.geometry = 0,0 1920×1080
window[0].monitor.refresh_rate = 60007
** DEVELOPMENT BUILD **
App ID: org.gnome.Ptyxis.Devel
/var/run/host/etc/profile.d/vte.sh exists
Containers:
• nostalgic_shockley (podman)
• dbx-arch (distrobox)
• sage-arch (distrobox)
[Application]
name=org.gnome.Ptyxis.Devel
runtime=runtime/org.gnome.Platform/x86_64/master
[Instance]
instance-id=3911754678
instance-path=/home/dell/.var/app/org.gnome.Ptyxis.Devel
app-path=/var/lib/flatpak/app/org.gnome.Ptyxis.Devel/x86_64/master/7cab857b7149c4aeccc33b9d0099e99cc3996569ce7be4030072c27e1806455a/files
app-commit=7cab857b7149c4aeccc33b9d0099e99cc3996569ce7be4030072c27e1806455a
app-extensions=org.gnome.Ptyxis.Devel.Locale=9742020c6e15e6dcd8edc120e73b7f1b1da041015dfa6941a78dc31352c491aa;org.gnome.Ptyxis.Devel.Debug=be85de1adf6bbc2e5ed8f536190f41dbd5bf84f7355f1b5b3c83de12393a3ee1
runtime-path=/var/lib/flatpak/runtime/org.gnome.Platform/x86_64/master/bd3b618e26077172b42d9a962e91d82e0d5551745db73127f79b4ef8bd823294/files
runtime-commit=bd3b618e26077172b42d9a962e91d82e0d5551745db73127f79b4ef8bd823294
runtime-extensions=org.gnome.Platform.Locale=489c16772d28e007bbe2f7a6a16796dbb3ab626f3c313e20ab5be1446c952644;org.freedesktop.Platform.GL.default=225bef6766166624114e04a7072f39f0bdbf8df4874b0c8c82f17bae72dd4c25;org.freedesktop.Platform.VulkanLayer.gamescope=e9e8c03546c01a0fb728376cc380fe96f7b00ed13454072041f2303cb2094cd6;org.freedesktop.Platform.VAAPI.Intel=de4270e23744039b781a1b9c17862a97a54b4cdc4c4f65f482303b8634fbba60;org.freedesktop.Platform.GL.default=f07c1a100481d326ea962c0015837ae14b2ad41b979b8ead74adeabd7acf5425
branch=master
arch=x86_64
flatpak-version=1.15.6
session-bus-proxy=true
system-bus-proxy=true
devel=true
[Context]
shared=network;ipc;
sockets=x11;wayland;fallback-x11;
devices=dri;
features=devel;
filesystems=home;host;
[Session Bus Policy]
org.freedesktop.Flatpak=talk
[Environment]
ALSA_CONFIG_PATH=/usr/share/alsa/alsa-flatpak.conf
GI_TYPELIB_PATH=/app/lib/girepository-1.0
GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0:/usr/lib/extensions/gstreamer-1.0:/usr/lib/x86_64-linux-gnu/gstreamer-1.0
XDG_DATA_DIRS=/app/share:/usr/share:/usr/share/runtime/share:/run/host/user-share:/run/host/share
ALSA_CONFIG_DIR=/usr/share/alsa
__EGL_EXTERNAL_PLATFORM_CONFIG_DIRS=/etc/egl/egl_external_platform.d:/usr/lib/x86_64-linux-gnu/GL/egl/egl_external_platform.d:/usr/share/egl/egl_external_platform.d
PYTHONUSERBASE=/var/data/python
NAME="Fedora Linux"
VERSION="39 (Workstation Edition)"
ID=fedora
VERSION_ID=39
VERSION_CODENAME=""
PLATFORM_ID="platform:f39"
PRETTY_NAME="Fedora Linux 39 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:39"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f39/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=39
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=39
SUPPORT_END=2024-11-12
VARIANT="Workstation Edition"
VARIANT_ID=workstation
`eglinfo -B`
GBM platform:
eglinfo: eglInitialize failed
Wayland platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL core profile vendor: Intel
OpenGL core profile renderer: Mesa Intel(R) UHD Graphics (TGL GT2)
OpenGL core profile version: 4.6 (Core Profile) Mesa 23.3.5
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: Intel
OpenGL compatibility profile renderer: Mesa Intel(R) UHD Graphics (TGL GT2)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 23.3.5
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: Intel
OpenGL ES profile renderer: Mesa Intel(R) UHD Graphics (TGL GT2)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 23.3.5
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20
X11 platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL core profile vendor: Intel
OpenGL core profile renderer: Mesa Intel(R) UHD Graphics (TGL GT2)
OpenGL core profile version: 4.6 (Core Profile) Mesa 23.3.5
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: Intel
OpenGL compatibility profile renderer: Mesa Intel(R) UHD Graphics (TGL GT2)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 23.3.5
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: Intel
OpenGL ES profile renderer: Mesa Intel(R) UHD Graphics (TGL GT2)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 23.3.5
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20
Surfaceless platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL core profile vendor: Intel
OpenGL core profile renderer: Mesa Intel(R) UHD Graphics (TGL GT2)
OpenGL core profile version: 4.6 (Core Profile) Mesa 23.3.5
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: Intel
OpenGL compatibility profile renderer: Mesa Intel(R) UHD Graphics (TGL GT2)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 23.3.5
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: Intel
OpenGL ES profile renderer: Mesa Intel(R) UHD Graphics (TGL GT2)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 23.3.5
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20
Device platform:
Device #0:
Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL core profile vendor: Intel
OpenGL core profile renderer: Mesa Intel(R) UHD Graphics (TGL GT2)
OpenGL core profile version: 4.6 (Core Profile) Mesa 23.3.5
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: Intel
OpenGL compatibility profile renderer: Mesa Intel(R) UHD Graphics (TGL GT2)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 23.3.5
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: Intel
OpenGL ES profile renderer: Mesa Intel(R) UHD Graphics (TGL GT2)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 23.3.5
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20
Device #1:
Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 17.0.6, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 23.3.5
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 17.0.6, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 23.3.5
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 17.0.6, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 23.3.5
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20
Edited by RocketRide