Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package Mesa for openSUSE:Factory checked in at 2024-09-15 12:33:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/Mesa (Old) and /work/SRC/openSUSE:Factory/.Mesa.new.29891 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "Mesa" Sun Sep 15 12:33:20 2024 rev:519 rq:1200878 version:unknown Changes: -------- --- /work/SRC/openSUSE:Factory/Mesa/Mesa.changes 2024-08-26 22:07:14.146514294 +0200 +++ /work/SRC/openSUSE:Factory/.Mesa.new.29891/Mesa.changes 2024-09-15 12:34:02.626626440 +0200 @@ -1,0 +2,16 @@ +Fri Sep 13 15:42:12 UTC 2024 - Stefan Dirsch <sndir...@suse.com> + +- U_egl-x11-sw-fix-partial-image-uploads.patch + * culprit for the regression in 24.1.4; reverse apply this for + now (boo#1228164) + +------------------------------------------------------------------- +Thu Sep 5 19:20:59 UTC 2024 - Bjørn Lie <bjorn....@gmail.com> + +- Update to bugfix release 24.1.7 + --> https://docs.mesa3d.org/relnotes/24.1.7 +- Supersedes the following patch: + * U_radeonsi-vcn-Add-decode-DPB-buffers-as-CS-dependency.patch +- Rebase patches with quilt. + +------------------------------------------------------------------- Old: ---- U_radeonsi-vcn-Add-decode-DPB-buffers-as-CS-dependency.patch mesa-24.1.3.tar.xz mesa-24.1.3.tar.xz.sig New: ---- U_egl-x11-sw-fix-partial-image-uploads.patch mesa-24.1.7.tar.xz mesa-24.1.7.tar.xz.sig BETA DEBUG BEGIN: Old:- Supersedes the following patch: * U_radeonsi-vcn-Add-decode-DPB-buffers-as-CS-dependency.patch - Rebase patches with quilt. BETA DEBUG END: BETA DEBUG BEGIN: New: - U_egl-x11-sw-fix-partial-image-uploads.patch * culprit for the regression in 24.1.4; reverse apply this for BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ Mesa.spec ++++++ --- /var/tmp/diff_new_pack.V5vc0g/_old 2024-09-15 12:34:10.234941638 +0200 +++ /var/tmp/diff_new_pack.V5vc0g/_new 2024-09-15 12:34:10.238941804 +0200 @@ -42,7 +42,7 @@ %define glamor 1 %define _name_archive mesa -%define _version 24.1.3 +%define _version 24.1.7 %define with_opencl 0 %define with_rusticl 0 %define with_vulkan 0 @@ -145,7 +145,7 @@ %global _paste_crate_ver 1.0.14 Name: Mesa%{psuffix} -Version: 24.1.3 +Version: 24.1.7 Release: 0 Summary: System for rendering 3-D graphics License: MIT @@ -183,8 +183,8 @@ Patch54: n_drirc-disable-rgb10-for-chromium-on-amd.patch Patch58: u_dep_xcb.patch Patch100: U_fix-mpeg1_2-decode-mesa-20.2.patch -Patch101: U_radeonsi-vcn-Add-decode-DPB-buffers-as-CS-dependency.patch Patch400: n_stop-iris-flicker.patch +Patch500: U_egl-x11-sw-fix-partial-image-uploads.patch %ifarch %{ix86} x86_64 BuildRequires: DirectX-Headers %endif @@ -839,8 +839,8 @@ %endif %patch -P 58 -p1 %patch -P 100 -p1 -%patch -P 101 -p1 %patch -P 400 -p1 +%patch -P 500 -p1 -R # Remove requires to vulkan libs from baselibs.conf on platforms # where vulkan build is disabled; ugly ... ++++++ U_egl-x11-sw-fix-partial-image-uploads.patch ++++++ >From 5903c215ab5b4c5d3bb1c952c0c784b78a0412fc Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz <michael.blumenkra...@gmail.com> Date: Tue, 13 Feb 2024 13:10:30 -0500 Subject: [PATCH] egl/x11/sw: fix partial image uploads * swrast allocates images aligned to 64x64 tiles, which results in images that are larger than the window. PutImage requests must be clamped on the y-axis to avoid uploading/damaging out-of-bounds regions * winsys coords are y-inverted cc: mesa-stable Reviewed-by: Adam Jackson <a...@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29910> (cherry picked from commit 6088a0bf51dd6bdfe39d9160a748bdde016f2c96) --- .pick_status.json | 2 +- src/egl/drivers/dri2/platform_x11.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.pick_status.json b/.pick_status.json index cc044e5e788..802f9799d23 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -164,7 +164,7 @@ "description": "egl/x11/sw: fix partial image uploads", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/egl/drivers/dri2/platform_x11.c b/src/egl/drivers/dri2/platform_x11.c index 97436a0254b..e0d9ddb343e 100644 --- a/src/egl/drivers/dri2/platform_x11.c +++ b/src/egl/drivers/dri2/platform_x11.c @@ -174,6 +174,11 @@ swrastPutImage(__DRIdrawable *draw, int op, int x, int y, int w, int h, return; } + /* clamp to drawable size */ + if (y + h > dri2_surf->base.Height) + h = dri2_surf->base.Height - y; + /* y-invert */ + y = dri2_surf->base.Height - y - h; if (size < max_req_len) { cookie = xcb_put_image( dri2_dpy->conn, XCB_IMAGE_FORMAT_Z_PIXMAP, dri2_surf->drawable, gc, w, -- 2.43.0 ++++++ U_fix-mpeg1_2-decode-mesa-20.2.patch ++++++ --- /var/tmp/diff_new_pack.V5vc0g/_old 2024-09-15 12:34:10.358946776 +0200 +++ /var/tmp/diff_new_pack.V5vc0g/_new 2024-09-15 12:34:10.362946941 +0200 @@ -3,11 +3,11 @@ src/gallium/drivers/r600/evergreen_state.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -Index: mesa-23.3.0/src/gallium/drivers/r600/evergreen_state.c +Index: mesa-24.1.7/src/gallium/drivers/r600/evergreen_state.c =================================================================== ---- mesa-23.3.0.orig/src/gallium/drivers/r600/evergreen_state.c -+++ mesa-23.3.0/src/gallium/drivers/r600/evergreen_state.c -@@ -598,7 +598,8 @@ static void *evergreen_create_sampler_st +--- mesa-24.1.7.orig/src/gallium/drivers/r600/evergreen_state.c ++++ mesa-24.1.7/src/gallium/drivers/r600/evergreen_state.c +@@ -584,7 +584,8 @@ static void *evergreen_create_sampler_st : state->max_anisotropy; unsigned max_aniso_ratio = r600_tex_aniso_filter(max_aniso); bool trunc_coord = state->min_img_filter == PIPE_TEX_FILTER_NEAREST && ++++++ mesa-24.1.3.tar.xz -> mesa-24.1.7.tar.xz ++++++ /work/SRC/openSUSE:Factory/Mesa/mesa-24.1.3.tar.xz /work/SRC/openSUSE:Factory/.Mesa.new.29891/mesa-24.1.7.tar.xz differ: char 27, line 1 ++++++ n_add-Mesa-headers-again.patch ++++++ --- /var/tmp/diff_new_pack.V5vc0g/_old 2024-09-15 12:34:10.454950753 +0200 +++ /var/tmp/diff_new_pack.V5vc0g/_new 2024-09-15 12:34:10.458950918 +0200 @@ -1,8 +1,8 @@ -Index: mesa-24.0.3/include/meson.build +Index: mesa-24.1.7/include/meson.build =================================================================== ---- mesa-24.0.3.orig/include/meson.build -+++ mesa-24.0.3/include/meson.build -@@ -28,7 +28,6 @@ if with_android_stub +--- mesa-24.1.7.orig/include/meson.build ++++ mesa-24.1.7/include/meson.build +@@ -29,7 +29,6 @@ if with_android_stub inc_include += [include_directories('android_stub')] endif @@ -10,7 +10,7 @@ if with_gles1 or with_gles2 or with_opengl or with_egl install_headers('KHR/khrplatform.h', subdir : 'KHR') endif -@@ -84,7 +83,6 @@ if not with_glvnd and host_machine.syste +@@ -85,7 +84,6 @@ if not with_glvnd and host_machine.syste subdir : 'EGL', ) endif ++++++ u_dep_xcb.patch ++++++ --- /var/tmp/diff_new_pack.V5vc0g/_old 2024-09-15 12:34:10.506952907 +0200 +++ /var/tmp/diff_new_pack.V5vc0g/_new 2024-09-15 12:34:10.510953073 +0200 @@ -1,8 +1,8 @@ -Index: mesa-24.0.3/meson.build +Index: mesa-24.1.7/meson.build =================================================================== ---- mesa-24.0.3.orig/meson.build -+++ mesa-24.0.3/meson.build -@@ -2069,9 +2069,11 @@ if with_platform_x11 +--- mesa-24.1.7.orig/meson.build ++++ mesa-24.1.7/meson.build +@@ -2114,9 +2114,11 @@ if with_platform_x11 endif endif if with_any_vk or with_egl or (with_glx == 'dri' and with_dri_platform == 'drm')