From c0f69f618cc4d2441d19bb426abff689492ebf8f Mon Sep 17 00:00:00 2001 From: Andrew Eikum Date: Fri, 11 May 2018 07:14:04 -0500 Subject: [PATCH] proton: Disable DXVK logging by default --- proton | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/proton b/proton index 656cda68..07f30f55 100755 --- a/proton +++ b/proton @@ -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: