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:
parent
530659c643
commit
8709fc5353
3 changed files with 10 additions and 2 deletions
|
@ -87,7 +87,7 @@ variables:
|
||||||
- .skip-git-clone
|
- .skip-git-clone
|
||||||
variables:
|
variables:
|
||||||
FDO_DISTRIBUTION_VERSION: 40
|
FDO_DISTRIBUTION_VERSION: 40
|
||||||
BASE_TAG: '2024-05-16.0'
|
BASE_TAG: '2024-06-11.0'
|
||||||
MUTTER_USER: 'meta-user'
|
MUTTER_USER: 'meta-user'
|
||||||
FDO_DISTRIBUTION_PACKAGES:
|
FDO_DISTRIBUTION_PACKAGES:
|
||||||
asciidoc
|
asciidoc
|
||||||
|
@ -122,11 +122,16 @@ variables:
|
||||||
dnf builddep -y gnome-shell --setopt=install_weak_deps=False
|
dnf builddep -y gnome-shell --setopt=install_weak_deps=False
|
||||||
dnf builddep -y kernel --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 gi-docgen --setopt=install_weak_deps=False
|
||||||
|
dnf builddep -y wayland --setopt=install_weak_deps=False
|
||||||
|
|
||||||
./.gitlab-ci/install-meson-project.sh \
|
./.gitlab-ci/install-meson-project.sh \
|
||||||
https://gitlab.gnome.org/jadahl/catch.git \
|
https://gitlab.gnome.org/jadahl/catch.git \
|
||||||
main
|
main
|
||||||
|
|
||||||
|
./.gitlab-ci/install-meson-project.sh \
|
||||||
|
https://gitlab.freedesktop.org/wayland/wayland.git \
|
||||||
|
1.23.0
|
||||||
|
|
||||||
./.gitlab-ci/install-meson-project.sh \
|
./.gitlab-ci/install-meson-project.sh \
|
||||||
https://gitlab.gnome.org/GNOME/gi-docgen.git \
|
https://gitlab.gnome.org/GNOME/gi-docgen.git \
|
||||||
main
|
main
|
||||||
|
|
|
@ -45,7 +45,7 @@ udev_req = '>= 228'
|
||||||
gudev_req = '>= 232'
|
gudev_req = '>= 232'
|
||||||
|
|
||||||
# wayland version requirements
|
# wayland version requirements
|
||||||
wayland_server_req = '>= 1.22'
|
wayland_server_req = '>= 1.23'
|
||||||
wayland_protocols_req = '>= 1.36'
|
wayland_protocols_req = '>= 1.36'
|
||||||
|
|
||||||
# native backend version requirements
|
# native backend version requirements
|
||||||
|
|
|
@ -819,6 +819,9 @@ meta_wayland_compositor_new (MetaContext *context)
|
||||||
compositor = g_object_new (META_TYPE_WAYLAND_COMPOSITOR, NULL);
|
compositor = g_object_new (META_TYPE_WAYLAND_COMPOSITOR, NULL);
|
||||||
compositor->context = context;
|
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);
|
wayland_event_source = wayland_event_source_new (compositor->wayland_display);
|
||||||
|
|
||||||
/* XXX: Here we are setting the wayland event source to have a
|
/* XXX: Here we are setting the wayland event source to have a
|
||||||
|
|
Loading…
Reference in a new issue