Open ids1024 opened 2 months ago
This issue seems to exist in upstream Iced, when using the wgpu
backend, and creating multiple windows.
Looking at Mesa's code, it does seem the Vulkan WSI calls wl_display_get_registry
every time you create a surface.
This may be a problem for anything that creates and destroys a lot of Vulkan surfaces.
https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/388 hopefully will allow this to be fixed in Mesa.
wl_registry
objects are never destroyed, so this leaks resources and is likely an issue.Not sure exactly where
get_registry
is being called. Ideally there should only be onewl_registry
instance, but a few in difference libraries is fine.