Skip to content

Commit 9f580b2

Browse files
Add support for Proton logging to stdout (Open-Wine-Components#279)
1 parent 66a1088 commit 9f580b2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

umu/umu_run.py

+7
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,13 @@ def set_env(
321321
env["UMU_RUNTIME_UPDATE"] = os.environ.get("UMU_RUNTIME_UPDATE") or ""
322322
env["UMU_NO_PROTON"] = os.environ.get("UMU_NO_PROTON") or ""
323323

324+
# Proton logging (to stdout)
325+
# Check for PROTON_LOG because it redirects output to log file
326+
if os.environ.get("PROTON_LOG", "0") == "0":
327+
env["WINEDEBUG"] = os.environ.get("WINEDEBUG") or "+fixme"
328+
env["DXVK_LOG_LEVEL"] = os.environ.get("DXVK_LOG_LEVEL") or "info"
329+
env["VKD3D_DEBUG"] = os.environ.get("VKD3D_DEBUG") or "fixme"
330+
324331
return env
325332

326333

0 commit comments

Comments
 (0)