mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-02-04 01:30:36 +03:00
proton: Dump some default logging if PROTON_LOG is set
This commit is contained in:
parent
8dc036b298
commit
af9eb02401
@ -189,6 +189,7 @@ the Wine prefix. Removing the option will revert to the previous behavior.
|
|||||||
|
|
||||||
| Compat config string | Environment Variable | Description |
|
| Compat config string | Environment Variable | Description |
|
||||||
| :-------------------- | :----------------------------- | :----------- |
|
| :-------------------- | :----------------------------- | :----------- |
|
||||||
|
| | <tt>PROTON_LOG</tt> | Convenience method for dumping a useful debug log to `$HOME/steam-$APPID.log`. For more thorough logging, use `user_settings.py`. |
|
||||||
| <tt>wined3d11</tt> | <tt>PROTON_USE_WINED3D11</tt> | Use OpenGL-based wined3d instead of Vulkan-based DXVK for d3d11. |
|
| <tt>wined3d11</tt> | <tt>PROTON_USE_WINED3D11</tt> | Use OpenGL-based wined3d instead of Vulkan-based DXVK for d3d11. |
|
||||||
| <tt>nod3d11</tt> | <tt>PROTON_NO_D3D11</tt> | Disable <tt>d3d11.dll</tt>, for games which can fall back to and run better with d3d9. |
|
| <tt>nod3d11</tt> | <tt>PROTON_NO_D3D11</tt> | Disable <tt>d3d11.dll</tt>, for games which can fall back to and run better with d3d9. |
|
||||||
| <tt>noesync</tt> | <tt>PROTON_NO_ESYNC</tt> | Do not use eventfd-based in-process synchronization primitives. |
|
| <tt>noesync</tt> | <tt>PROTON_NO_ESYNC</tt> | Do not use eventfd-based in-process synchronization primitives. |
|
||||||
|
3
proton
3
proton
@ -131,6 +131,9 @@ with dist_lock:
|
|||||||
prefix = os.environ["STEAM_COMPAT_DATA_PATH"] + "/pfx/"
|
prefix = os.environ["STEAM_COMPAT_DATA_PATH"] + "/pfx/"
|
||||||
env["WINEPREFIX"] = prefix
|
env["WINEPREFIX"] = prefix
|
||||||
|
|
||||||
|
if "PROTON_LOG" in env:
|
||||||
|
env["WINEDEBUG"] = "+timestamp,+pid,+tid,+seh,+debugstr,+module"
|
||||||
|
|
||||||
#load environment overrides
|
#load environment overrides
|
||||||
if os.path.exists(basedir + "/user_settings.py"):
|
if os.path.exists(basedir + "/user_settings.py"):
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user