From 235a203f8acf07701aa3652fb68cd71cde813a6f Mon Sep 17 00:00:00 2001 From: Krzysztof Bogacki Date: Sun, 7 Jan 2024 13:52:55 +0100 Subject: [PATCH] proton: Enable dxvk-nvapi logging when PROTON_LOG is used. --- proton | 1 + user_settings.sample.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/proton b/proton index b77db957..2223f7fa 100755 --- a/proton +++ b/proton @@ -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") diff --git a/user_settings.sample.py b/user_settings.sample.py index e780de9a..14aa0c46 100755 --- a/user_settings.sample.py +++ b/user_settings.sample.py @@ -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",