From 538bb22be8b24ca1447ff1f7b2e4df72048e3a1e Mon Sep 17 00:00:00 2001 From: Alexandr Oleynikov <10602045+tannisroot@users.noreply.github.com> Date: Tue, 28 Jul 2020 23:58:17 +0300 Subject: [PATCH] Apply zerovram envar when DXVK option is enabled Since VKD3D option is no more and is now a part of the DXVK option, apply zerovram envar for this option now --- lutris/runners/wine.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lutris/runners/wine.py b/lutris/runners/wine.py index 277ec70bda..fe4ff3e566 100644 --- a/lutris/runners/wine.py +++ b/lutris/runners/wine.py @@ -897,10 +897,10 @@ def get_env(self, os_env=False): if not ("WINEFSYNC" in env and env["WINEFSYNC"] == "1"): env["WINEFSYNC"] = "1" if self.runner_config.get("fsync") else "0" - # On AMD mimic, the video memory management behavior of Windows DX12 + # On AMD, mimic the video memory management behavior of Windows DX12 # drivers more closely, otherwise d3d12 games will crash and have other # funky issues. - if self.runner_config.get("vkd3d") and drivers.is_amd(): + if self.runner_config.get("dxvk") and drivers.is_amd(): env["RADV_DEBUG"] = "zerovram" overrides = self.get_dll_overrides()