mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-26 05:28:15 +03:00
proton: Disable DXVK logging by default
This commit is contained in:
parent
d3a99e2db3
commit
c0f69f618c
7
proton
7
proton
@ -13,7 +13,9 @@ import tarfile
|
|||||||
|
|
||||||
from filelock import FileLock, Timeout
|
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_WINEDEBUG="+timestamp,+pid,+tid,+seh"
|
||||||
|
#WITH_DXVK_LOG_LEVEL="info"
|
||||||
|
|
||||||
CURRENT_PREFIX_VERSION="3.7-1"
|
CURRENT_PREFIX_VERSION="3.7-1"
|
||||||
|
|
||||||
@ -91,6 +93,11 @@ except (NameError, KeyError): #WITH_WINEDEBUG is unset, or SteamGameId is unset
|
|||||||
env["WINEDEBUG"] = "-all"
|
env["WINEDEBUG"] = "-all"
|
||||||
lfile = None
|
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:
|
if ld_path_var in os.environ:
|
||||||
env[ld_path_var] = lib64dir + ":" + libdir + ":" + os.environ[ld_path_var]
|
env[ld_path_var] = lib64dir + ":" + libdir + ":" + os.environ[ld_path_var]
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user