[v3dv] Vulkan + Wayland doesn't work
Hi there,
I just tried to build MESA latest git code for the Raspberry Pi 5 with both KMS/DRM and Wayland support.
This is how I am building MESA:
mkdir build
cd build
meson setup -Dbuildtype=release -Dglx=disabled -Dplatforms=wayland -Dllvm=disabled -Dvulkan-drivers=broadcom -Dgallium-drivers=v3d,vc4,kmsro \
-Dglvnd=true ..
Te problem is that Vulkan programs (like RetroArch, SDL2 Vulkan test, etc) run fine on KMS/DRM, but on Wayland I get:
v3dv_drm_handle_device: drmGetMagic failed
I am using labwc, an wl-roots based compositor, and latest stable wl-rools version.
The fact that it works on KMS/DRM but not on Wayland leads me to think that there's something wrong with the Wayland support on the Pi 5, which is puzzling since Wayfire is now the default compositor used on the platform.
@apinheiro This is the issue we talked about.
My main concern is that my meson options could be wrong (I use the same I meson options used on the Pi4), so I'd be gladly corrected if that's the case.