feat: Update Mesa to 25.3.3 (#9330) (#9335)

* feat: Update Mesa to 25.3.3



* chore: Update wine-wayland.patch



* chore: Remove unneeded patch



* Delete anda/lib/mesa/mesa-38987.patch



---------


(cherry picked from commit f864147622)

Signed-off-by: Kyle Gospodnetich <me@kylegospodneti.ch>
Co-authored-by: Kyle Gospodnetich <me@kylegospodneti.ch>
This commit is contained in:
Raboneko
2026-01-19 16:33:56 -08:00
committed by GitHub
parent 476493f93b
commit ddbc8812b7
3 changed files with 7 additions and 47 deletions
-37
View File
@@ -1,37 +0,0 @@
From 3dbbff571f31899e47ec4a002f3ecbe96cc48981 Mon Sep 17 00:00:00 2001
From: Yuxuan Shui <yshui@codeweavers.com>
Date: Wed, 17 Dec 2025 08:14:24 +0000
Subject: [PATCH] wsi/display: Set atomic client cap in AcquireDrmDisplayEXT as
well.
Previously we only added the atomic client cap to the drmFd passed to
GetDrmDisplayEXT (through wsi_display_get_connector). But the drmFd
passed to AcquireDrmDisplayEXT might be different. And that drmFd is
what mesa will use for later operations.
For example, SteamVR uses a non-master drm fd for GetDrmDisplayEXT, then
later uses a different, leased drm fd for AcquireDrmDisplayEXT. This
breaks things like drmModeObjectGetProperties because all atomic
properties will be missing.
Fixes: 513ffea1d366 ("wsi/display: use atomic mode setting")
Signed-off-by: Yuxuan Shui <yshui@codeweavers.com>
---
src/vulkan/wsi/wsi_common_display.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/vulkan/wsi/wsi_common_display.c b/src/vulkan/wsi/wsi_common_display.c
index 4c9451a6d000f..8b004563ff44e 100644
--- a/src/vulkan/wsi/wsi_common_display.c
+++ b/src/vulkan/wsi/wsi_common_display.c
@@ -4074,6 +4074,7 @@ wsi_AcquireDrmDisplayEXT(VkPhysicalDevice physicalDevice,
drmModeFreeConnector(drm_connector);
+ drmSetClientCap(drmFd, DRM_CLIENT_CAP_ATOMIC, 1);
wsi->fd = drmFd;
return VK_SUCCESS;
}
--
GitLab
+1 -4
View File
@@ -82,7 +82,7 @@
Name: %{srcname}
Summary: Mesa graphics libraries
%global ver 25.3.1
%global ver 25.3.3
Epoch: 1
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
Release: 2
@@ -116,9 +116,6 @@ Source15: https://crates.io/api/v1/crates/rustc-hash/%{rustc_hash_ver}/dow
# Teflon: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38532
Patch12: mesa-38532.patch
# SteamVR: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38987
Patch20: mesa-38987.patch
# Add required patches for Wine Wayland (From Proton-GE Release Notes)
Patch21: wine-wayland.patch
+6 -6
View File
@@ -1,5 +1,5 @@
diff --git a/src/amd/vulkan/radv_instance.c b/src/amd/vulkan/radv_instance.c
index c43b8f9a00c..fb0db9769e6 100644
index 5cbfc6f344a..622406fee25 100644
--- a/src/amd/vulkan/radv_instance.c
+++ b/src/amd/vulkan/radv_instance.c
@@ -154,7 +154,7 @@ static const struct debug_control trace_options[] = {
@@ -38,7 +38,7 @@ index 05ffad6424d..e32862161de 100644
DRI_CONF_VK_X11_ENSURE_MIN_IMAGE_COUNT(false)
DRI_CONF_VK_XWAYLAND_WAIT_READY(false)
diff --git a/src/intel/vulkan/anv_instance.c b/src/intel/vulkan/anv_instance.c
index a6f2c5985c0..b509fa21404 100644
index 7967313f1f5..96cc0b5707e 100644
--- a/src/intel/vulkan/anv_instance.c
+++ b/src/intel/vulkan/anv_instance.c
@@ -10,7 +10,7 @@
@@ -90,10 +90,10 @@ index bb425414bb1..39f137d5ab3 100644
DRI_CONF_VK_X11_ENSURE_MIN_IMAGE_COUNT(false)
DRI_CONF_VK_XWAYLAND_WAIT_READY(false)
diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index 926db52670e..78c6934b829 100644
index 1dc9d17af82..ce4d7d3399d 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -645,24 +645,24 @@ TODO: document the other workarounds.
@@ -649,24 +649,24 @@ TODO: document the other workarounds.
<application name="gfxbench" executable="testfw_app">
<option name="mesa_glthread_app_profile" value="0" />
@@ -122,7 +122,7 @@ index 926db52670e..78c6934b829 100644
<option name="vk_x11_strict_image_count" value="true" />
</application>
@@ -723,10 +723,12 @@ TODO: document the other workarounds.
@@ -727,10 +727,12 @@ TODO: document the other workarounds.
<application name="Path of Exile" executable="PathOfExile_x64Steam.exe">
<option name="vk_zero_vram" value="true" />
@@ -136,7 +136,7 @@ index 926db52670e..78c6934b829 100644
<application name="X4 Foundations" executable="X4">
diff --git a/src/util/driconf.h b/src/util/driconf.h
index ab9aca4cb07..d6dd50f7539 100644
index 8399c21e383..2d8fbcbd81f 100644
--- a/src/util/driconf.h
+++ b/src/util/driconf.h
@@ -456,8 +456,8 @@