xserver/hw
Olivier Fourdan d1f26c3e75 xwayland: Raise the FD limit to the max
Xwayland may open a fair amount of file descriptors for passing Wayland
buffers, even more so when using the `wl_shm` either for the pointer
cursors or for when GLAMOR is not usable.

As a result, Xwayland may hit the (soft) limit of file descriptors
leading to a Wayland protocol error and the termination of Xwayland.

To mitigate that risk, raise the limit to the maximum (hard) limit of
file descriptors (unless of course the limit was set explicitly from the
command line with "-lf").

Note that for completeness, the Wayland compositor may have to do the
same, otherwise the limit might get reached on the compositor side as
well.

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Suggested-by: Simon Ser <contact@emersion.fr>
Acked-by: Michel Dänzer <mdaenzer@redhat.com>
Closes: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1283
2022-01-18 11:10:11 +01:00
..
kdrive Remove autotools support 2021-10-27 13:15:40 +03:00
vfb Remove autotools support 2021-10-27 13:15:40 +03:00
xfree86 xf86/logind: fix missing call to vtenter if the platform device is not paused 2021-12-20 16:57:10 +01:00
xnest Remove autotools support 2021-10-27 13:15:40 +03:00
xquartz Remove autotools support 2021-10-27 13:15:40 +03:00
xwayland xwayland: Raise the FD limit to the max 2022-01-18 11:10:11 +01:00
xwin meson: Fix build of xwinclip tool when xcb is installed in non-default location 2021-11-04 13:03:25 +00:00
meson.build Drop DMX DDX 2021-09-07 09:34:31 +00:00