Hello community,

here is the log from the commit of package Mesa.12794 for 
openSUSE:Leap:15.1:Update checked in at 2020-06-03 06:11:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.1:Update/Mesa.12794 (Old)
 and      /work/SRC/openSUSE:Leap:15.1:Update/.Mesa.12794.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "Mesa.12794"

Wed Jun  3 06:11:41 2020 rev:1 rq:810410 version:unknown

Changes:
--------
New Changes file:

--- /dev/null   2020-05-28 02:28:09.919761697 +0200
+++ 
/work/SRC/openSUSE:Leap:15.1:Update/.Mesa.12794.new.3606/Mesa-drivers.changes   
    2020-06-03 06:11:42.380575047 +0200
@@ -0,0 +1,5627 @@
+-------------------------------------------------------------------
+Wed Nov 27 11:11:19 UTC 2019 - Stefan Dirsch <sndir...@suse.com>
+
+- u_call-shmget-with-permission-0600-instead-of-0777.patch
+  * CVE-2019-5068 (bsc#1156015)
+
+-------------------------------------------------------------------
+Thu Sep 19 12:02:59 UTC 2019 - Michael Gorse <mgo...@suse.com>
+
+- Mesa-libEGL-devel needs Mesa-KHR-devel (bsc#1117365)
+
+-------------------------------------------------------------------
+Tue Jun  4 10:03:25 UTC 2019 - Stefan Dirsch <sndir...@suse.com>
+
+- U_intel-Add-support-for-Comet-Lake.patch
+  * adds support for Cometlake (jira #SLE-4983, bsc#1137515)
+
+-------------------------------------------------------------------
+Fri Jan 18 18:32:13 UTC 2019 - sndir...@suse.com
+
+- Update to 18.3.2
+  * In this release candidate we have added more PCI IDs for AMD
+    Vega devices and a number of fixes for the RADV Vulkan drivers.
+  * On the Intel side we have a selection ranging from quad swizzles
+    support for ICL to compiler fixes.
+  * The nine state tracker has also seen some love as do the
+    Broadcom drivers.
+  * To top it all up, we have a healthy mount of build system fixes.
+
+-------------------------------------------------------------------
+Wed Jan  9 10:49:24 UTC 2019 - sndir...@suse.com
+
+- redisabled support for tegra, since it just got disabled upstream
+  in git master ...
+
+-------------------------------------------------------------------
+Sat Jan  5 23:31:00 UTC 2019 - Fabian Vogt <fab...@ritter-vogt.de>
+
+- Enable the surfaceless platform, which is needed by KDE CI 
+  environment for testing (https://phabricator.kde.org/T10245)
+
+-------------------------------------------------------------------
+Wed Dec 19 15:01:41 UTC 2018 - Guillaume GARDET <guillaume.gar...@opensuse.org>
+
+- Add etnaviv, imx and tegra supports for %arm and arch64
+
+-------------------------------------------------------------------
+Wed Dec 12 15:29:53 UTC 2018 - Dominique Leuenberger <dims...@opensuse.org>
+
+- Only BuildRequire pkgconfig(vdpau) and pass --enable-vdpau to
+  configure when building the drivers. Helps us break a build
+  cycle.
+
+-------------------------------------------------------------------
+Wed Dec 12 11:00:56 UTC 2018 - sndir...@suse.com
+
+- Update to 18.3.1 
+  * This version disables the VK_EXT_pci_bus_info extension due to
+    last minute issues spotted in the specification.
+
+-------------------------------------------------------------------
+Tue Dec 11 10:45:49 UTC 2018 - sndir...@suse.com
+
+- n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch
+  * Xshm results in render errors and missing screen refreshes on GNOME3
+    in a qemu VM (cirrus emulation) [bsc#1118149]
+
+-------------------------------------------------------------------
+Mon Dec 10 15:38:24 UTC 2018 - Ismail Dönmez <idon...@suse.com>
+
+- Fix baselibs.conf entry for Mesa-KHR-devel (missing "-") 
+
+-------------------------------------------------------------------
+Fri Dec  7 13:57:32 UTC 2018 - sndir...@suse.com
+
+- Update to 18.3.0 final release
+  * The top highlights include:
+    + GL_AMD_depth_clamp_separate on r600, radeonsi.
+    + GL_AMD_framebuffer_multisample_advanced on radeonsi.
+    + GL_AMD_gpu_shader_int64 on i965, nvc0, radeonsi.
+    + GL_AMD_multi_draw_indirect on all GL 4.x drivers.
+    + GL_AMD_query_buffer_object on i965, nvc0, r600, radeonsi.
+    + GL_EXT_disjoint_timer_query on radeonsi and most other Gallium drivers
+      (ES extension)
+    + GL_EXT_texture_compression_s3tc on all drivers (ES extension)
+    + GL_EXT_vertex_attrib_64bit on i965, nvc0, radeonsi.
+    + GL_EXT_window_rectangles on radeonsi.
+    + GL_KHR_texture_compression_astc_sliced_3d on radeonsi.
+    + GL_NV_fragment_shader_interlock on i965.
+    + EGL_EXT_device_base for all drivers.
+    + EGL_EXT_device_drm for all drivers.
+    + EGL_MESA_device_software for all drivers.
+  * Additional features:
+    ANV
+    + VK_EXT_calibrated_timestamps
+    + VK_EXT_pci_bus_info
+    + VK_EXT_sampler_filter_minmax
+    + VK_EXT_vertex_attribute_divisor v3
+    + VK_GOOGLE_decorate_string
+    + VK_GOOGLE_hlsl_functionality1
+    + VK_KHR_driver_properties
+    RADV
+    + VK_EXT_calibrated_timestamps
+    + VK_EXT_conservative_rasterization
+    + VK_EXT_pci_bus_info
+    + VK_EXT_transform_feedback
+    + VK_EXT_vertex_attribute_divisor v3
+    + VK_GOOGLE_decorate_string
+    + VK_GOOGLE_hlsl_functionality1
+    + VK_KHR_driver_properties
+- supersedes u_constify-struct-drisw_loader_funcs.patch,
+  u_drisw-use-separate-drisw_loader_funcs-for-shm.patch
+
+-------------------------------------------------------------------
+Tue Dec  4 11:20:05 UTC 2018 - bjorn....@gmail.com
+
+- Add u_wayland_egl-Ensure-EGL-surface.patch: wayland/egl: Ensure
+  EGL surface is resized on DRI update_buffers(). Patch is sent
+  upstream already.
+
+-------------------------------------------------------------------
+Thu Nov 29 13:12:15 UTC 2018 - sndir...@suse.com
+
+- Update to 18.3.0-rc5
+  * fifth release candidate for Mesa 18.3.0
+
+-------------------------------------------------------------------
+Tue Nov 27 10:50:17 UTC 2018 - sndir...@suse.com
+
+- added libGL-Mesa-devel split-off provides to Mesa-KHR-devel
+  package, since /usr/include/KHR/khrplatform.h moved between
+  these two packages (related to bsc#1117365)
+
+-------------------------------------------------------------------
+Tue Nov 27 08:42:43 UTC 2018 - m...@suse.com
+
+- Place khrplatform.h into new package Mesa-KHR-devel. It is now
+  required by all devel packages that need it. (bsc#1117365)
+
+-------------------------------------------------------------------
+Mon Nov 26 15:06:58 UTC 2018 - m...@suse.com
+
+- Remove n_drisw-Do-not-use-drisw_put_image_shm.patch,
+  add u_constify-struct-drisw_loader_funcs.patch
+  and u_drisw-use-separate-drisw_loader_funcs-for-shm.patch.
+  * Replace workaround with proper fix for crash in VLC and
+    possibly other applications. (boo#1113533)
+
+-------------------------------------------------------------------
+Fri Nov 23 17:21:06 UTC 2018 - Tobias Klausmann 
<tobias.johannes.klausm...@mni.thm.de>
+
+- Use rpm variables for the drirc.d path
+
+-------------------------------------------------------------------
+Thu Nov 22 14:12:45 UTC 2018 - sndir...@suse.com
+
+- Update to 18.3.0-rc4
+  * fourth release candidate for Mesa 18.3.0
+
+-------------------------------------------------------------------
+Sat Nov 17 21:06:24 UTC 2018 - sndir...@suse.com
+
+- Update to 18.3.0-rc3
+  * third release candidate for Mesa 18.3.0 
+
+-------------------------------------------------------------------
+Thu Nov 15 16:50:48 UTC 2018 - sndir...@suse.com
+
+- moved /usr/include/KHR from libEGL-devel to libGL-devel since it's
+  now being referenced by glext.h
+
+-------------------------------------------------------------------
+Thu Nov 15 15:19:27 UTC 2018 - sndir...@suse.com
+
+- Update to 18.3.0-rc2
+  * second release candidate for Mesa 18.3.0
+- supersedes the following patches:
+  * U_intel-aubinator-mark-ftruncate_res-as-MAYBE_UNUSED-i.patch
+  * U_intel-decoder-mark-total_length-as-MAYBE_UNUSED-in-g.patch
+  * U_python-Fix-rich-comparisons.patch
+  * U_python-Use-key-functions-when-sorting-containers.patch
+  * mako_4_radv.patch
+- adjusted n_drirc-disable-rgb10-for-chromium-on-amd.patch
+- /etc/drirc moved to /usr/share/drirc.d/00-mesa-defaults.conf
+
+-------------------------------------------------------------------
+Tue Nov 13 08:50:56 UTC 2018 - m...@suse.com
+
+- n_drisw-Do-not-use-drisw_put_image_shm.patch
+  * Workaround for applications that create GL context twice with
+    different loaders. (boo#1113533)
+
+-------------------------------------------------------------------
+Thu Nov  1 13:15:49 UTC 2018 - sndir...@suse.com
+
+- Update to 18.2.4
+  * Different fixes for different drivers: freedreno, radeonsi,
++++ 5430 more lines (skipped)
++++ between /dev/null
++++ and 
/work/SRC/openSUSE:Leap:15.1:Update/.Mesa.12794.new.3606/Mesa-drivers.changes
New Changes file:

Mesa.changes: same change

New:
----
  Mesa-drivers-rpmlintrc
  Mesa-drivers.changes
  Mesa-drivers.spec
  Mesa-rpmlintrc
  Mesa.changes
  Mesa.keyring
  Mesa.spec
  README.updates
  U_intel-Add-support-for-Comet-Lake.patch
  _constraints
  archlinux_0001-Fix-linkage-against-shared-glapi.patch
  baselibs.conf
  manual-pages.tar.bz2
  mesa-18.3.2.tar.xz
  mesa-18.3.2.tar.xz.sig
  n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch
  n_VDPAU-XVMC-libs-Replace-hardlinks-with-copies.patch
  n_drirc-disable-rgb10-for-chromium-on-amd.patch
  pre_checkin.sh
  u_call-shmget-with-permission-0600-instead-of-0777.patch
  u_wayland_egl-Ensure-EGL-surface.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ Mesa-drivers.spec ++++++
++++ 1200 lines (skipped)

Mesa.spec: same change
++++++ Mesa-drivers-rpmlintrc ++++++
# This line is mandatory to access the configuration functions
from Config import *

# Want to allow for multiple vendors
addFilter("shlib-policy-name-error")
addFilter("Mesa-libOpenCL.*library-without-ldconfig-postin")
addFilter("Mesa-libOpenCL.*library-without-ldconfig-postun")
addFilter("libXvMC_nouveau.*library-without-ldconfig-postin")
addFilter("libXvMC_nouveau.*library-without-ldconfig-postun")
addFilter("libXvMC_r600.*library-without-ldconfig-postin")
addFilter("libXvMC_r600.*library-without-ldconfig-postun")
++++++ Mesa-rpmlintrc ++++++
# This line is mandatory to access the configuration functions
from Config import *

# Want to allow for multiple vendors
addFilter("shlib-policy-name-error")
addFilter("Mesa-libOpenCL.*library-without-ldconfig-postin")
addFilter("Mesa-libOpenCL.*library-without-ldconfig-postun")
addFilter("libXvMC_nouveau.*library-without-ldconfig-postin")
addFilter("libXvMC_nouveau.*library-without-ldconfig-postun")
addFilter("libXvMC_r600.*library-without-ldconfig-postin")
addFilter("libXvMC_r600.*library-without-ldconfig-postun")
++++++ README.updates ++++++
DRI Driver update mechanism
---------------------------

If any corresponding DRI driver is found in "/usr/lib/dri/updates/"
it will be favored over the one in "/usr/lib/dri/" and will be used
for 32/64 bit applications.

On 32/64 bit biarch platforms additionally a corresponding DRI driver
in "/usr/lib64/dri/updates/" will be favored over the one in 
"/usr/lib64/dri/" and will be used for 64bit applications.
++++++ U_intel-Add-support-for-Comet-Lake.patch ++++++
>From 82f6a746e8b47fb6e3f96d7f5f69973f50eec9ca Mon Sep 17 00:00:00 2001
From: Anuj Phogat <anuj.pho...@gmail.com>
Date: Fri, 29 Mar 2019 13:13:01 -0700
Subject: [PATCH] intel: Add support for Comet Lake

Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com>
Reviewed-by: Jordan Justen <jordan.l.jus...@intel.com>
---
 include/pci_ids/i965_pci_ids.h  | 18 ++++++++++++++++++
 src/intel/dev/gen_device_info.c |  1 +
 2 files changed, 19 insertions(+)

diff --git a/include/pci_ids/i965_pci_ids.h b/include/pci_ids/i965_pci_ids.h
index 196cbb947ef..cc173ea4010 100644
--- a/include/pci_ids/i965_pci_ids.h
+++ b/include/pci_ids/i965_pci_ids.h
@@ -191,6 +191,24 @@ CHIPSET(0x3EA4, cfl_gt1, "Intel(R) HD Graphics (Whiskey 
Lake 3x8 GT1)")
 CHIPSET(0x3EA0, cfl_gt2, "Intel(R) HD Graphics (Whiskey Lake 3x8 GT2)")
 CHIPSET(0x3EA3, cfl_gt2, "Intel(R) HD Graphics (Whiskey Lake 3x8 GT2)")
 CHIPSET(0x3EA2, cfl_gt3, "Intel(R) HD Graphics (Whiskey Lake 3x8 GT3)")
+CHIPSET(0x9B21, cfl_gt1, "Intel(R) HD Graphics (Comet Lake 2x6 GT1)")
+CHIPSET(0x9BA0, cfl_gt1, "Intel(R) HD Graphics (Comet Lake 2x6 GT1)")
+CHIPSET(0x9BA2, cfl_gt1, "Intel(R) HD Graphics (Comet Lake 2x6 GT1)")
+CHIPSET(0x9BA4, cfl_gt1, "Intel(R) HD Graphics (Comet Lake 2x6 GT1)")
+CHIPSET(0x9BA5, cfl_gt1, "Intel(R) HD Graphics (Comet Lake 2x6 GT1)")
+CHIPSET(0x9BA8, cfl_gt1, "Intel(R) HD Graphics (Comet Lake 2x6 GT1)")
+CHIPSET(0x9BAA, cfl_gt1, "Intel(R) HD Graphics (Comet Lake 2x6 GT1)")
+CHIPSET(0x9BAB, cfl_gt1, "Intel(R) HD Graphics (Comet Lake 2x6 GT1)")
+CHIPSET(0x9BAC, cfl_gt1, "Intel(R) HD Graphics (Comet Lake 2x6 GT1)")
+CHIPSET(0x9B41, cfl_gt2, "Intel(R) HD Graphics (Comet Lake 3x8 GT2)")
+CHIPSET(0x9BC0, cfl_gt2, "Intel(R) HD Graphics (Comet Lake 3x8 GT2)")
+CHIPSET(0x9BC2, cfl_gt2, "Intel(R) HD Graphics (Comet Lake 3x8 GT2)")
+CHIPSET(0x9BC4, cfl_gt2, "Intel(R) HD Graphics (Comet Lake 3x8 GT2)")
+CHIPSET(0x9BC5, cfl_gt2, "Intel(R) HD Graphics (Comet Lake 3x8 GT2)")
+CHIPSET(0x9BC8, cfl_gt2, "Intel(R) HD Graphics (Comet Lake 3x8 GT2)")
+CHIPSET(0x9BCA, cfl_gt2, "Intel(R) HD Graphics (Comet Lake 3x8 GT2)")
+CHIPSET(0x9BCB, cfl_gt2, "Intel(R) HD Graphics (Comet Lake 3x8 GT2)")
+CHIPSET(0x9BCC, cfl_gt2, "Intel(R) HD Graphics (Comet Lake 3x8 GT2)")
 CHIPSET(0x5A49, cnl_2x8, "Intel(R) HD Graphics (Cannonlake 2x8 GT0.5)")
 CHIPSET(0x5A4A, cnl_2x8, "Intel(R) HD Graphics (Cannonlake 2x8 GT0.5)")
 CHIPSET(0x5A41, cnl_3x8, "Intel(R) HD Graphics (Cannonlake 3x8 GT1)")
diff --git a/src/intel/dev/gen_device_info.c b/src/intel/dev/gen_device_info.c
index 4837bda47aa..3689491a8e2 100644
--- a/src/intel/dev/gen_device_info.c
+++ b/src/intel/dev/gen_device_info.c
@@ -61,6 +61,7 @@ gen_device_name_to_pci_device_id(const char *name)
       { "glk", 0x3185 },
       { "cfl", 0x3E9B },
       { "whl", 0x3EA1 },
+      { "cml", 0x9b41 },
       { "cnl", 0x5a52 },
       { "icl", 0x8a52 },
    };
-- 
2.16.4

++++++ _constraints ++++++
<constraints>
  <overwrite>
    <conditions>
      <arch>ppc</arch>
      <arch>ppc64</arch>
      <arch>ppc64le</arch>
    </conditions>
    <hardware>
      <disk>
        <size unit="G">6</size>
      </disk>
    </hardware>
  </overwrite>
</constraints>
++++++ archlinux_0001-Fix-linkage-against-shared-glapi.patch ++++++
>From 1b5a187c3c31513ae39cd2a917a3234c2c5f87fc Mon Sep 17 00:00:00 2001
From: Adam Jackson <a...@redhat.com>
Date: Wed, 12 Oct 2016 13:41:33 -0400
Subject: [PATCH] Fix linkage against shared glapi

Signed-off-by: Adam Jackson <a...@redhat.com>
---
 src/gallium/targets/osmesa/Makefile.am | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Index: mesa-18.1.0/src/gallium/targets/osmesa/Makefile.am
===================================================================
--- mesa-18.1.0.orig/src/gallium/targets/osmesa/Makefile.am
+++ mesa-18.1.0/src/gallium/targets/osmesa/Makefile.am
@@ -61,7 +61,7 @@ lib@OSMESA_LIB@_la_LIBADD = \
        $(top_builddir)/src/gallium/winsys/sw/null/libws_null.la \
        $(top_builddir)/src/gallium/drivers/softpipe/libsoftpipe.la \
        $(top_builddir)/src/gallium/state_trackers/osmesa/libosmesa.la \
-       $(top_builddir)/src/mapi/glapi/libglapi.la \
+       $(top_builddir)/src/mapi/shared-glapi/libglapi.la \
        $(SHARED_GLAPI_LIB) \
        $(OSMESA_LIB_DEPS) \
        $(CLOCK_LIB) \
++++++ baselibs.conf ++++++
Mesa
        # Include this special README file so dummy Mesa-<targettype> gets
        # build and other arch packages can supplement it.
        +/usr/share/doc/packages/Mesa/README.package.*
        # Must require the base Mesa package to get /etc/drirc configuration 
file.
        requires "Mesa = <version>"
        obsoletes "XFree86-Mesa-<targettype> xorg-x11-Mesa-<targettype>"
        provides  "XFree86-Mesa-<targettype> xorg-x11-Mesa-<targettype>"
        provides "Mesa-libIndirectGL1-<targettype> = <version>"
        obsoletes "Mesa-libIndirectGL1-<targettype> < <version>"
        requires "libglvnd-<targettype> >= 0.1.0"
        requires "Mesa-dri-<targettype> = <version>"
        requires "Mesa-gallium-<targettype> = <version>"

Mesa-devel
        #We need Mesa-<targettype>!, do not put requires -Mesa-<targettype>.
        requires "Mesa-<targettype> = <version>"
        requires "Mesa-libEGL-devel-<targettype> = <version>"
        requires "Mesa-libGL-devel-<targettype> = <version>"
        requires "Mesa-libGLESv1_CM-devel-<targettype> = <version>"
        requires "Mesa-libGLESv2-devel-<targettype> = <version>"
        requires "Mesa-libIndirectGL-devel-<targettype> = <version>"
        requires "Mesa-libglapi-devel-<targettype> = <version>"
        requires "libOSMesa-devel-<targettype> = <version>"
        requires "libgbm-devel-<targettype> = <version>"
        requires "libglvnd-devel-<targettype> >= 0.1.0"
        obsoletes "XFree86-Mesa-devel-<targettype> 
xorg-x11-Mesa-devel-<targettype>"
        provides  "XFree86-Mesa-devel-<targettype> 
xorg-x11-Mesa-devel-<targettype>"
        obsoletes "Mesa-libIndirectGL-devel-<targettype> < <version>"
        provides "Mesa-libIndirectGL-devel-<targettype> = <version>"

Mesa-libEGL1
        requires "libglvnd-<targettype> >= 0.1.0"
Mesa-libEGL-devel
        requires "Mesa-libEGL1-<targettype> = <version>"
        requires "Mesa-KHR-devel-<targettype> = <version>"
        requires "libglvnd-devel-<targettype> >= 0.1.0"
Mesa-libGL1
        requires "Mesa-<targettype> = <version>"
        requires "libglvnd-<targettype> >= 0.1.0"
Mesa-libGL-devel
        requires "Mesa-libGL1-<targettype> = <version>"
        requires "Mesa-KHR-devel-<targettype> = <version>"
        requires "libglvnd-devel-<targettype> >= 0.1.0"
Mesa-libGLESv1_CM1
        requires "libglvnd-<targettype> >= 0.1.0"
Mesa-libGLESv1_CM-devel
        requires "Mesa-libEGL-devel-<targettype> = <version>"
        requires "Mesa-libGLESv1_CM1-<targettype> = <version>"
        requires "Mesa-KHR-devel-<targettype> = <version>"
        requires "libglvnd-devel-<targettype> >= 0.1.0"
Mesa-libGLESv2-2
        requires "libglvnd-<targettype> >= 0.1.0"
Mesa-libGLESv2-devel
        requires "Mesa-libEGL-devel-<targettype> = <version>"
        requires "Mesa-libGLESv2-2-<targettype> = <version>"
        requires "Mesa-KHR-devel-<targettype> = <version>"
        requires "libglvnd-devel-<targettype> >= 0.1.0"
Mesa-libGLESv3-devel
        requires "Mesa-libEGL-devel-<targettype> = <version>"
        requires "Mesa-KHR-devel-<targettype> = <version>"
libOSMesa8
        obsoletes "libOSMesa9-<targettype> < <version>"
        provides "libOSMesa9-<targettype> = <version>"
libOSMesa-devel
        requires "libOSMesa8-<targettype> = <version>"
libgbm1
libgbm-devel
        requires "libgbm1-<targettype> = <version>"
Mesa-libglapi0
Mesa-libglapi-devel
        requires "Mesa-libglapi0-<targettype> = <version>"
Mesa-libd3d
        provides "d3dadapter9.so.1"
Mesa-libd3d-devel
        requires "Mesa-libd3d-<targettype> = <version>"
libvulkan_intel
        targetarch aarch64 +/usr/share/vulkan/icd.d/intel_icd.*.json
        targetarch ppc64 +/usr/share/vulkan/icd.d/intel_icd.*.json
        targetarch ppc64le +/usr/share/vulkan/icd.d/intel_icd.*.json
        targetarch s390x +/usr/share/vulkan/icd.d/intel_icd.*.json
        targetarch x86_64 +/usr/share/vulkan/icd.d/intel_icd.*.json
libvulkan_radeon
        targetarch aarch64 +/usr/share/vulkan/icd.d/radeon_icd.*.json
        targetarch ppc64 +/usr/share/vulkan/icd.d/radeon_icd.*.json
        targetarch ppc64le +/usr/share/vulkan/icd.d/radeon_icd.*.json
        targetarch s390x +/usr/share/vulkan/icd.d/radeon_icd.*.json
        targetarch x86_64 +/usr/share/vulkan/icd.d/radeon_icd.*.json
Mesa-libVulkan-devel
        targetarch aarch64 requires "libvulkan_intel-<targettype> = <version>"
        targetarch aarch64 requires "libvulkan_radeon-<targettype> = <version>"
        targetarch ppc64 requires "libvulkan_intel-<targettype> = <version>"
        targetarch ppc64 requires "libvulkan_radeon-<targettype> = <version>"
        targetarch ppc64le requires "libvulkan_intel-<targettype> = <version>"
        targetarch ppc64le requires "libvulkan_radeon-<targettype> = <version>"
        targetarch s390x requires "libvulkan_intel-<targettype> = <version>"
        targetarch s390x requires "libvulkan_radeon-<targettype> = <version>"
        targetarch x86_64 requires "libvulkan_intel-<targettype> = <version>"
        targetarch x86_64 requires "libvulkan_radeon-<targettype> = <version>"
libXvMC_nouveau
libXvMC_r600
libvdpau_nouveau
libvdpau_r300
libvdpau_r600
libvdpau_radeonsi
Mesa-dri-vc4
Mesa-dri-nouveau
Mesa-dri
        supplements "Mesa-<targettype> = <version>"
Mesa-gallium
        supplements "Mesa-<targettype> = <version>"
++++++ n_Disable-Xshm-for-now-since-it-results-in-render-erro.patch ++++++
>From cd5af5c511b50890abe24d1e212ba9817f4074dd Mon Sep 17 00:00:00 2001
From: Stefan Dirsch <sndir...@suse.de>
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, 0, 0, x, y, w, h, False);
-- 
2.16.4

++++++ n_VDPAU-XVMC-libs-Replace-hardlinks-with-copies.patch ++++++
>From a9af1af5f1f9aa9fdea9e73135a92f053478f849 Mon Sep 17 00:00:00 2001
From: Stefan Dirsch <sndir...@suse.de>
Date: Wed, 20 Jan 2016 16:10:15 +0100
Subject: [PATCH] VDPAU/XVMC libs: Replace hardlinks with copies

Since these are packaged separately in (open)SUSE anyway, one can use
copies as well. This makes debug packages possible again. (bnc #962609)

Signed-off-by: Stefan Dirsch <sndir...@suse.de>
---
 src/gallium/targets/vdpau/Makefile.am | 4 ++--
 src/gallium/targets/xvmc/Makefile.am  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

Index: mesa-18.1.0/src/gallium/targets/vdpau/Makefile.am
===================================================================
--- mesa-18.1.0.orig/src/gallium/targets/vdpau/Makefile.am
+++ mesa-18.1.0/src/gallium/targets/vdpau/Makefile.am
@@ -91,7 +91,7 @@ all-local: $(vdpau_LTLIBRARIES)
                j=libvdpau_gallium.$(LIB_EXT);                          \
                k=libvdpau_$${i}.$(LIB_EXT);                            \
                l=$${k}.$(VDPAU_MAJOR).$(VDPAU_MINOR).0;                \
-               ln -f .libs/$${j}.$(VDPAU_MAJOR).$(VDPAU_MINOR).0       \
+               cp -a .libs/$${j}.$(VDPAU_MAJOR).$(VDPAU_MINOR).0       \
                      $${link_dir}/$${l};                               \
                ln -sf $${l}                                            \
                       $${link_dir}/$${k}.$(VDPAU_MAJOR).$(VDPAU_MINOR); \
@@ -116,7 +116,7 @@ install-data-hook:
                j=libvdpau_gallium.$(LIB_EXT);                          \
                k=libvdpau_$${i}.$(LIB_EXT);                            \
                l=$${k}.$(VDPAU_MAJOR).$(VDPAU_MINOR).0;                \
-               ln -f $${dest_dir}/$${j}.$(VDPAU_MAJOR).$(VDPAU_MINOR).0 \
+               cp -a $${dest_dir}/$${j}.$(VDPAU_MAJOR).$(VDPAU_MINOR).0 \
                      $${dest_dir}/$${l};                               \
                ln -sf $${l}                                            \
                       $${dest_dir}/$${k}.$(VDPAU_MAJOR).$(VDPAU_MINOR); \
Index: mesa-18.1.0/src/gallium/targets/xvmc/Makefile.am
===================================================================
--- mesa-18.1.0.orig/src/gallium/targets/xvmc/Makefile.am
+++ mesa-18.1.0/src/gallium/targets/xvmc/Makefile.am
@@ -75,7 +75,7 @@ install-data-hook:
                j=libXvMCgallium.$(LIB_EXT);                            \
                k=libXvMC$${i}.$(LIB_EXT);                              \
                l=$${k}.$(XVMC_MAJOR).$(XVMC_MINOR).0;                  \
-               ln -f $${dest_dir}/$${j}.$(XVMC_MAJOR).$(XVMC_MINOR).0  \
+               cp -a $${dest_dir}/$${j}.$(XVMC_MAJOR).$(XVMC_MINOR).0  \
                      $${dest_dir}/$${l};                               \
                ln -sf $${l}                                            \
                       $${dest_dir}/$${k}.$(XVMC_MAJOR).$(XVMC_MINOR);  \
++++++ n_drirc-disable-rgb10-for-chromium-on-amd.patch ++++++
Index: mesa-18.3.0-rc2/src/util/00-mesa-defaults.conf
===================================================================
--- mesa-18.3.0-rc2.orig/src/util/00-mesa-defaults.conf
+++ mesa-18.3.0-rc2/src/util/00-mesa-defaults.conf
@@ -334,5 +334,10 @@ TODO: document the other workarounds.
         <application name="No Mans Sky" executable="NMS.exe">
             <option name="radeonsi_zerovram" value="true" />
         </application>
+
+        <!-- This is workaround to prevent distorted colors on hardware 
accelerated video in Chromium. 
https://bugzilla.opensuse.org/show_bug.cgi?id=1113211 -->
+        <application name="Chromium" executable="chromium">
+            <option name="allow_rgb10_configs" value="false" />
+        </application>
     </device>
 </driconf>
++++++ pre_checkin.sh ++++++
#!/bin/sh

# This script is based on libcdio_spec-prepare.sh (thanks to sbra...@suse.cz)
# create a -drivers spec for systemd for bootstrapping

ORIG_SPEC=Mesa
EDIT_WARNING="##### WARNING: please do not edit this auto generated spec file. 
Use the ${ORIG_SPEC}.spec! #####\n"
sed "s/^%define drivers .*$/${EDIT_WARNING}%define drivers 1/;
     s/^Name:.*/&-drivers/
              " < ${ORIG_SPEC}.spec > ${ORIG_SPEC}-drivers.spec
cp ${ORIG_SPEC}.changes ${ORIG_SPEC}-drivers.changes
cp ${ORIG_SPEC}-rpmlintrc ${ORIG_SPEC}-drivers-rpmlintrc

osc service localrun format_spec_file
++++++ u_call-shmget-with-permission-0600-instead-of-0777.patch ++++++
A security advisory (TALOS-2019-0857/CVE-2019-5068) found that
creating shared memory regions with permission mode 0777 could allow
any user to access that memory.  Several Mesa drivers use shared-
memory XImages to implement back buffers for improved performance.

This path changes the shmget() calls to use 0600 (user r/w).

Tested with legacy Xlib driver and llvmpipe.

Cc: <a 
href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev";>mesa-stable at 
lists.freedesktop.org</a>
---
 src/gallium/winsys/sw/dri/dri_sw_winsys.c   | 3 ++-
 src/gallium/winsys/sw/xlib/xlib_sw_winsys.c | 3 ++-
 src/mesa/drivers/x11/xm_buffer.c            | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/gallium/winsys/sw/dri/dri_sw_winsys.c 
b/src/gallium/winsys/sw/dri/dri_sw_winsys.c
index 761f5d1..2e5970b 100644
--- a/src/gallium/winsys/sw/dri/dri_sw_winsys.c
+++ b/src/gallium/winsys/sw/dri/dri_sw_winsys.c
@@ -92,7 +92,8 @@ alloc_shm(struct dri_sw_displaytarget *dri_sw_dt, unsigned 
size)
 {
    char *addr;
 
-   dri_sw_dt->shmid = shmget(IPC_PRIVATE, size, IPC_CREAT|0777);
+   /* 0600 = user read+write */
+   dri_sw_dt->shmid = shmget(IPC_PRIVATE, size, IPC_CREAT|0600);
    if (dri_sw_dt->shmid < 0)
       return NULL;
 
diff --git a/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c 
b/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c
index c14c9de..edebb48 100644
--- a/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c
+++ b/src/gallium/winsys/sw/xlib/xlib_sw_winsys.c
@@ -126,7 +126,8 @@ alloc_shm(struct xlib_displaytarget *buf, unsigned size)
    shminfo->shmid = -1;
    shminfo->shmaddr = (char *) -1;
 
-   shminfo->shmid = shmget(IPC_PRIVATE, size, IPC_CREAT|0777);
+   /* 0600 = user read+write */
+   shminfo->shmid = shmget(IPC_PRIVATE, size, IPC_CREAT|0600);
    if (shminfo->shmid < 0) {
       return NULL;
    }
diff --git a/src/mesa/drivers/x11/xm_buffer.c b/src/mesa/drivers/x11/xm_buffer.c
index d945d8a..0da08a6 100644
--- a/src/mesa/drivers/x11/xm_buffer.c
+++ b/src/mesa/drivers/x11/xm_buffer.c
@@ -89,8 +89,9 @@ alloc_back_shm_ximage(XMesaBuffer b, GLuint width, GLuint 
height)
       return GL_FALSE;
    }
 
+   /* 0600 = user read+write */
    b->shminfo.shmid = shmget(IPC_PRIVATE, b->backxrb->ximage->bytes_per_line
-                            * b->backxrb->ximage->height, IPC_CREAT|0777);
+                            * b->backxrb->ximage->height, IPC_CREAT|0600);
    if (b->shminfo.shmid < 0) {
       _mesa_warning(NULL, "shmget failed while allocating back buffer.\n");
       XDestroyImage(b->backxrb->ximage);
-- 
1.8.5.6
++++++ u_wayland_egl-Ensure-EGL-surface.patch ++++++
>From 15ad1cb4502f00df6cec88e3cc9090449146a347 Mon Sep 17 00:00:00 2001
From: Carlos Garnacho <carl...@gnome.org>
Date: Tue, 20 Nov 2018 18:06:38 +0100
Subject: [PATCH] wayland/egl: Ensure EGL surface is resized on DRI
 update_buffers()

Fullscreening and unfullscreening a totem window while playing a video
sometimes results in the video subsurface not changing size along. This
is also reproducible with epiphany.

If a surface gets resized while we have an active back buffer for it, the
resized dimensions won't get neither immediately applied on the resize
callback, nor correctly synchronized on update_buffers(), as the
(now stale) surface size and currently attached buffer size still do match.

There's actually 2 things to synchronize here, first the surface query
size might not be updated yet to the wl_egl_window's (i.e. resize_callback
happened while there is a back buffer), and second the wayland buffers
would need dropping if new surface size differs with the currently attached
buffer. These are done in separate steps now.

https://bugzilla.redhat.com/show_bug.cgi?id=1650929

Signed-off-by: Carlos Garnacho <carl...@gnome.org>
Tested-by: Bastien Nocera <had...@hadess.net>
---
 src/egl/drivers/dri2/platform_wayland.c | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/egl/drivers/dri2/platform_wayland.c 
b/src/egl/drivers/dri2/platform_wayland.c
index 8122c81128..d9e484eaed 100644
--- a/src/egl/drivers/dri2/platform_wayland.c
+++ b/src/egl/drivers/dri2/platform_wayland.c
@@ -597,10 +597,8 @@ update_buffers(struct dri2_egl_surface *dri2_surf)
    struct dri2_egl_display *dri2_dpy =
       dri2_egl_display(dri2_surf->base.Resource.Display);
 
-   if (dri2_surf->base.Width != dri2_surf->wl_win->attached_width ||
-       dri2_surf->base.Height != dri2_surf->wl_win->attached_height) {
-
-      dri2_wl_release_buffers(dri2_surf);
+   if (dri2_surf->base.Width != dri2_surf->wl_win->width ||
+       dri2_surf->base.Height != dri2_surf->wl_win->height) {
 
       dri2_surf->base.Width  = dri2_surf->wl_win->width;
       dri2_surf->base.Height = dri2_surf->wl_win->height;
@@ -608,6 +606,11 @@ update_buffers(struct dri2_egl_surface *dri2_surf)
       dri2_surf->dy = dri2_surf->wl_win->dy;
    }
 
+   if (dri2_surf->base.Width != dri2_surf->wl_win->attached_width ||
+       dri2_surf->base.Height != dri2_surf->wl_win->attached_height) {
+      dri2_wl_release_buffers(dri2_surf);
+   }
+
    if (get_back_bo(dri2_surf) < 0) {
       _eglError(EGL_BAD_ALLOC, "failed to allocate color buffer");
       return -1;
-- 
2.19.1


Reply via email to