I have a problem where for some reason the program now spends multiple seconds at the second eglSwapBuffers call during program startup. Appearently it waits inside the wl_display_poll method inside wayland:
#0 0x0000007f8a4d0ffc in __GI___poll (fds=fds@entry=0x7f698fde98, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/generic/poll.c:38 #1 0x0000007f8c214728 in wl_display_poll (events=events@entry=1, display=<optimized out>) at /home/jenkins-slave/workspace/5c078a9b05b7cdd0f6fef4d97b1d63c0/work/system/ext-wayland/src/1/workspace/wayland-1.14.0/src/wayland-client.c:1593 #2 0x0000007f8c2159ec in wl_display_dispatch_queue (display=0x22509e10, queue=0x225c3b30) at /home/jenkins-slave/workspace/5c078a9b05b7cdd0f6fef4d97b1d63c0/work/system/ext-wayland/src/1/workspace/wayland-1.14.0/src/wayland-client.c:1666
I thought I could solve the problem with eglSwapInterval(<…>,0), but it is already used.
What can the problem be?
Edit: How can I Post a long log here?