From 84742d9edb23c0ca74f4396d83caaff7a0f485c8148e08564f75d1ff1f3109bf Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Wed, 30 Jan 2019 16:33:21 +0000 Subject: [PATCH 1/6] Accepting request 667672 from home:tobijk:branches:home:tobijk:X11:XOrg - Update the version of the mesa core package to 18.3.2 - Build Mesa with meson instead of automake + Build classic swrast with Mesa, as its a dependency for osmesa - delete it while installing + Build egl with Mesa-drivers as it demands one windowing-system - delete it while installing - Update the version of the mesa core package to 18.3.2 - Build Mesa with meson instead of automake + Build classic swrast with Mesa, as its a dependency for osmesa - delete it while installing + Build egl with Mesa-drivers as it demands one windowing-system - delete it while installing OBS-URL: https://build.opensuse.org/request/show/667672 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=804 --- Mesa-drivers.changes | 14 +++++ Mesa-drivers.spec | 126 +++++++++++++++++++++++-------------------- Mesa.changes | 14 +++++ Mesa.spec | 126 +++++++++++++++++++++++-------------------- 4 files changed, 166 insertions(+), 114 deletions(-) diff --git a/Mesa-drivers.changes b/Mesa-drivers.changes index de4afcd..abe840f 100644 --- a/Mesa-drivers.changes +++ b/Mesa-drivers.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon Jan 21 18:42:08 UTC 2019 - Tobias Klausmann + +- Update the version of the mesa core package to 18.3.2 + +------------------------------------------------------------------- +Mon Jan 21 18:29:27 UTC 2019 - Tobias Klausmann + +- Build Mesa with meson instead of automake + + Build classic swrast with Mesa, as its a dependency for osmesa - delete it + while installing + + Build egl with Mesa-drivers as it demands one windowing-system - + delete it while installing + ------------------------------------------------------------------- Fri Jan 18 18:32:13 UTC 2019 - sndirsch@suse.com diff --git a/Mesa-drivers.spec b/Mesa-drivers.spec index 851e6fa..9a35fa8 100644 --- a/Mesa-drivers.spec +++ b/Mesa-drivers.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -137,15 +137,15 @@ Patch31: archlinux_0001-Fix-linkage-against-shared-glapi.patch Patch54: n_drirc-disable-rgb10-for-chromium-on-amd.patch Patch57: u_wayland_egl-Ensure-EGL-surface.patch - Patch60: n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch -BuildRequires: autoconf >= 2.60 -BuildRequires: automake +BuildRequires: bison BuildRequires: fdupes +BuildRequires: flex BuildRequires: gcc-c++ BuildRequires: imake BuildRequires: libtool +BuildRequires: meson BuildRequires: pkgconfig BuildRequires: python3-base %if 0%{?suse_version} > 1320 @@ -763,83 +763,83 @@ egl_platforms=x11,drm,surfaceless,wayland %else egl_platforms=x11,drm,surfaceless %endif -autoreconf -fvi -export PYTHON2=%{_bindir}/python3 -%configure \ +%meson \ + --auto-features=disabled \ %if %{drivers} - --disable-gles1 \ - --disable-gles2 \ - --disable-egl \ - --disable-glx \ - --disable-osmesa \ + -Dgles1=false \ + -Dgles2=false \ + -Degl=true \ + -Dglx=disabled \ + -Dosmesa=none \ %else %if 0%{?libglvnd} - --enable-libglvnd \ + -Dglvnd=true \ %endif - --enable-gles1 \ - --enable-gles2 \ - --enable-egl \ - --enable-osmesa \ + -Dgles1=true \ + -Dgles2=true \ + -Degl=true \ + -Dosmesa=classic \ + -Dglx=auto \ + -Dllvm=false \ + -Dvulkan-drivers= \ %endif - --with-platforms=$egl_platforms \ - --enable-dri \ - --enable-texture-float \ - --enable-dri3 \ - --enable-shared-glapi \ + -Dplatforms=$egl_platforms \ + -Ddri3=true \ + -Dshared-glapi=true \ %if 0%{?with_nine} - --enable-nine \ + -Dgallium-nine=true \ %endif %if %{glamor} - --enable-gbm \ - --enable-glx-tls \ + -Dgbm=true \ %endif %if 0%{with_opencl} - --enable-opencl \ - --enable-opencl-icd \ + -Dgallium-opencl=icd \ %endif - --with-dri-searchpath=%{_libdir}/dri \ + -Ddri-search-path=%{_libdir}/dri \ %if 0%{with_llvm} - --enable-llvm \ - --enable-llvm-shared-libs \ + -Dllvm=true \ + -Dshared-llvm=true \ %endif %if %{drivers} - --enable-vdpau \ -%endif - --enable-va \ - --enable-xvmc \ + -Dgallium-vdpau=true \ + -Dgallium-xvmc=true \ + -Dgallium-va=true \ %if 0%{with_vulkan} - --with-vulkan-drivers=intel,radeon \ + -Dvulkan-drivers=intel,amd \ +%endif %endif %if %{drivers} %ifarch %{ix86} x86_64 - --enable-xa \ - --with-dri-drivers=i915,i965,nouveau,r200,radeon \ - --with-gallium-drivers=r300,r600,radeonsi,nouveau,swrast,svga,virgl \ + -Dgallium-xa=true \ + -Ddri-drivers=i915,i965,nouveau,r100,r200 \ + -Dgallium-drivers=r300,r600,radeonsi,nouveau,swrast,svga,virgl \ %endif %ifarch %{arm} aarch64 - --enable-xa \ - --with-dri-drivers=nouveau \ - --with-gallium-drivers=r300,r600,nouveau,swrast,virgl,freedreno,vc4,etnaviv,imx \ + -Dgallium-xa=true \ + -Ddri-drivers=nouveau \ + -Dgallium-drivers=r300,r600,nouveau,swrast,virgl,freedreno,vc4,etnaviv,imx \ %endif %ifarch ppc64 ppc64le - --enable-xa \ - --with-dri-drivers=nouveau \ - --with-gallium-drivers=r300,r600,nouveau,swrast \ + -Dgallium-xa=true \ + -Ddri-drivers=nouveau \ + -Dgallium-drivers=r300,r600,nouveau,swrast \ %endif %ifarch ia64 ppc hppa s390 s390x riscv64 - --with-dri-drivers=swrast \ - --with-gallium-drivers=swrast \ + -Ddri-drivers=swrast \ + -Dgallium-drivers=swrast \ %endif %else - --with-dri-drivers= \ - --with-gallium-drivers= \ + -Ddri-drivers=swrast \ + -Dgallium-drivers= \ %endif - CFLAGS="%{optflags} -DNDEBUG" -make %{?_smp_mflags} V=1 + -Db_ndebug=true \ + -Dc_args="%{optflags}" + +%meson_build %install -%make_install +%meson_install find %{buildroot} -type f -name "*.la" -delete -print # libwayland-egl is provided by wayland itself @@ -853,6 +853,15 @@ rm -f %{buildroot}/%{_libdir}/pkgconfig/wayland-egl.pc # in Mesa rm -rf %{buildroot}/%{_datadir}/drirc.d +rm -f %{buildroot}/%{_libdir}/libEGL.so* +# in Mesa-libEGL-devel +rm %{buildroot}/%{_includedir}/EGL/egl.h +rm %{buildroot}/%{_includedir}/EGL/eglext.h +rm %{buildroot}/%{_includedir}/EGL/eglextchromium.h +rm %{buildroot}/%{_includedir}/EGL/eglmesaext.h +rm %{buildroot}/%{_includedir}/EGL/eglplatform.h +rm %{buildroot}/%{_libdir}/pkgconfig/egl.pc + # in Mesa-libGL-devel rm -rf %{buildroot}/%{_includedir}/GL @@ -875,6 +884,9 @@ rm %{buildroot}/%{_libdir}/pkgconfig/gbm.pc rm -rf %{buildroot}/%{_includedir}/KHR %else + +rm -rf %{buildroot}/%{_libdir}/dri/swrast_dri.so + %if 0%{?libglvnd} == 0 # Make a symlink to libGL.so.1.2 for compatibility (bnc#809359, bnc#831306) test -f %{buildroot}%{_libdir}/libGL.so.1.2 || \ @@ -1049,15 +1061,15 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen %if %{xvmc_support} %files -n libXvMC_nouveau %{_libdir}/libXvMCnouveau.so -%{_libdir}/libXvMCnouveau.so.1 -%{_libdir}/libXvMCnouveau.so.1.0 -%{_libdir}/libXvMCnouveau.so.1.0.0 +#%{_libdir}/libXvMCnouveau.so.1 +#%{_libdir}/libXvMCnouveau.so.1.0 +#%{_libdir}/libXvMCnouveau.so.1.0.0 %files -n libXvMC_r600 %{_libdir}/libXvMCr600.so -%{_libdir}/libXvMCr600.so.1 -%{_libdir}/libXvMCr600.so.1.0 -%{_libdir}/libXvMCr600.so.1.0.0 +#%{_libdir}/libXvMCr600.so.1 +#%{_libdir}/libXvMCr600.so.1.0 +#%{_libdir}/libXvMCr600.so.1.0.0 %endif %if %{vdpau_nouveau} diff --git a/Mesa.changes b/Mesa.changes index de4afcd..abe840f 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon Jan 21 18:42:08 UTC 2019 - Tobias Klausmann + +- Update the version of the mesa core package to 18.3.2 + +------------------------------------------------------------------- +Mon Jan 21 18:29:27 UTC 2019 - Tobias Klausmann + +- Build Mesa with meson instead of automake + + Build classic swrast with Mesa, as its a dependency for osmesa - delete it + while installing + + Build egl with Mesa-drivers as it demands one windowing-system - + delete it while installing + ------------------------------------------------------------------- Fri Jan 18 18:32:13 UTC 2019 - sndirsch@suse.com diff --git a/Mesa.spec b/Mesa.spec index 5fd5e5b..5f25cca 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -136,15 +136,15 @@ Patch31: archlinux_0001-Fix-linkage-against-shared-glapi.patch Patch54: n_drirc-disable-rgb10-for-chromium-on-amd.patch Patch57: u_wayland_egl-Ensure-EGL-surface.patch - Patch60: n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch -BuildRequires: autoconf >= 2.60 -BuildRequires: automake +BuildRequires: bison BuildRequires: fdupes +BuildRequires: flex BuildRequires: gcc-c++ BuildRequires: imake BuildRequires: libtool +BuildRequires: meson BuildRequires: pkgconfig BuildRequires: python3-base %if 0%{?suse_version} > 1320 @@ -762,83 +762,83 @@ egl_platforms=x11,drm,surfaceless,wayland %else egl_platforms=x11,drm,surfaceless %endif -autoreconf -fvi -export PYTHON2=%{_bindir}/python3 -%configure \ +%meson \ + --auto-features=disabled \ %if %{drivers} - --disable-gles1 \ - --disable-gles2 \ - --disable-egl \ - --disable-glx \ - --disable-osmesa \ + -Dgles1=false \ + -Dgles2=false \ + -Degl=true \ + -Dglx=disabled \ + -Dosmesa=none \ %else %if 0%{?libglvnd} - --enable-libglvnd \ + -Dglvnd=true \ %endif - --enable-gles1 \ - --enable-gles2 \ - --enable-egl \ - --enable-osmesa \ + -Dgles1=true \ + -Dgles2=true \ + -Degl=true \ + -Dosmesa=classic \ + -Dglx=auto \ + -Dllvm=false \ + -Dvulkan-drivers= \ %endif - --with-platforms=$egl_platforms \ - --enable-dri \ - --enable-texture-float \ - --enable-dri3 \ - --enable-shared-glapi \ + -Dplatforms=$egl_platforms \ + -Ddri3=true \ + -Dshared-glapi=true \ %if 0%{?with_nine} - --enable-nine \ + -Dgallium-nine=true \ %endif %if %{glamor} - --enable-gbm \ - --enable-glx-tls \ + -Dgbm=true \ %endif %if 0%{with_opencl} - --enable-opencl \ - --enable-opencl-icd \ + -Dgallium-opencl=icd \ %endif - --with-dri-searchpath=%{_libdir}/dri \ + -Ddri-search-path=%{_libdir}/dri \ %if 0%{with_llvm} - --enable-llvm \ - --enable-llvm-shared-libs \ + -Dllvm=true \ + -Dshared-llvm=true \ %endif %if %{drivers} - --enable-vdpau \ -%endif - --enable-va \ - --enable-xvmc \ + -Dgallium-vdpau=true \ + -Dgallium-xvmc=true \ + -Dgallium-va=true \ %if 0%{with_vulkan} - --with-vulkan-drivers=intel,radeon \ + -Dvulkan-drivers=intel,amd \ +%endif %endif %if %{drivers} %ifarch %{ix86} x86_64 - --enable-xa \ - --with-dri-drivers=i915,i965,nouveau,r200,radeon \ - --with-gallium-drivers=r300,r600,radeonsi,nouveau,swrast,svga,virgl \ + -Dgallium-xa=true \ + -Ddri-drivers=i915,i965,nouveau,r100,r200 \ + -Dgallium-drivers=r300,r600,radeonsi,nouveau,swrast,svga,virgl \ %endif %ifarch %{arm} aarch64 - --enable-xa \ - --with-dri-drivers=nouveau \ - --with-gallium-drivers=r300,r600,nouveau,swrast,virgl,freedreno,vc4,etnaviv,imx \ + -Dgallium-xa=true \ + -Ddri-drivers=nouveau \ + -Dgallium-drivers=r300,r600,nouveau,swrast,virgl,freedreno,vc4,etnaviv,imx \ %endif %ifarch ppc64 ppc64le - --enable-xa \ - --with-dri-drivers=nouveau \ - --with-gallium-drivers=r300,r600,nouveau,swrast \ + -Dgallium-xa=true \ + -Ddri-drivers=nouveau \ + -Dgallium-drivers=r300,r600,nouveau,swrast \ %endif %ifarch ia64 ppc hppa s390 s390x riscv64 - --with-dri-drivers=swrast \ - --with-gallium-drivers=swrast \ + -Ddri-drivers=swrast \ + -Dgallium-drivers=swrast \ %endif %else - --with-dri-drivers= \ - --with-gallium-drivers= \ + -Ddri-drivers=swrast \ + -Dgallium-drivers= \ %endif - CFLAGS="%{optflags} -DNDEBUG" -make %{?_smp_mflags} V=1 + -Db_ndebug=true \ + -Dc_args="%{optflags}" + +%meson_build %install -%make_install +%meson_install find %{buildroot} -type f -name "*.la" -delete -print # libwayland-egl is provided by wayland itself @@ -852,6 +852,15 @@ rm -f %{buildroot}/%{_libdir}/pkgconfig/wayland-egl.pc # in Mesa rm -rf %{buildroot}/%{_datadir}/drirc.d +rm -f %{buildroot}/%{_libdir}/libEGL.so* +# in Mesa-libEGL-devel +rm %{buildroot}/%{_includedir}/EGL/egl.h +rm %{buildroot}/%{_includedir}/EGL/eglext.h +rm %{buildroot}/%{_includedir}/EGL/eglextchromium.h +rm %{buildroot}/%{_includedir}/EGL/eglmesaext.h +rm %{buildroot}/%{_includedir}/EGL/eglplatform.h +rm %{buildroot}/%{_libdir}/pkgconfig/egl.pc + # in Mesa-libGL-devel rm -rf %{buildroot}/%{_includedir}/GL @@ -874,6 +883,9 @@ rm %{buildroot}/%{_libdir}/pkgconfig/gbm.pc rm -rf %{buildroot}/%{_includedir}/KHR %else + +rm -rf %{buildroot}/%{_libdir}/dri/swrast_dri.so + %if 0%{?libglvnd} == 0 # Make a symlink to libGL.so.1.2 for compatibility (bnc#809359, bnc#831306) test -f %{buildroot}%{_libdir}/libGL.so.1.2 || \ @@ -1048,15 +1060,15 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen %if %{xvmc_support} %files -n libXvMC_nouveau %{_libdir}/libXvMCnouveau.so -%{_libdir}/libXvMCnouveau.so.1 -%{_libdir}/libXvMCnouveau.so.1.0 -%{_libdir}/libXvMCnouveau.so.1.0.0 +#%{_libdir}/libXvMCnouveau.so.1 +#%{_libdir}/libXvMCnouveau.so.1.0 +#%{_libdir}/libXvMCnouveau.so.1.0.0 %files -n libXvMC_r600 %{_libdir}/libXvMCr600.so -%{_libdir}/libXvMCr600.so.1 -%{_libdir}/libXvMCr600.so.1.0 -%{_libdir}/libXvMCr600.so.1.0.0 +#%{_libdir}/libXvMCr600.so.1 +#%{_libdir}/libXvMCr600.so.1.0 +#%{_libdir}/libXvMCr600.so.1.0.0 %endif %if %{vdpau_nouveau} From aaab85a63dd0a90233225446f684b58547734f9e35aecec5c8e96d22151b4da4 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Thu, 31 Jan 2019 19:27:33 +0000 Subject: [PATCH 2/6] Accepting request 670430 from home:tobijk:X11:XOrg OBS-URL: https://build.opensuse.org/request/show/670430 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=805 --- Mesa-drivers.changes | 5 ----- Mesa.changes | 5 ----- 2 files changed, 10 deletions(-) diff --git a/Mesa-drivers.changes b/Mesa-drivers.changes index abe840f..9193d67 100644 --- a/Mesa-drivers.changes +++ b/Mesa-drivers.changes @@ -1,8 +1,3 @@ -------------------------------------------------------------------- -Mon Jan 21 18:42:08 UTC 2019 - Tobias Klausmann - -- Update the version of the mesa core package to 18.3.2 - ------------------------------------------------------------------- Mon Jan 21 18:29:27 UTC 2019 - Tobias Klausmann diff --git a/Mesa.changes b/Mesa.changes index abe840f..9193d67 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,8 +1,3 @@ -------------------------------------------------------------------- -Mon Jan 21 18:42:08 UTC 2019 - Tobias Klausmann - -- Update the version of the mesa core package to 18.3.2 - ------------------------------------------------------------------- Mon Jan 21 18:29:27 UTC 2019 - Tobias Klausmann From ccada919e5c5b663f36ccc4c86bb1e9c0af23899f592e611240cbb1f3e6f5bb3 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Mon, 4 Feb 2019 18:28:36 +0000 Subject: [PATCH 3/6] - Update to 18.3.3 * In this release we have: A memory leak fix in the etnaviv driver, better NEON assembly code in vc4 and couple of stability improvements to the radeonsi driver. Another memory leak affecting all gallium drivers have also been addressed. * The time required to compile GLSL shaders with large amount of uniforms, such as Godot, has been improved. * GLX and swrast have also seen some improvements. * On the Vulkan side, the ANV driver adjusted the number of images supported for gen8 and earlier to 8, while for newer hardware it remains the same 64. The RADV driver has seens a collection of stability improvements and fix for the Vulkan version advertised in some corner cases. * To top it all up, the meson build system has seen a steady amount of fixes: the DSO version for the VDPAU drivers is now included, ICC compatibility patches, opencl handling and relaxed handling when building osmesa. - adjusted n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=806 --- Mesa-drivers.changes | 20 ++++++++++++++++++ Mesa-drivers.spec | 6 +++--- Mesa.changes | 20 ++++++++++++++++++ Mesa.spec | 6 +++--- mesa-18.3.2.tar.xz | 3 --- mesa-18.3.2.tar.xz.sig | Bin 566 -> 0 bytes mesa-18.3.3.tar.xz | 3 +++ mesa-18.3.3.tar.xz.sig | Bin 0 -> 566 bytes ...-now-since-it-results-in-render-erro.patch | 2 +- 9 files changed, 50 insertions(+), 10 deletions(-) delete mode 100644 mesa-18.3.2.tar.xz delete mode 100644 mesa-18.3.2.tar.xz.sig create mode 100644 mesa-18.3.3.tar.xz create mode 100644 mesa-18.3.3.tar.xz.sig diff --git a/Mesa-drivers.changes b/Mesa-drivers.changes index 9193d67..a66e717 100644 --- a/Mesa-drivers.changes +++ b/Mesa-drivers.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Mon Feb 4 17:49:03 UTC 2019 - sndirsch@suse.com + +- Update to 18.3.3 + * In this release we have: + A memory leak fix in the etnaviv driver, better NEON assembly code in vc4 and + couple of stability improvements to the radeonsi driver. Another memory leak + affecting all gallium drivers have also been addressed. + * The time required to compile GLSL shaders with large amount of uniforms, such + as Godot, has been improved. + * GLX and swrast have also seen some improvements. + * On the Vulkan side, the ANV driver adjusted the number of images supported + for gen8 and earlier to 8, while for newer hardware it remains the same 64. + The RADV driver has seens a collection of stability improvements and fix for + the Vulkan version advertised in some corner cases. + * To top it all up, the meson build system has seen a steady amount of fixes: + the DSO version for the VDPAU drivers is now included, ICC compatibility + patches, opencl handling and relaxed handling when building osmesa. +- adjusted n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch + ------------------------------------------------------------------- Mon Jan 21 18:29:27 UTC 2019 - Tobias Klausmann diff --git a/Mesa-drivers.spec b/Mesa-drivers.spec index 9a35fa8..e6f5dc5 100644 --- a/Mesa-drivers.spec +++ b/Mesa-drivers.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -42,7 +42,7 @@ %define glamor 1 %define _name_archive mesa -%define _version 18.3.2 +%define _version 18.3.3 %define with_opencl 0 %define with_vulkan 0 %define with_llvm 0 @@ -112,7 +112,7 @@ %endif Name: Mesa-drivers -Version: 18.3.2 +Version: 18.3.3 Release: 0 Summary: System for rendering 3-D graphics License: MIT diff --git a/Mesa.changes b/Mesa.changes index 9193d67..a66e717 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Mon Feb 4 17:49:03 UTC 2019 - sndirsch@suse.com + +- Update to 18.3.3 + * In this release we have: + A memory leak fix in the etnaviv driver, better NEON assembly code in vc4 and + couple of stability improvements to the radeonsi driver. Another memory leak + affecting all gallium drivers have also been addressed. + * The time required to compile GLSL shaders with large amount of uniforms, such + as Godot, has been improved. + * GLX and swrast have also seen some improvements. + * On the Vulkan side, the ANV driver adjusted the number of images supported + for gen8 and earlier to 8, while for newer hardware it remains the same 64. + The RADV driver has seens a collection of stability improvements and fix for + the Vulkan version advertised in some corner cases. + * To top it all up, the meson build system has seen a steady amount of fixes: + the DSO version for the VDPAU drivers is now included, ICC compatibility + patches, opencl handling and relaxed handling when building osmesa. +- adjusted n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch + ------------------------------------------------------------------- Mon Jan 21 18:29:27 UTC 2019 - Tobias Klausmann diff --git a/Mesa.spec b/Mesa.spec index 5f25cca..88429a9 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -41,7 +41,7 @@ %define glamor 1 %define _name_archive mesa -%define _version 18.3.2 +%define _version 18.3.3 %define with_opencl 0 %define with_vulkan 0 %define with_llvm 0 @@ -111,7 +111,7 @@ %endif Name: Mesa -Version: 18.3.2 +Version: 18.3.3 Release: 0 Summary: System for rendering 3-D graphics License: MIT diff --git a/mesa-18.3.2.tar.xz b/mesa-18.3.2.tar.xz deleted file mode 100644 index 636f306..0000000 --- a/mesa-18.3.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f7ce7181c07b6d8e0132da879af1729523a6c8aa87f79a9d59dfd064024cfb35 -size 11868440 diff --git a/mesa-18.3.2.tar.xz.sig b/mesa-18.3.2.tar.xz.sig deleted file mode 100644 index 60e1f6a876e339784151bbd60ce45a87de8124b1a56d0836506950badd1af5de..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SEvc79j+O1GaDue&B6-Ik?vCt~anO>q!j-0$f05!~hBj5bdrv zuq^9I4g1Ou{0_TY%y?ZLtsRZ{9#s^n9vXt{T0Py!>KO2Qj}enP;jLM9BaMj-ddNoj zp;HYY4~KA`R`6TymnDezDt~XP-XDe_r+N*_OPxwvUoenxl)Z zSnWGAg@z{3jqX$kCO=X+xqRh{5Ss%jEIP^+e+@Yoy2C0_++G*?<4-A3S$NCct&#O= z!?P#e-?zsayVw@O;(VXtMwKr#&-q@xefg~diIu%aF){6wu5EB&fRMT#@Y9(VVcHBLb)wyllwz0Ydy2At}(gOM2u4J&aZrXD81jkq7AmNW(;77rCb}zjkn2_1)MfnCXTC)N>FS_u z0n=6XklpG0{*>9-5}ZYK2lu*`zmtb*Vr%&k&9m$UsA0Hsvkm9mC2*`}A7ncLJF+Ay zx{b5~=oj@VZS&VKJO@)MBo3Y7T2=>PaPz4!-5aLyU- zMQ;u5P1v*~DFmkp8Df*gz(NCdYd%`Oj62eu!^g}9tP;lt7J>izvO@QYxTccoOOvH{ E^t{~?_5c6? diff --git a/mesa-18.3.3.tar.xz b/mesa-18.3.3.tar.xz new file mode 100644 index 0000000..a429a84 --- /dev/null +++ b/mesa-18.3.3.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ab6886a6966c532ccbcc3b240925e681464b658244f0cbed752615af3936299 +size 11874468 diff --git a/mesa-18.3.3.tar.xz.sig b/mesa-18.3.3.tar.xz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..39494642573b21ed8eb941199795a9e6093c809d1987b1b112cecfcf87b96c58 GIT binary patch literal 566 zcmV-60?GY}0y6{v0SEvc79j+O1GaDue&B6-Ik?vCt~anO>q!j-0$fvLVgL#W5bdrv zuq^9I4W7#o0F<7p*{U|;;83HIjMMKyB$_Y<{BCfq=#Q$FOQe`Bkb}*I-RJswjTCy_ zq||AVDN2b1?Me4+WzOAPWXoj$SUyMaz=Z*%-@QQX#ZYnUvg2xnHBn+-)z-8<7%WG1 zLEMR@%P-`LMQ-67`HP){^=?A9WJ>L{6y+Z(#jxHl#;84dY`KQQ$E@=*K}@V1&ou6VMLx+U#WIdVbfUlzI!nqbjuqti-YU(5lfw|QvCAG>v(rv7zD;)i@NxUL zZz4SpL2t{D+5=rS{ou7B9`pMV2Ch-e-LoweG1z+5WCPA=RcAnr3t>82Z(env8Zx?- zVtUPchS*yYWBqe52hFL4(-C;M0y;m2GIJaFTlMlpyRc-<7x++FSd)Duu){a$2jYX6 zVUlpOU}ozHiX}<>Z?2{)6iSQ});;Cg%*O#K%~(bT^GvhgBfhV|E-3Ca0RR04)U600 zHS0)`q!IRRPovrm@*qR)xNCjo-sV{K3FS7iS;Y(o3fRNGZq3_IHRP4dUG=jww6l1J Em0PnJwg3PC literal 0 HcmV?d00001 diff --git a/n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch b/n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch index 8638449..4a31497 100644 --- a/n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch +++ b/n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch @@ -26,7 +26,7 @@ index 7b99e49f00..d6bebfb292 100644 + if (0 && pdp->shminfo.shmid >= 0) { ximage->width = ximage->bytes_per_line / ((ximage->bits_per_pixel + 7)/ 8); ximage->height = h; - XShmPutImage(dpy, drawable, gc, ximage, 0, 0, x, y, w, h, False); + XShmPutImage(dpy, drawable, gc, ximage, srcx, srcy, x, y, w, h, False); -- 2.16.4 From 404d35ca04c4a557cec232ef4135c8e8175c993cc52f3179b8f21b5592ded625 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Tue, 19 Feb 2019 09:30:24 +0000 Subject: [PATCH 4/6] - Update to 18.3.4 * A fix in the XvMC state-tracker, which was causing some video attributes to not take affect. On the video front the VAAPI state tracker has seen improvements with VP9 streams while the amdgpu driver advertises all available profiles. * On Intel side we have compiler fixes and extra PCI IDs for Coffee Lake and Ice Lake parts. In the Broadcom drivers a couple of memory leaks were addressed and the NEON assembly should compile properly on armhf. * Other drivers such as radeonsi, nouveau and freedreno have also seen some love. The RADV driver has seen addressed to compile correctly with GCC9 amongst other changes. * The Xlib based libGL have been addressed to work with X servers, which lacks the MIT-SHM extension such as XMing. * To top it up we have a few fixes to the meson build system. OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=808 --- Mesa-drivers.changes | 18 ++++++++++++++++++ Mesa-drivers.spec | 4 ++-- Mesa.changes | 18 ++++++++++++++++++ Mesa.spec | 4 ++-- mesa-18.3.3.tar.xz | 3 --- mesa-18.3.3.tar.xz.sig | Bin 566 -> 0 bytes mesa-18.3.4.tar.xz | 3 +++ mesa-18.3.4.tar.xz.sig | Bin 0 -> 566 bytes 8 files changed, 43 insertions(+), 7 deletions(-) delete mode 100644 mesa-18.3.3.tar.xz delete mode 100644 mesa-18.3.3.tar.xz.sig create mode 100644 mesa-18.3.4.tar.xz create mode 100644 mesa-18.3.4.tar.xz.sig diff --git a/Mesa-drivers.changes b/Mesa-drivers.changes index a66e717..668b405 100644 --- a/Mesa-drivers.changes +++ b/Mesa-drivers.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Tue Feb 19 08:34:39 UTC 2019 - sndirsch@suse.com + +- Update to 18.3.4 + * A fix in the XvMC state-tracker, which was causing some video attributes to + not take affect. On the video front the VAAPI state tracker has seen + improvements with VP9 streams while the amdgpu driver advertises all available + profiles. + * On Intel side we have compiler fixes and extra PCI IDs for Coffee Lake and + Ice Lake parts. In the Broadcom drivers a couple of memory leaks were + addressed and the NEON assembly should compile properly on armhf. + * Other drivers such as radeonsi, nouveau and freedreno have also seen some + love. The RADV driver has seen addressed to compile correctly with GCC9 + amongst other changes. + * The Xlib based libGL have been addressed to work with X servers, which lacks + the MIT-SHM extension such as XMing. + * To top it up we have a few fixes to the meson build system. + ------------------------------------------------------------------- Mon Feb 4 17:49:03 UTC 2019 - sndirsch@suse.com diff --git a/Mesa-drivers.spec b/Mesa-drivers.spec index e6f5dc5..4b06723 100644 --- a/Mesa-drivers.spec +++ b/Mesa-drivers.spec @@ -42,7 +42,7 @@ %define glamor 1 %define _name_archive mesa -%define _version 18.3.3 +%define _version 18.3.4 %define with_opencl 0 %define with_vulkan 0 %define with_llvm 0 @@ -112,7 +112,7 @@ %endif Name: Mesa-drivers -Version: 18.3.3 +Version: 18.3.4 Release: 0 Summary: System for rendering 3-D graphics License: MIT diff --git a/Mesa.changes b/Mesa.changes index a66e717..668b405 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Tue Feb 19 08:34:39 UTC 2019 - sndirsch@suse.com + +- Update to 18.3.4 + * A fix in the XvMC state-tracker, which was causing some video attributes to + not take affect. On the video front the VAAPI state tracker has seen + improvements with VP9 streams while the amdgpu driver advertises all available + profiles. + * On Intel side we have compiler fixes and extra PCI IDs for Coffee Lake and + Ice Lake parts. In the Broadcom drivers a couple of memory leaks were + addressed and the NEON assembly should compile properly on armhf. + * Other drivers such as radeonsi, nouveau and freedreno have also seen some + love. The RADV driver has seen addressed to compile correctly with GCC9 + amongst other changes. + * The Xlib based libGL have been addressed to work with X servers, which lacks + the MIT-SHM extension such as XMing. + * To top it up we have a few fixes to the meson build system. + ------------------------------------------------------------------- Mon Feb 4 17:49:03 UTC 2019 - sndirsch@suse.com diff --git a/Mesa.spec b/Mesa.spec index 88429a9..fa33560 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -41,7 +41,7 @@ %define glamor 1 %define _name_archive mesa -%define _version 18.3.3 +%define _version 18.3.4 %define with_opencl 0 %define with_vulkan 0 %define with_llvm 0 @@ -111,7 +111,7 @@ %endif Name: Mesa -Version: 18.3.3 +Version: 18.3.4 Release: 0 Summary: System for rendering 3-D graphics License: MIT diff --git a/mesa-18.3.3.tar.xz b/mesa-18.3.3.tar.xz deleted file mode 100644 index a429a84..0000000 --- a/mesa-18.3.3.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2ab6886a6966c532ccbcc3b240925e681464b658244f0cbed752615af3936299 -size 11874468 diff --git a/mesa-18.3.3.tar.xz.sig b/mesa-18.3.3.tar.xz.sig deleted file mode 100644 index 39494642573b21ed8eb941199795a9e6093c809d1987b1b112cecfcf87b96c58..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SEvc79j+O1GaDue&B6-Ik?vCt~anO>q!j-0$fvLVgL#W5bdrv zuq^9I4W7#o0F<7p*{U|;;83HIjMMKyB$_Y<{BCfq=#Q$FOQe`Bkb}*I-RJswjTCy_ zq||AVDN2b1?Me4+WzOAPWXoj$SUyMaz=Z*%-@QQX#ZYnUvg2xnHBn+-)z-8<7%WG1 zLEMR@%P-`LMQ-67`HP){^=?A9WJ>L{6y+Z(#jxHl#;84dY`KQQ$E@=*K}@V1&ou6VMLx+U#WIdVbfUlzI!nqbjuqti-YU(5lfw|QvCAG>v(rv7zD;)i@NxUL zZz4SpL2t{D+5=rS{ou7B9`pMV2Ch-e-LoweG1z+5WCPA=RcAnr3t>82Z(env8Zx?- zVtUPchS*yYWBqe52hFL4(-C;M0y;m2GIJaFTlMlpyRc-<7x++FSd)Duu){a$2jYX6 zVUlpOU}ozHiX}<>Z?2{)6iSQ});;Cg%*O#K%~(bT^GvhgBfhV|E-3Ca0RR04)U600 zHS0)`q!IRRPovrm@*qR)xNCjo-sV{K3FS7iS;Y(o3fRNGZq3_IHRP4dUG=jww6l1J Em0PnJwg3PC diff --git a/mesa-18.3.4.tar.xz b/mesa-18.3.4.tar.xz new file mode 100644 index 0000000..a58df44 --- /dev/null +++ b/mesa-18.3.4.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32314da4365d37f80d84f599bd9625b00161c273c39600ba63b45002d500bb07 +size 11875224 diff --git a/mesa-18.3.4.tar.xz.sig b/mesa-18.3.4.tar.xz.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..36c5a6b843fd09fb30ac3a8936c740f569d734163a6dce1789b78ce6ca84b3b0 GIT binary patch literal 566 zcmV-60?GY}0y6{v0SEvc79j+O1GaDue&B6-Ik?vCt~anO>q!j-0$ghOq5ujB5bdrv zuq^9I4f&-H{x|{^QX!;qM==cNsPq#d_ebkl1G4EVDlTEo?5kB?XO_|KV=zJampv`xwk*FkIYpWv$!UH?XnASjB$})48&MeNz zP8_eSEUTKS8!EHS4_D9tto4l+8(EVQA7{*nD|wDENDef1@i{4JsOfb8D3St&{h|)l zo=G8)0pt%Rh9B61@LJQ`&OonZ`>hIMF0K=Uc$kaaHIdPO5PgZZki3?| zWM?_Lw&^=_A=8E_t?+O6luhBD^ENgh2{%=pX#W@SzeW1*4lOjbIR0B%Yx!|aN_51U3Y>l+_!Q)MT7 z3^l>G*v1J~b>pfbOHA*PNofyuvtth$LehBF0XiMZh)m{hDXuLeMK;!2tgcTmo<~+_ z^w&Pzt6=&#l56#?C)6J7H;5Wa_cV*bhA&l$j~9w_mauDuI+rN+?wnwzWb^sitKSp~ EZt0o@@c;k- literal 0 HcmV?d00001 From 411f25ba94c63cd5780f7cf7b193a43a309e14dc0906e79d7dda8b3ad2c8b37b Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Wed, 20 Feb 2019 15:45:03 +0000 Subject: [PATCH 5/6] - remove n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch; keeping that one reintroduced render errors and missing screen refreshes on GNOME3 in a qemu VM (cirrus emulation); the issue has been fixed in a different and better way since 18.3.3; this is related to bsc#1118149 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=809 --- Mesa-drivers.changes | 9 +++++++++ Mesa-drivers.spec | 2 -- Mesa.changes | 9 +++++++++ Mesa.spec | 2 -- 4 files changed, 18 insertions(+), 4 deletions(-) diff --git a/Mesa-drivers.changes b/Mesa-drivers.changes index 668b405..e94d67b 100644 --- a/Mesa-drivers.changes +++ b/Mesa-drivers.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Feb 20 15:40:14 UTC 2019 - sndirsch@suse.com + +- remove n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch; + keeping that one reintroduced render errors and missing screen + refreshes on GNOME3 in a qemu VM (cirrus emulation); the issue has + been fixed in a different and better way since 18.3.3; this is + related to bsc#1118149 + ------------------------------------------------------------------- Tue Feb 19 08:34:39 UTC 2019 - sndirsch@suse.com diff --git a/Mesa-drivers.spec b/Mesa-drivers.spec index 4b06723..dda776f 100644 --- a/Mesa-drivers.spec +++ b/Mesa-drivers.spec @@ -137,7 +137,6 @@ Patch31: archlinux_0001-Fix-linkage-against-shared-glapi.patch Patch54: n_drirc-disable-rgb10-for-chromium-on-amd.patch Patch57: u_wayland_egl-Ensure-EGL-surface.patch -Patch60: n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch BuildRequires: bison BuildRequires: fdupes @@ -741,7 +740,6 @@ rm -rf docs/README.{VMS,WIN32,OS2} %patch54 -p1 %patch57 -p1 -%patch60 -p1 # Remove requires to libglvnd/libglvnd-devel from baselibs.conf when # disabling libglvnd build; ugly ... diff --git a/Mesa.changes b/Mesa.changes index 668b405..e94d67b 100644 --- a/Mesa.changes +++ b/Mesa.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Feb 20 15:40:14 UTC 2019 - sndirsch@suse.com + +- remove n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch; + keeping that one reintroduced render errors and missing screen + refreshes on GNOME3 in a qemu VM (cirrus emulation); the issue has + been fixed in a different and better way since 18.3.3; this is + related to bsc#1118149 + ------------------------------------------------------------------- Tue Feb 19 08:34:39 UTC 2019 - sndirsch@suse.com diff --git a/Mesa.spec b/Mesa.spec index fa33560..af2cf06 100644 --- a/Mesa.spec +++ b/Mesa.spec @@ -136,7 +136,6 @@ Patch31: archlinux_0001-Fix-linkage-against-shared-glapi.patch Patch54: n_drirc-disable-rgb10-for-chromium-on-amd.patch Patch57: u_wayland_egl-Ensure-EGL-surface.patch -Patch60: n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch BuildRequires: bison BuildRequires: fdupes @@ -740,7 +739,6 @@ rm -rf docs/README.{VMS,WIN32,OS2} %patch54 -p1 %patch57 -p1 -%patch60 -p1 # Remove requires to libglvnd/libglvnd-devel from baselibs.conf when # disabling libglvnd build; ugly ... From ff88b28df733213489ba2c613b91a20dd136e503daa6b751698e0bc605901f97 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Wed, 20 Feb 2019 15:56:03 +0000 Subject: [PATCH 6/6] remove also the patch! OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=810 --- ...-now-since-it-results-in-render-erro.patch | 32 ------------------- 1 file changed, 32 deletions(-) delete mode 100644 n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch diff --git a/n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch b/n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch deleted file mode 100644 index 4a31497..0000000 --- a/n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch +++ /dev/null @@ -1,32 +0,0 @@ -From cd5af5c511b50890abe24d1e212ba9817f4074dd Mon Sep 17 00:00:00 2001 -From: Stefan Dirsch -Date: Tue, 11 Dec 2018 11:36:26 +0100 -Subject: [PATCH] Disable Xshm for now since it results in render errors - -Xshm results in render errors and missing screen refreshes on GNOME3 -in a qemu VM (cirrus emulation); see also -https://bugzilla.suse.com/show_bug.cgi?id=1118149 ---- - src/glx/drisw_glx.c | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c -index 7b99e49f00..d6bebfb292 100644 ---- a/src/glx/drisw_glx.c -+++ b/src/glx/drisw_glx.c -@@ -232,7 +232,11 @@ swrastXPutImage(__DRIdrawable * draw, int op, - ximage->bytes_per_line = stride ? stride : bytes_per_line(w * ximage->bits_per_pixel, 32); - ximage->data = data; - -- if (pdp->shminfo.shmid >= 0) { -+ /* disable Xshm for now since it results in render errors and missing screen refreshes -+ on GNOME3 in a qemu VM (cirrus emulation); see also -+ https://bugzilla.suse.com/show_bug.cgi?id=1118149 -+ */ -+ if (0 && pdp->shminfo.shmid >= 0) { - ximage->width = ximage->bytes_per_line / ((ximage->bits_per_pixel + 7)/ 8); - ximage->height = h; - XShmPutImage(dpy, drawable, gc, ximage, srcx, srcy, x, y, w, h, False); --- -2.16.4 -