So I want to work with wgpu + winit for a project and I kept getting a weird Error Message, so I've tried the learn-wgpu examples and encountered the same error wp_linux_drm_syncobj_manager_v1#55: error 0: Surface already has a syncobj attached
The compositor I'm using is Hyprland, but that is not the cause, since Gnome Wayland showed the same problem, but when I tried xorg, it worked, but I want to use Wayland, but haven't really found any solution for that
if you want the code of one example:
But the problem seems to be a general thing with wayland / wgpu
please, if anyone can help.
Any advice appreciated.
Ok, Edit: I tracked it down to the VULKAN Backend
The Backend was set to Primary and seemingly defaulted to vulkan.
When selecting GL as backend it actually works
So I still would like help with fixing the Vulkan problem, but if anyone comes across this with a similar problem
Stopgap solution
change the instance backend from Vulkan to GL or try the others, depending on your system