wgpu
wgpu copied to clipboard
[Android] Texture is flickering with Vulkan backend
Description Texture is flickering with Vulkan backend. Works well with OpenGL backend. (on device screen image flickering faster).
https://user-images.githubusercontent.com/3227317/149007999-b52358b9-bcc9-49ec-a5d7-104c71c671cb.mp4
https://user-images.githubusercontent.com/3227317/149008030-9bff246d-999a-40d5-a717-6ab435256387.mp4
Repro steps Run bevy android example (https://github.com/Gordon-F/bevy/tree/9cc7a3520cb80ede22c350987515910ea70d3356/examples/android)
Extra materials Every frame error:
vkAcquireNextImageKHR: non-infinite timeouts not yet implemented
Platform GPU: Mali-T830 Android: 8.0 (API 26)
Interesting! And it appears that the target platform may be not fully Vulkan-conformant, based on the error message.
Could you try changing the PresentMode
inside SurfaceConfiguration
and see how it affects the flicker?
Also, would there be any tools on Android to debug this? e.g. attempting to capture the workflow leading to an empty frame.
Any progress on this?
@kvark @Gordon-F @cwfitzgerald did you try to type ?gl
in the search field and restart the app? Did it help?