x86*: disable gallium swr to fix init crash seen with nouveau driver [release 21.0.3-2mamba;Mon Apr 26 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 17:47:45 +01:00
parent c48e018eea
commit 05e53ca1f4

View File

@ -1,7 +1,7 @@
Name: Mesa Name: Mesa
Epoch: 1 Epoch: 1
Version: 21.0.2 Version: 21.0.3
Release: 3mamba Release: 2mamba
Summary: A 3-D graphics library with an API which is very similar to that of OpenGL Summary: A 3-D graphics library with an API which is very similar to that of OpenGL
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -155,10 +155,9 @@ export PYTHON=%{__python3}
-Dasm=false \ -Dasm=false \
%endif %endif
%ifarch x86_64 %{ix86} %ifarch x86_64 %{ix86}
-Dswr-arches=avx,avx2 \
-Dvulkan-drivers=amd,intel,swrast \ -Dvulkan-drivers=amd,intel,swrast \
-Ddri-drivers=i915,i965,r100,r200,nouveau \ -Ddri-drivers=i915,i965,r100,r200,nouveau \
-Dgallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,swrast,swr,iris,zink \ -Dgallium-drivers=r300,r600,radeonsi,nouveau,virgl,svga,swrast,iris,zink \
-Dlibunwind=enabled \ -Dlibunwind=enabled \
-Dvalgrind=enabled \ -Dvalgrind=enabled \
%endif %endif
@ -189,6 +188,7 @@ export PYTHON=%{__python3}
-Ddri-drivers-path=%{_libdir}/dri \ -Ddri-drivers-path=%{_libdir}/dri \
-Dshared-llvm=enabled -Dshared-llvm=enabled
# -Dswr-arches=avx,avx2 \
# -Dglx-direct=true \ # -Dglx-direct=true \
%meson_build %meson_build
@ -234,10 +234,10 @@ ln -s libGLX_mesa.so.0 %{buildroot}%{_libdir}/libGLX_indirect.so.0
%{_libdir}/libxatracker.so.* %{_libdir}/libxatracker.so.*
%{_libdir}/libXvMC*.so.* %{_libdir}/libXvMC*.so.*
%{_libdir}/libvulkan_*.so %{_libdir}/libvulkan_*.so
%ifarch x86_64 %{ix86} #%ifarch x86_64 %{ix86}
%{_libdir}/libswrAVX.so.* #%{_libdir}/libswrAVX.so.*
%{_libdir}/libswrAVX2.so.* #%{_libdir}/libswrAVX2.so.*
%endif #%endif
%{_libdir}/bellagio/libomx_mesa.so %{_libdir}/bellagio/libomx_mesa.so
%dir %{_libdir}/d3d %dir %{_libdir}/d3d
%{_libdir}/d3d/d3dadapter9.so.* %{_libdir}/d3d/d3dadapter9.so.*
@ -261,8 +261,8 @@ ln -s libGLX_mesa.so.0 %{buildroot}%{_libdir}/libGLX_indirect.so.0
%{_includedir}/GL/internal/dri_interface.h %{_includedir}/GL/internal/dri_interface.h
%ifarch x86_64 %{ix86} %ifarch x86_64 %{ix86}
%{_includedir}/vulkan/vulkan_intel.h %{_includedir}/vulkan/vulkan_intel.h
%{_libdir}/libswrAVX.so #%{_libdir}/libswrAVX.so
%{_libdir}/libswrAVX2.so #%{_libdir}/libswrAVX2.so
%endif %endif
%{_libdir}/libgbm.so %{_libdir}/libgbm.so
%{_libdir}/libxatracker.so %{_libdir}/libxatracker.so
@ -283,6 +283,12 @@ ln -s libGLX_mesa.so.0 %{buildroot}%{_libdir}/libGLX_indirect.so.0
%{_libdir}/pkgconfig/xatracker.pc %{_libdir}/pkgconfig/xatracker.pc
%changelog %changelog
* Mon Apr 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 21.0.3-2mamba
- x86*: disable gallium swr to fix init crash seen with nouveau driver
* Sat Apr 24 2021 Automatic Build System <autodist@mambasoft.it> 21.0.3-1mamba
- automatic version update by autodist
* Sat Apr 24 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 21.0.2-3mamba * Sat Apr 24 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 21.0.2-3mamba
- provide libgbm-devel and libxatracker-devel - provide libgbm-devel and libxatracker-devel