From b6fbe138f4d359fb5ed5fb0968f6be8f04f8eca6 Mon Sep 17 00:00:00 2001 From: Andreas Müller Date: Mon, 5 Jul 2021 20:42:58 +0200 Subject: mesa: upgrade 21.1.3 -> 21.1.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug fixes * [anv] GravityMark (benchmark) crashes on ANV * [opengl] We happy few not being rendered correctly * Factorio: GPU hang when opening machine inventory * RuneScape on Mesa 21.1.1 (VEGA10) has bad performance and leaks memory * Supraland: flickering black bars on ground * radv: GPU hang in Cyberpunk 2077 on Big Navi * [amdgpu][renoir][rx5500m]: [drm:0xffffffff8198ad5e] *ERROR* ring gfx timeout, signaled seq=10952, emitted seq=10954 * [spirv-fuzz] SPIR-V parsing FAILED: Invalid back or cross-edge in the CFG * panfrost Mount and Blade: Warband (glitches) * anv: dEQP-VK.robustness.robustness2*no_fmt_qual.null_descriptor.samples* fail Changes * util/fossilize_db: Pull seek into lock. * util/fossilize_db: Split out reading the index. * util/fossilize_db: Do not lock the fossilize db permanently. * spirv: Fix handling of OpBranchConditional with same THEN and ELSE * nir/opt_if: Don’t split ALU for single block infinite loops * llvmpipe: Add handle export for resource_get_param * i965: fix regression in pipe control on g45 * pick_status.json: Update to 977355c6e5efd781dde85d834172dd23cd4852f1 * pick_status.json: Update to 40b67a292297606f0a7576e3ef4087028d5edd17 * zink: do not unmap dt-buffers twice * zink: drop repeated usage-bit * zink: do not check buffer-format for usage-bits * zink: remove unused moltenvk functions * libgl-gdi: add missing include * aux/trace: fix bool argument * ci/windows: work around meson encoding issues * intel/fs: Teach IR about EOT instruction writing the accumulator implicitly on TGL+. * intel/fs: Fix synchronization of accumulator-clearing W/A move on TGL+. * pan/mdg: Add a bundle ID to instructions * pan/mdg: Reorder some code in mir_spill_register * pan/mdg: Fill from TLS before spilling non-SSA nodes * pan/mdg: Fix reading a spilt register in the bundle it’s written * pan/mdg: Add 16 bytes of padding to the end of shaders * intel/nir: Fix txs for null surfaces * spirv: Create acceleration structure and shader record variables * nv50/ir: fix surface lowering when values get shared accross operations * anv: Fix dynamic primitive topology for tess on Gfx7.x too * anv: allocate bigger batches as we grow command buffers * mesa: unreference zombie buffers when creating buffers to lower memory usage * compiler/glsl: Use mutex lock while freeing up mem_ctx * anv: fix dynamic primitive topology for tess * zink: handle custom border color without matching wrap mode case * radeonsi: skip instance_count==0 draws on <= GFX9 * radeonsi: disable ngg culling on llvm < 12 * radv: reject binding buffer/image when the device memory is too small * radv: always decompress both aspects of a depth/stencil image * amd/addrlib: remove Meson debug message() * radeon/vcn/enc: Add missing line to HEVC SPS header code * util: add work around for the game We Happy Few * ac/nir: Update TCS output barriers with nir_var_mem_shared. * radv/llvm: Emit s_barrier at the beginning of NGG non-GS shaders. * aco/gfx10: NGG zero output workaround for conservative rasterization. * aco/gfx10: Emit barrier at the start of NGG VS and TES. Signed-off-by: Andreas Müller Signed-off-by: Richard Purdie --- meta/recipes-graphics/mesa/mesa-gl_21.1.3.bb | 16 ---------------- meta/recipes-graphics/mesa/mesa-gl_21.1.4.bb | 16 ++++++++++++++++ meta/recipes-graphics/mesa/mesa.inc | 2 +- meta/recipes-graphics/mesa/mesa_21.1.3.bb | 5 ----- meta/recipes-graphics/mesa/mesa_21.1.4.bb | 5 +++++ 5 files changed, 22 insertions(+), 22 deletions(-) delete mode 100644 meta/recipes-graphics/mesa/mesa-gl_21.1.3.bb create mode 100644 meta/recipes-graphics/mesa/mesa-gl_21.1.4.bb delete mode 100644 meta/recipes-graphics/mesa/mesa_21.1.3.bb create mode 100644 meta/recipes-graphics/mesa/mesa_21.1.4.bb (limited to 'meta/recipes-graphics') diff --git a/meta/recipes-graphics/mesa/mesa-gl_21.1.3.bb b/meta/recipes-graphics/mesa/mesa-gl_21.1.3.bb deleted file mode 100644 index dff79f0be0..0000000000 --- a/meta/recipes-graphics/mesa/mesa-gl_21.1.3.bb +++ /dev/null @@ -1,16 +0,0 @@ -require mesa.inc - -SUMMARY += " (OpenGL only, no EGL/GLES)" - -PROVIDES = "virtual/libgl virtual/mesa" - -S = "${WORKDIR}/mesa-${PV}" - -# At least one DRI rendering engine is required to build mesa. -# When no X11 is available, use osmesa for the rendering engine. -PACKAGECONFIG ??= "opengl dri ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa gallium', d)}" -PACKAGECONFIG_class-target = "opengl dri ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa gallium', d)}" - -# 21.0.0 version fails to build when any driver is enabled in DRIDRIVERS -# ./mesa-21.0.0/meson.build:519:4: ERROR: Problem encountered: building dri drivers require at least one windowing system -DRIDRIVERS ?= "" diff --git a/meta/recipes-graphics/mesa/mesa-gl_21.1.4.bb b/meta/recipes-graphics/mesa/mesa-gl_21.1.4.bb new file mode 100644 index 0000000000..dff79f0be0 --- /dev/null +++ b/meta/recipes-graphics/mesa/mesa-gl_21.1.4.bb @@ -0,0 +1,16 @@ +require mesa.inc + +SUMMARY += " (OpenGL only, no EGL/GLES)" + +PROVIDES = "virtual/libgl virtual/mesa" + +S = "${WORKDIR}/mesa-${PV}" + +# At least one DRI rendering engine is required to build mesa. +# When no X11 is available, use osmesa for the rendering engine. +PACKAGECONFIG ??= "opengl dri ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa gallium', d)}" +PACKAGECONFIG_class-target = "opengl dri ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa gallium', d)}" + +# 21.0.0 version fails to build when any driver is enabled in DRIDRIVERS +# ./mesa-21.0.0/meson.build:519:4: ERROR: Problem encountered: building dri drivers require at least one windowing system +DRIDRIVERS ?= "" diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index b7e42a9d7f..6a102585a1 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -21,7 +21,7 @@ SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \ file://0001-futex.h-Define-__NR_futex-if-it-does-not-exist.patch \ " -SRC_URI[sha256sum] = "cbe221282670875ffd762247b6a2c95dcee91d0a34c29802c75ef761fc891e69" +SRC_URI[sha256sum] = "1f177f44098164b65731c5ded4c928fd58b14f6c9d2087aa0e37bc79bf79e90b" UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P\d+(\.\d+)+)" diff --git a/meta/recipes-graphics/mesa/mesa_21.1.3.bb b/meta/recipes-graphics/mesa/mesa_21.1.3.bb deleted file mode 100644 index 28abc91a87..0000000000 --- a/meta/recipes-graphics/mesa/mesa_21.1.3.bb +++ /dev/null @@ -1,5 +0,0 @@ -require ${BPN}.inc - -DRIDRIVERS_append_x86_class-target = ",r100,r200,nouveau,i965" -DRIDRIVERS_append_x86-64_class-target = ",r100,r200,nouveau,i965" - diff --git a/meta/recipes-graphics/mesa/mesa_21.1.4.bb b/meta/recipes-graphics/mesa/mesa_21.1.4.bb new file mode 100644 index 0000000000..28abc91a87 --- /dev/null +++ b/meta/recipes-graphics/mesa/mesa_21.1.4.bb @@ -0,0 +1,5 @@ +require ${BPN}.inc + +DRIDRIVERS_append_x86_class-target = ",r100,r200,nouveau,i965" +DRIDRIVERS_append_x86-64_class-target = ",r100,r200,nouveau,i965" + -- cgit 1.2.3-korg