From 66f67e43e25dc58a07a49bb8e12699f1a6ce06f4 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 11 Apr 2023 09:01:27 +0800 Subject: mesa: upgrade 23.0.0 -> 23.0.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 23.0.1 changes New features None Bug fixes radv: A Plague Tale: Requiem black “flash” on 7900XTX 7900 XTX: Graphical corruption / artifacts in Cyberpunk radv: CmdCopyQueryPoolResults broken for VK_QUERY_TYPE_PRIMITIVES_GENERATED_EXT with queryCount > 1 radeonsi draws spurious values to depth buffer rusticl over llvmpipe + ffmpeg’s Opencl filter = error -51 rusticl over llvmpipe + ffmpeg’s Opencl filter = error -51 OpenGL crashes in X-Plane 11 [Bisected] Regression: Project Zomboid renders black hasvk: Black pixels with 8xMSAA and fast clears on Intel(R) HD Graphics 4400 (HSW GT2) radv: GTA IV graphical artifacts on 7900XTX radv: Resident Evil Revelations 2 artifacts on 7900XTX with DCC radv: Prototype 2 black textures on RDNA 3 when DCC is enabled Mesa 23.0.0 crashes immediately with indirect rendering [RADV] Returnal - pistol muzzle flash fills whole screen (graphical artifact) ACO: dEQP-VK.binding_model.descriptor_buffer.multiple.graphics_geom_buffers1_sets3_imm_samplers hangs on NAVI10 Build failures with recent lld r600,regression: Glitches on terrain with the NIR backend on Transport Fever 2 r600/TURKS: Crash of the game “A Hat in Time” with Gallium Nine and NIR path (third report) [gen9atom] Vulkan tests cause gpu hang: dEQP-VK.memory_model.* GL_SHADER_BINARY_FORMAT_SPIR_V is not added to the list of GL_SHADER_BINARY_FORMATS even if GL_ARB_gl_spirv is supported. [ANV/DG2] Vertex explosion in nvpro-samples/vk_raytracing_tutorial_KHR/ray_tracing_gltf CUEtools FLACCL hit assert in rusticl Assertion Failed on Intel HD 5500 with Linux / Mesa 22.3.1 / OpenGL 23.0.2 changes New features None Bug fixes allwinner a64: DRM_IOCTL_MODE_CREATE_DUMB failed: Cannot allocate memory after some time of apps usage mesa: index buffer leaking RadeonSI: null dereference in amdgpu_cs_add_buffer, potential refcount mismatch, running BeyondAllReason eglCreateImageKHR, error: EGL_BAD_ALLOC (0x3003), message: “createImageFromDmaBufs failed” on AMD multi-gpu with explicit format modifiers libgrl.a installed but not used? radv: crash compiling UE5 lumen hardware RT shader aco: unused vtmp_in_loop radv,nir: dEQP-VK.ray_query.builtin.rayqueryterminate.* failures glsl compiled error when the RHS of operator `>>` is int64_t by enabling GL_ARB_gpu_shader_int64 extension QPainter fails to render multiple shapes with a brush set since Mesa 23.0 eglSwapBuffers blocks in wayland when it’s wl_surface_frame event is stolen. plasmashell sometimes hangs with mesa_glthread pps_device.h:23:11: error: ‘uint32_t’ does not name a type Signed-off-by: Wang Mingyu Signed-off-by: Luca Ceresoli (cherry picked from commit f7f483f90ba17342a83fdfe7c7dccf5a3f7bf624) Signed-off-by: Steve Sakoman --- meta/recipes-graphics/mesa/mesa-gl_23.0.0.bb | 15 --------------- meta/recipes-graphics/mesa/mesa-gl_23.0.2.bb | 15 +++++++++++++++ meta/recipes-graphics/mesa/mesa.inc | 2 +- meta/recipes-graphics/mesa/mesa_23.0.0.bb | 2 -- meta/recipes-graphics/mesa/mesa_23.0.2.bb | 2 ++ 5 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 meta/recipes-graphics/mesa/mesa-gl_23.0.0.bb create mode 100644 meta/recipes-graphics/mesa/mesa-gl_23.0.2.bb delete mode 100644 meta/recipes-graphics/mesa/mesa_23.0.0.bb create mode 100644 meta/recipes-graphics/mesa/mesa_23.0.2.bb diff --git a/meta/recipes-graphics/mesa/mesa-gl_23.0.0.bb b/meta/recipes-graphics/mesa/mesa-gl_23.0.0.bb deleted file mode 100644 index ca160f1bfc..0000000000 --- a/meta/recipes-graphics/mesa/mesa-gl_23.0.0.bb +++ /dev/null @@ -1,15 +0,0 @@ -require mesa.inc - -SUMMARY += " (OpenGL only, no EGL/GLES)" - -PROVIDES = "virtual/libgl virtual/mesa" - -S = "${WORKDIR}/mesa-${PV}" - -TARGET_CFLAGS = "-I${STAGING_INCDIR}/drm" - -# At least one DRI rendering engine is required to build mesa. -# When no X11 is available, use osmesa for the rendering engine. -PACKAGECONFIG ??= "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa', d)}" -PACKAGECONFIG:class-target = "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa', d)}" - diff --git a/meta/recipes-graphics/mesa/mesa-gl_23.0.2.bb b/meta/recipes-graphics/mesa/mesa-gl_23.0.2.bb new file mode 100644 index 0000000000..ca160f1bfc --- /dev/null +++ b/meta/recipes-graphics/mesa/mesa-gl_23.0.2.bb @@ -0,0 +1,15 @@ +require mesa.inc + +SUMMARY += " (OpenGL only, no EGL/GLES)" + +PROVIDES = "virtual/libgl virtual/mesa" + +S = "${WORKDIR}/mesa-${PV}" + +TARGET_CFLAGS = "-I${STAGING_INCDIR}/drm" + +# At least one DRI rendering engine is required to build mesa. +# When no X11 is available, use osmesa for the rendering engine. +PACKAGECONFIG ??= "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa', d)}" +PACKAGECONFIG:class-target = "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa', d)}" + diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 8f72f25c17..babd10a855 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -19,7 +19,7 @@ SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \ file://0001-meson-misdetects-64bit-atomics-on-mips-clang.patch \ " -SRC_URI[sha256sum] = "01f3cff3763f09e0adabcb8011e4aebc6ad48f6a4dd4bae904fe918707d253e4" +SRC_URI[sha256sum] = "1b7d3399fc6f16f030361f925d33ebc7600cbf98094582f54775b6a1180529e7" UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P\d+(\.\d+)+)" diff --git a/meta/recipes-graphics/mesa/mesa_23.0.0.bb b/meta/recipes-graphics/mesa/mesa_23.0.0.bb deleted file mode 100644 index 96e8aa38d6..0000000000 --- a/meta/recipes-graphics/mesa/mesa_23.0.0.bb +++ /dev/null @@ -1,2 +0,0 @@ -require ${BPN}.inc - diff --git a/meta/recipes-graphics/mesa/mesa_23.0.2.bb b/meta/recipes-graphics/mesa/mesa_23.0.2.bb new file mode 100644 index 0000000000..96e8aa38d6 --- /dev/null +++ b/meta/recipes-graphics/mesa/mesa_23.0.2.bb @@ -0,0 +1,2 @@ +require ${BPN}.inc + -- cgit 1.2.3-korg