Linux command
proton 命令
趣味
复制后可按需替换文件名、目录或参数。
常用示例
Run a Windows executable via Proton
proton run [game.exe]
Run using a specific Proton version directly
~/.steam/steam/steamapps/common/Proton\ [7.0]/proton run [game.exe]
Enable Proton log to $HOME/steam-$APPID.log
PROTON_LOG=1 proton run [game.exe]
Force OpenGL instead of Vulkan for DirectX translation
PROTON_USE_WINED3D=1 proton run [game.exe]
Disable esync and fsync (for kernels that do not support them)
PROTON_NO_ESYNC=1 PROTON_NO_FSYNC=1 proton run [game.exe]
Wait for a previous process to exit, then run
proton waitforexitandrun [game.exe]
说明
Proton is Valve's compatibility layer for running Windows games on Linux through the Steam client. It bundles a patched Wine, the DXVK Direct3D 9/10/11 → Vulkan translator, VKD3D-Proton for Direct3D 12, FAudio for XAudio2, and various runtime libraries. Steam normally invokes proton automatically via the "Steam Play" setting; direct invocation is rare and primarily useful for troubleshooting. Each game has its own Wine prefix under $STEAM_COMPAT_DATA_PATH/pfx. The proton script can be called directly with a verb such as run once the required environment variables are set.
FAQ
What is the proton command used for?
Proton is Valve's compatibility layer for running Windows games on Linux through the Steam client. It bundles a patched Wine, the DXVK Direct3D 9/10/11 → Vulkan translator, VKD3D-Proton for Direct3D 12, FAudio for XAudio2, and various runtime libraries. Steam normally invokes proton automatically via the "Steam Play" setting; direct invocation is rare and primarily useful for troubleshooting. Each game has its own Wine prefix under $STEAM_COMPAT_DATA_PATH/pfx. The proton script can be called directly with a verb such as run once the required environment variables are set.
How do I run a basic proton example?
Run `proton run [game.exe]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more proton examples?
This page includes 6 examples for proton, plus related commands for nearby Linux tasks.