From 5afa7182afb35e6dbe157be8921094f22f56114e Mon Sep 17 00:00:00 2001 From: vasilito Date: Thu, 9 Jul 2026 23:12:23 +0300 Subject: [PATCH] mesa: scope down to essential drivers (swrast, virgl, crocus, iris) - Remove radeonsi (needs libdrm_radeon, disabled in libdrm) - Remove amd vulkan (needs LLVM amdgpu module, dl_iterate_phdr) - Remove intel vulkan (needs dl_iterate_phdr, not in relibc) - Remove zink (needs full Vulkan infrastructure) Kept: swrast (LLVMpipe), virgl (QEMU virtio-gpu 3D), crocus + iris (Intel Gen4-Gen12+ Gallium 3D). These are the two primary 3D driver targets for the desktop path. --- recipes/libs/mesa/recipe.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/libs/mesa/recipe.toml b/recipes/libs/mesa/recipe.toml index 37d9b581f3..701f72325c 100644 --- a/recipes/libs/mesa/recipe.toml +++ b/recipes/libs/mesa/recipe.toml @@ -68,14 +68,14 @@ cookbook_meson \ -Degl=enabled \ -Dgbm=enabled \ -Dglx=disabled \ - -Dgallium-drivers=swrast,virgl,crocus,iris,radeonsi,zink \ + -Dgallium-drivers=swrast,virgl,crocus,iris \ -Dllvm=enabled \ -Dosmesa=true \ -Dplatforms=redox,wayland \ -Dshader-cache=disabled \ -Dc_args="['-Wno-error=implicit-function-declaration','-Wno-error','-std=gnu11','-Dstatic_assert=_Static_assert']" \ -Dcpp_args="['-Wno-error=implicit-function-declaration','-Wno-error']" \ - -Dvulkan-drivers=swrast,intel,amd \ + -Dvulkan-drivers=swrast \ -Dshared-glapi=enabled # Hack to add LLVM libs, the list can be seen from meson log and check for matches $("${LLVM_CONFIG}" --libs)