Module: Mesa Branch: main Commit: bb92c34c2859c2f5b42c9b6ba4f5603d79b72d33 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bb92c34c2859c2f5b42c9b6ba4f5603d79b72d33
Author: Samuel Pitoiset <[email protected]> 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 <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26188> --- src/util/00-radv-defaults.conf | 1 + 1 file changed, 1 insertion(+) 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">
