Simple-egl application slows down after system set date command
Application is drawing a simple rectangle on the surface and when set date calls are repeatedly sent , application pauses rendering until the system date set commands are stopped.
The call stack is below dri2_wl_swap_buffers_with_damage
wl_display_dispatch_queue
wl_display_poll
The display queue dispatch https://gitlab.freedesktop.org/mesa/mesa/-/blob/master/src/egl/drivers/dri2/platform_wayland.c#L1061
is waiting at the display_poll function in Wayland for a long time https://gitlab.freedesktop.org/wayland/wayland/-/blob/master/src/wayland-client.c#L1808
This behaviour is seen on kernel 4.19 on both Mesa 19.1 and 20.2