Module: Mesa Branch: staging/23.3 Commit: a600a58f897a362657fb8d638d0a3c53feb0b72e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a600a58f897a362657fb8d638d0a3c53feb0b72e
Author: Samuel Pitoiset <samuel.pitoi...@gmail.com> Date: Mon Nov 13 18:35:29 2023 +0100 radv: set radv_zero_vram=true for Unreal Engine 4/5 Unreal Engine seems to rely on uninitialized memory and RADV_DEBUG=zerovram fixes a bunch of issues. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9025 Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9380 Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9026 Cc: mesa-stable Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26188> (cherry picked from commit bb92c34c2859c2f5b42c9b6ba4f5603d79b72d33) --- .pick_status.json | 2 +- src/util/00-radv-defaults.conf | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pick_status.json b/.pick_status.json index 33f11b60df2..90205531e6b 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -164,7 +164,7 @@ "description": "radv: set radv_zero_vram=true for Unreal Engine 4/5", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": null, "notes": null diff --git a/src/util/00-radv-defaults.conf b/src/util/00-radv-defaults.conf index df89a791df0..5678c5e011f 100644 --- a/src/util/00-radv-defaults.conf +++ b/src/util/00-radv-defaults.conf @@ -59,6 +59,7 @@ Application bugs worked around in this file: <engine engine_name_match="^UnrealEngine"> <!-- UE4/5 Vulkan RHI --> <option name="radv_flush_before_query_copy" value="true" /> <option name="radv_flush_before_timestamp_write" value="true" /> + <option name="radv_zero_vram" value="true" /> </engine> <engine engine_name_match="DXVK_NvRemix">