Skip to content

Commit

Permalink
Apply zerovram envar when DXVK option is enabled
Browse files Browse the repository at this point in the history
Since VKD3D option is no more and is now a part of the DXVK option, apply zerovram envar for this option now
  • Loading branch information
tannisroot authored Jul 28, 2020
1 parent 454d7e6 commit 538bb22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lutris/runners/wine.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 538bb22

Please sign in to comment.