[mesa-freeworld/f41: 7/7] Merge branch 'master' into f41
by Thorsten Leemhuis
commit a3e113542e4097d1f223b8254cecc2978cd6e7e5
Merge: 2465764 46b5384
Author: Thorsten Leemhuis <linux(a)leemhuis.info>
Date: Wed Feb 19 19:12:40 2025 +0100
Merge branch 'master' into f41
...x11-fix-use-of-uninitialised-xfixes-regio.patch | 41 +++++++
...mpute-queues-on-Raven_Raven2-due-to-hangs.patch | 37 -------
mesa-freeworld.spec | 121 +++++++++++++++++----
sources | 2 +-
4 files changed, 139 insertions(+), 62 deletions(-)
---
1 week, 5 days
[mesa-freeworld/f41] (7 commits) ...Merge branch 'master' into f41
by Thorsten Leemhuis
Summary of changes:
41ada52... Update to 25.0.0~rc2 (*)
56c56bb... create mesa-vulkan-drivers-freeworld, conflicting with mesa (*)
3802dda... Update to 25.0.0~rc3 (*)
14de81d... disable teflon on ix86, too (*)
f4d8b41... properly escape a marcro (*)
46b5384... Update to 25.0.0 (*)
a3e1135... Merge branch 'master' into f41
(*) This commit already existed in another branch; no separate mail sent
1 week, 5 days
[mesa-freeworld/f42: 7/7] Merge branch 'master' into f42
by Thorsten Leemhuis
commit 8a67a40718d2ab3b69feff8d66fc5f8c11a3b213
Merge: 2465764 46b5384
Author: Thorsten Leemhuis <linux(a)leemhuis.info>
Date: Wed Feb 19 19:11:32 2025 +0100
Merge branch 'master' into f42
...x11-fix-use-of-uninitialised-xfixes-regio.patch | 41 +++++++
...mpute-queues-on-Raven_Raven2-due-to-hangs.patch | 37 -------
mesa-freeworld.spec | 121 +++++++++++++++++----
sources | 2 +-
4 files changed, 139 insertions(+), 62 deletions(-)
---
1 week, 5 days
[mesa-freeworld/f42] (7 commits) ...Merge branch 'master' into f42
by Thorsten Leemhuis
Summary of changes:
41ada52... Update to 25.0.0~rc2 (*)
56c56bb... create mesa-vulkan-drivers-freeworld, conflicting with mesa (*)
3802dda... Update to 25.0.0~rc3 (*)
14de81d... disable teflon on ix86, too (*)
f4d8b41... properly escape a marcro (*)
46b5384... Update to 25.0.0 (*)
8a67a40... Merge branch 'master' into f42
(*) This commit already existed in another branch; no separate mail sent
1 week, 5 days
[mesa-freeworld] Update to 25.0.0
by Thorsten Leemhuis
commit 46b5384e48a062657b23e1de9f447fb58012a9e3
Author: Thorsten Leemhuis <linux(a)leemhuis.info>
Date: Wed Feb 19 18:19:05 2025 +0100
Update to 25.0.0
add 0001-vulkan-wsi-x11-fix-use-of-uninitialised-xfixes-regio.patch
Update to 25.0.0
add 0001-vulkan-wsi-x11-fix-use-of-uninitialised-xfixes-regio.patch
Update to 25.0.0
add 0001-vulkan-wsi-x11-fix-use-of-uninitialised-xfixes-regio.patch
Update to 25.0.0
add 0001-vulkan-wsi-x11-fix-use-of-uninitialised-xfixes-regio.patch
Signed-off-by: Thorsten Leemhuis <linux(a)leemhuis.info>
...x11-fix-use-of-uninitialised-xfixes-regio.patch | 41 ++++++++++++++++++++++
mesa-freeworld.spec | 8 ++++-
sources | 2 +-
3 files changed, 49 insertions(+), 2 deletions(-)
---
diff --git a/0001-vulkan-wsi-x11-fix-use-of-uninitialised-xfixes-regio.patch b/0001-vulkan-wsi-x11-fix-use-of-uninitialised-xfixes-regio.patch
new file mode 100644
index 0000000..f1fbc59
--- /dev/null
+++ b/0001-vulkan-wsi-x11-fix-use-of-uninitialised-xfixes-regio.patch
@@ -0,0 +1,41 @@
+From a61053e91940c1cf1256763681cdc76f269e305e Mon Sep 17 00:00:00 2001
+From: Dave Airlie <airlied(a)redhat.com>
+Date: Tue, 18 Feb 2025 17:00:42 +1000
+Subject: [PATCH] vulkan/wsi/x11: fix use of uninitialised xfixes region.
+
+If you are in the sw + no mit-shm support, we don't create the xfixes region,
+so don't try and use it in the same scenario.
+
+We are seeing some gtk4 apps crash with BadRegion reports due to this.
+
+Fixes: bbdf7e45b15f ("wsi/x11: Hook up KHR_incremental_present")
+---
+ src/vulkan/wsi/wsi_common_x11.c | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/src/vulkan/wsi/wsi_common_x11.c b/src/vulkan/wsi/wsi_common_x11.c
+index 8c364cd94dd..e8ebe4fb041 100644
+--- a/src/vulkan/wsi/wsi_common_x11.c
++++ b/src/vulkan/wsi/wsi_common_x11.c
+@@ -1804,13 +1804,17 @@ x11_queue_present(struct wsi_swapchain *anv_chain,
+ {
+ struct x11_swapchain *chain = (struct x11_swapchain *)anv_chain;
+ xcb_xfixes_region_t update_area = 0;
++ bool set_damage = damage ? true : false;
+
+ /* If the swapchain is in an error state, don't go any further. */
+ VkResult status = x11_swapchain_read_status_atomic(chain);
+ if (status < 0)
+ return status;
+
+- if (damage && damage->pRectangles && damage->rectangleCount > 0 &&
++ if (chain->base.wsi->sw && !chain->has_mit_shm)
++ set_damage = false;
++
++ if (set_damage && damage->pRectangles && damage->rectangleCount > 0 &&
+ damage->rectangleCount <= MAX_DAMAGE_RECTS) {
+ xcb_rectangle_t *rects = chain->images[image_index].rects;
+
+--
+2.48.1
+
diff --git a/mesa-freeworld.spec b/mesa-freeworld.spec
index b7dc338..54ccbfe 100644
--- a/mesa-freeworld.spec
+++ b/mesa-freeworld.spec
@@ -70,7 +70,7 @@ algorithms and decoding only VC1 algorithm.
Name: %{srcname}-freeworld
Summary: Mesa graphics libraries
-%global ver 25.0.0-rc3
+%global ver 25.0.0
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
Release: 1%{?dist}
License: MIT AND BSD-3-Clause AND SGI-B-2.0
@@ -84,6 +84,8 @@ Source1: Mesa-MLAA-License-Clarification-Email.txt
Source2: org.mesa3d.vaapi.freeworld.metainfo.xml
Source3: org.mesa3d.vdpau.freeworld.metainfo.xml
+Patch20: 0001-vulkan-wsi-x11-fix-use-of-uninitialised-xfixes-regio.patch
+
BuildRequires: meson >= 1.3.0
BuildRequires: gcc
BuildRequires: gcc-c++
@@ -414,6 +416,10 @@ echo -e "%{_libdir}/dri-freeworld/ \n" > %{buildroot}%{_sysconfdir}/ld.so.conf.d
%endif
%changelog
+* Wed Feb 19 2025 Thorsten Leemhuis <fedora(a)leemhuis.info> - 25.0.0-1
+- Update to 25.0.0
+- add 0001-vulkan-wsi-x11-fix-use-of-uninitialised-xfixes-regio.patch
+
* Thu Feb 13 2025 Thorsten Leemhuis <fedora(a)leemhuis.info> - 25.0.0~rc3-1
- Update to 25.0.0~rc3
diff --git a/sources b/sources
index 6c7dfd6..67aeccd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (mesa-25.0.0-rc3.tar.xz) = 4ece5a2804c58396d7a6e09877ab52cc5086290e9e96a61a27b78706b83bd955a57097fe37c5cb5002e9522c49c2b444ea12373038fbc902a29dc52ebec6015c
+SHA512 (mesa-25.0.0.tar.xz) = 7f5b6674c40b6c8dcab7934512ff754b40a6a8a466422c90236f614d322033d4d465307ddcd983f9f3afb1310e132ec3186a085d261c95493a0c460b2ec59ce8
1 week, 5 days
[discord/el9] Update to 0.0.86
by Sérgio M. Basto
Summary of changes:
a49d783... Update to 0.0.86 (*)
(*) This commit already existed in another branch; no separate mail sent
1 week, 5 days
[discord/f40] Update to 0.0.86
by Sérgio M. Basto
Summary of changes:
a49d783... Update to 0.0.86 (*)
(*) This commit already existed in another branch; no separate mail sent
1 week, 5 days
[discord/f41] Update to 0.0.86
by Sérgio M. Basto
Summary of changes:
a49d783... Update to 0.0.86 (*)
(*) This commit already existed in another branch; no separate mail sent
1 week, 5 days
[discord/f42] Update to 0.0.86
by Sérgio M. Basto
Summary of changes:
a49d783... Update to 0.0.86 (*)
(*) This commit already existed in another branch; no separate mail sent
1 week, 5 days