$ meson builddir -Ddri-drivers='' -Dgallium-drivers=swrast [...] Message: libdrm 2.4.97 needed because amdgpu has the highest requirement Native dependency libdrm_amdgpu found: NO found '2.4.91' but need: '>=2.4.97' meson.build:1155:4: ERROR: Invalid version of dependency, need 'libdrm_amdgpu' ['>=2.4.97'] found '2.4.91'.
I believe you also need to empty out vulkan-drivers.
This worked. meson builddir -Ddri-drivers='' -Dgallium-drivers=swrast -Dvulkan-drivers='' -Dplatforms=x11
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.