proton: Disable DXVK logging by default
This commit is contained in:
parent
d3a99e2db3
commit
c0f69f618c
1 changed files with 7 additions and 0 deletions
7
proton
7
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:
|
||||
|
|
Loading…
Reference in a new issue