Manuel Alfayate Corchete
Manuel Alfayate Corchete
This piece of code DOES wait for actual buffer swap event: ``` struct wl_callback *callback; int frame_done; frame_done = 0; callback = wl_surface_frame(wl->surface); if (callback == NULL) return; // Issue...
@nfp0 Yes, I did my own tests and there was no improvement to be seen. Let's simply wait for Vulkan to be fixed on Wayland.
@nfp0 Same here... Do you think that PR is forgotten or something? Wayland is supposed to be the future, having massive input lag with it is not a good sign.
@nfp0 I ping-ed the issue. Let's hope they merge it. If 2 buffers could be forced in the driver somehow...
@nfp0 Thanks for the patch! Indeed, it works for forcing Vulkan to give us the specified number of buffers: with that, RetroArch on Wayland AT LONG LAST says that it's...
@nfp0 Did you measure swapchain=2 vs swapchain=3? I mean, with your equipment.
> No, I did not measure swapchain=3. But I can do that to make sure. Yes please, measure swapchain=3 and swapchain=2 and tell me what difference you see.
@nfp0 Great! Thanks for these numbers and experiments! Some questions arise in my mind: -Did you do these tests with "Threaded video" disabled? (Enabling it increases the output lag by...
> Out of curiosity, has anyone ever claimed an input lag lower than 50ms on RetroArch on any system ever? (Without using frame delay and run-ahead, of course). Not that...
@nfp0 Yes, please, I would like to see the lag you get for OpenGL on Wayland. I got around 65ms, which is a bit high, but then again it seems...