proton: Disable DXVK logging by default

This commit is contained in:
Andrew Eikum 2018-05-11 07:14:04 -05:00
parent d3a99e2db3
commit c0f69f618c

7
proton
View file

@ -13,7 +13,9 @@ import tarfile
from filelock import FileLock, Timeout
# For performance, all logging is turned off by default. It can be enabled here.
#WITH_WINEDEBUG="+timestamp,+pid,+tid,+seh"
#WITH_DXVK_LOG_LEVEL="info"
CURRENT_PREFIX_VERSION="3.7-1"
@ -91,6 +93,11 @@ except (NameError, KeyError): #WITH_WINEDEBUG is unset, or SteamGameId is unset
env["WINEDEBUG"] = "-all"
lfile = None
try:
env["DXVK_LOG_LEVEL"] = WITH_DXVK_LOG_LEVEL
except NameError: #WITH_DXVK_LOG_LEVEL is unset
env["DXVK_LOG_LEVEL"] = "none"
if ld_path_var in os.environ:
env[ld_path_var] = lib64dir + ":" + libdir + ":" + os.environ[ld_path_var]
else: