1
0
Fork 0

wayland: Bump connection buffer size to 1MB

Let's increase the connection buffer size a bit to avoid killing
clients which stall just for a few ms when they receive high
frequency input updates.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3693>
This commit is contained in:
Sebastian Wick 2024-04-09 14:37:50 +02:00 committed by Marge Bot
parent 530659c643
commit 8709fc5353
3 changed files with 10 additions and 2 deletions

View file

@ -87,7 +87,7 @@ variables:
- .skip-git-clone
variables:
FDO_DISTRIBUTION_VERSION: 40
BASE_TAG: '2024-05-16.0'
BASE_TAG: '2024-06-11.0'
MUTTER_USER: 'meta-user'
FDO_DISTRIBUTION_PACKAGES:
asciidoc
@ -122,11 +122,16 @@ variables:
dnf builddep -y gnome-shell --setopt=install_weak_deps=False
dnf builddep -y kernel --setopt=install_weak_deps=False
dnf builddep -y gi-docgen --setopt=install_weak_deps=False
dnf builddep -y wayland --setopt=install_weak_deps=False
./.gitlab-ci/install-meson-project.sh \
https://gitlab.gnome.org/jadahl/catch.git \
main
./.gitlab-ci/install-meson-project.sh \
https://gitlab.freedesktop.org/wayland/wayland.git \
1.23.0
./.gitlab-ci/install-meson-project.sh \
https://gitlab.gnome.org/GNOME/gi-docgen.git \
main

View file

@ -45,7 +45,7 @@ udev_req = '>= 228'
gudev_req = '>= 232'
# wayland version requirements
wayland_server_req = '>= 1.22'
wayland_server_req = '>= 1.23'
wayland_protocols_req = '>= 1.36'
# native backend version requirements

View file

@ -819,6 +819,9 @@ meta_wayland_compositor_new (MetaContext *context)
compositor = g_object_new (META_TYPE_WAYLAND_COMPOSITOR, NULL);
compositor->context = context;
wl_display_set_default_max_buffer_size (compositor->wayland_display,
1024 * 1024);
wayland_event_source = wayland_event_source_new (compositor->wayland_display);
/* XXX: Here we are setting the wayland event source to have a