proton: Enable dxvk-nvapi logging when PROTON_LOG is used.

This commit is contained in:
Krzysztof Bogacki 2024-01-07 13:52:55 +01:00 committed by Arkadiusz Hiler
parent dfd3b65de6
commit 235a203f8a
2 changed files with 4 additions and 0 deletions

1
proton
View File

@ -1309,6 +1309,7 @@ class Session:
if "PROTON_LOG" in self.env and nonzero(self.env["PROTON_LOG"]):
self.env.setdefault("WINEDEBUG", "+timestamp,+pid,+tid,+seh,+unwind,+threadname,+debugstr,+loaddll,+mscoree")
self.env.setdefault("DXVK_LOG_LEVEL", "info")
self.env.setdefault("DXVK_NVAPI_LOG_LEVEL", "info")
self.env.setdefault("VKD3D_DEBUG", "warn")
self.env.setdefault("VKD3D_SHADER_DEBUG", "fixme")
self.env.setdefault("WINE_MONO_TRACE", "E:System.NotImplementedException")

View File

@ -15,6 +15,9 @@ user_settings = {
#DXVK debug logging
"DXVK_LOG_LEVEL": "info",
#DXVK-NVAPI debug logging
"DXVK_NVAPI_LOG_LEVEL": "info",
#vkd3d debug logging
"VKD3D_DEBUG": "warn",