The Rust Vulkano wrapper around Vulkan uses zero time timeouts which produce a lot of these messages. The author tells me that these zero timeouts are in order to check whether a fence is signalled without blocking the thread.
If this is in fact a legitimate use I think it would be great if the logging of this condition could be removed.
A timeout of zero is used in order to check whether a fence is signalled without blocking the thread.
It’s a valid thing to do (the specs even talk explicitly about that case if I remember correctly) and I’d even say that it is probably a very common thing to do.
If timeout is zero, then vkWaitForFences does not wait, but simply returns the current state of the fences. VK_TIMEOUT will be returned in this case if the condition is not satisfied, even though no actual wait was performed.
It would be great if you didn’t log that use case out as an error, as it seems to be a valid thing to do.