From ddcaba19633cfa57b4d8bfc193cc4e8d0dc45208 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 15 Jun 2018 11:57:33 +0200 Subject: extra/mesa: trying to fix FS32#39 (AVX in modesetting in openswr) --- extra/mesa/PKGBUILD | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'extra/mesa') diff --git a/extra/mesa/PKGBUILD b/extra/mesa/PKGBUILD index 50f4397b..5da3bb35 100644 --- a/extra/mesa/PKGBUILD +++ b/extra/mesa/PKGBUILD @@ -1,7 +1,20 @@ -# disable AVX/AVX2 in openswf, makes no sense with old CPUs +# disable openswf as it requires AVX, makes no sense with old CPUs +# disable every new software rasterizer and take the old ones +# see also FS32#39 eval "$( declare -f build | \ sed ' - s/-D swr-arches=avx,avx2//g + /arch-meson/s/\(gallium-drivers=.*\),swr/\1/ + /arch-meson/s/-D swr-arches=avx,avx2// + /arch-meson/s/-D gallium-nine=true/-D gallium-nine=false/ + /arch-meson/s/-D osmesa=gallium/-D osmesa=classic/ + /arch-meson/s/dri-drivers=/dri-drivers=swrast,/ + ' + declare -f package_mesa | \ + sed ' + s@_install fakeinstall/usr/lib/d3d@#\0@g + s@_install fakeinstall/usr/lib/libswrAVX.*@#\0@g ' )" + + -- cgit v1.2.3-54-g00ecf