diff --git a/src/frame/capturer/wayland.rs b/src/frame/capturer/wayland.rs index 5226d27..f79b00a 100644 --- a/src/frame/capturer/wayland.rs +++ b/src/frame/capturer/wayland.rs @@ -424,6 +424,9 @@ impl Dispatch for Capturer { } zwlr_screencopy_frame_v1::Event::Ready { .. } => { + // The frame is sadly not always ready at this stage, and I couldn't find how to make Vulkan synchronize with the compositor ☹️ + thread::sleep(Duration::from_millis(10)); + let luma = state .vulkan .as_ref()