Skip to content

Commit bb92c34

Browse files
hakzsamMarge Bot
authored andcommitted
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>
1 parent 627d593 commit bb92c34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/util/00-radv-defaults.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ Application bugs worked around in this file:
5959
<engine engine_name_match="^UnrealEngine"> <!-- UE4/5 Vulkan RHI -->
6060
<option name="radv_flush_before_query_copy" value="true" />
6161
<option name="radv_flush_before_timestamp_write" value="true" />
62+
<option name="radv_zero_vram" value="true" />
6263
</engine>
6364

6465
<engine engine_name_match="DXVK_NvRemix">

0 commit comments

Comments
 (0)