Proton builds with the latest Dawn Winery fixes :xdd:
Find a file
NelloKudo 0e38200d62
All checks were successful
Release / Build x86_64 (push) Successful in 2h16m3s
Release / Release (push) Successful in 1m25s
dwproton: bump to dwproton-10.0-5
2025-10-21 16:42:21 +02:00
.github workflows: rework for dwproton builds 2025-10-21 15:59:04 +02:00
dav1d@8a6f054ef1 Update gst-plugins-rs to support dav1d 1.2.1 2023-09-27 20:14:12 +03:00
docker docker: Update to MinGW 11 and GCC 14. 2025-09-05 11:03:38 +03:00
docs docs: Change DEBUGGING.md to DEBUGGING-LINUX.md. 2025-04-24 18:05:59 +03:00
dxvk@b3da810451 dxvk: update submodule 2025-10-21 02:32:23 +03:00
dxvk-gplasync@c3dd74be6b dxvk-gplasync: add submodule 2025-10-21 00:44:13 +03:00
dxvk-nvapi@c3db6d5a37 update submodules 2025-10-16 13:31:11 +00:00
dxvk-sarek@8cb6fc125b dxvk-sarek: update submodule 2025-10-21 00:06:16 +03:00
ffmpeg@db69d06eee meson: add submodule and use it instead of sdk meson 2025-10-21 00:06:15 +03:00
fonts fonts: Include in fake Nirmala UI all the codepoints from the original font. 2023-02-14 16:07:44 +02:00
glslang@df7fec2cfa glslang: Build from source instead of prebuilt binary. 2022-10-14 18:21:56 +03:00
graphene@4e25784508 gst-base: Enable GL video processing plugins. 2022-08-15 17:47:03 +03:00
gst-orc@96dfe82ae4 meson: add submodule and use it instead of sdk meson 2025-10-21 00:06:15 +03:00
gst-plugins-rs@0205aa43d6 Update gst-plugins-rs to support dav1d 1.2.1 2023-09-27 20:14:12 +03:00
gstreamer@82cbccedf7 meson: add submodule and use it instead of sdk meson 2025-10-21 00:06:15 +03:00
icu icu: Add LICENSE. 2025-04-24 18:05:59 +03:00
kaldi@a25f216f5c build: Add and build Kaldi submodule. 2025-07-17 18:13:36 +03:00
libpcap@fec98c1307 README: add dwproton instructions 2025-10-21 15:56:37 +02:00
libxkbcommon@dd642359f8 libxkbcommon: add submodule and build it 2025-10-21 00:06:15 +03:00
locale build: include x11 locale files. 2025-10-21 00:06:16 +03:00
lsteamclient lsteamclient: Make ISteamClient::GetISteamBilling() succeed. 2025-10-15 13:31:34 -06:00
make build: add external nvcuda, nvenc, nvml, nvoptix 2025-10-21 00:06:15 +03:00
media proton: Add media files. 2024-05-23 10:54:50 +03:00
meson@53d4f7dc2d meson: add submodule and use it instead of sdk meson 2025-10-21 00:06:15 +03:00
nvidia-libs nvidia-libs: update submodules 2025-10-21 00:06:16 +03:00
openfst@18e94e6387 update openfst 2025-09-05 11:03:38 +03:00
openvr@9182530513 vrclient: Update to SDK v2.12.14. 2025-09-05 10:21:56 -06:00
OpenXR-SDK@8899a91c17 wineopenxr: Update to 1.1.36 registry version. 2024-05-23 10:54:49 +03:00
patches patches: add Spritz-Wine patches 2025-10-21 16:07:23 +02:00
piper@9d06b74959 build: Add and build piper submodule. 2025-04-24 17:58:12 +03:00
protonfixes@596f977d78 protonfixes: update submodule 2025-10-21 01:40:26 +03:00
SPIRV-Headers@6cae8216a6 SPIRV-Headers: New submodule. 2021-11-11 18:36:07 +02:00
steam_helper steam_helper: Increment index in setup_steam_files(). 2025-09-02 14:59:11 -06:00
symstore Don't ship proton dist files in a tarball anymore 2024-02-15 15:53:29 +02:00
vkd3d@86b8f2de35 update submodules 2025-10-16 13:31:11 +00:00
vkd3d-proton@80bcfa4f5d vkd3d-proton: update submodule 2025-10-21 02:32:30 +03:00
vosk-api@12f29a3415 build: Add and build Vosk submodule. 2025-07-17 18:13:36 +03:00
vrclient_x64 vrclient_x64: fix hwnd redefinition 2025-10-21 00:06:15 +03:00
Vulkan-Headers@31aa7f634b Vulkan-Headers: Update to v1.3.278. 2024-11-21 17:31:33 +02:00
wine@2084cc372e wine: update submodule (cachyos-10.0-20251017-proton-slr) 2025-10-21 02:33:53 +03:00
wineopenxr wineopenxr: Only drain d3d12 queue in xrReleaseSwapchainImage(). 2025-09-24 21:24:41 -06:00
.gitattributes gitattributes: Tell Github Linguist to ignore .sc files 2020-06-05 08:58:23 -05:00
.gitignore Makefile: Remove Vagrant build path 2022-01-19 11:29:54 +02:00
.gitmodules Merge branch 'cachyos_10.0_20251017/_sauce' into cachyos_10.0_20251017/main 2025-10-21 02:33:17 +03:00
compatibilitytool.vdf.template compatibilitytool.vdf: Make sure internal tool name includes 'proton'. 2025-04-24 17:58:12 +03:00
configure.sh build: add configure option to disable text-to-speech libraries 2025-10-21 00:06:15 +03:00
default_pfx.py build: update makefile for more configurability and higher cpu instruction sets 2025-10-21 00:06:14 +03:00
dist.LICENSE Makefile.in: Build dav1d gst plugin 2022-01-24 22:53:20 +02:00
filelock.py update filelock.py 2019-10-18 09:52:24 -05:00
LICENSE LICENSE: Fix a typo. 2023-02-14 16:07:44 +02:00
LICENSE.proton Update copyright dates 2022-01-19 11:39:44 +02:00
Makefile Makefile: Fix paths used for the module target. 2025-10-03 12:14:02 +03:00
Makefile.in Makefile.in: use dwruntime instead of steamrt 2025-10-21 16:00:16 +02:00
proton dwproton: bump to dwproton-10.0-5 2025-10-21 16:42:21 +02:00
proton_3.7_tracked_files proton: Track prefix files and remove them on a major proton version change 2018-10-12 08:30:19 -05:00
README.md README: add missing feature 2025-10-21 16:42:11 +02:00
steampipe_fixups.py Handle steampipe quirks in deploy builds 2024-02-15 15:53:29 +02:00
toolmanifest_runtime.vdf build: Switch over to sniper-based SDK container. 2023-02-14 16:07:44 +02:00
user_settings.sample.py user_settings.sample.py: Change media converter GST debug channel name. 2024-05-23 10:54:50 +03:00
utilities.py utilities: set shader cache size for Mesa to 10GB 2025-10-21 00:06:16 +03:00
xalia-fixups.gudl xalia-fixups: Remove work-around for winforms accessibility crashes. 2025-09-03 20:53:33 +00:00

dwproton

Dawn Winery's custom Proton fork with fixes for slop games :xdd:

Features:

  • Based on Proton-CachyOS
  • Includes latest fixes for games by the Dawn Winery team :pog:
  • Many QoL additions, including dxvk-gplasync
  • Includes fixes for high CPU usage in HoYo games
  • Breaks Marvel Rivals 🚀
image

New environmental variables

  • PROTON_DXVK_GPLASYNC=1: enables dvxk-gplasync
  • PROTON_NO_NTSYNC=1: disables NTsync, fallbacks to fsync
  • WINE_USE_TAKE_FOCUS=1: enables a fix for games dropping inputs after alt-tab
  • WINE_DISABLE_DISCONNECT=1: disable the disconnecting trick enabled by default for certain games
  • WINE_ENABLE_DISCONNECT=1: enable the disconnecting trick for any game
  • WINE_CANONICAL_HOLE="skip_volatile_check": boosts performance up to 200%

Recommended to use UMU_USE_STEAM=1 when launching GI outside of Steam.

Building locally

To build your own dwproton (make sure you have Docker setup):

git clone --recurse-submodules https://github.com/dawn-winery/dwproton.git
cd dwproton
./patches/apply.sh
mkdir build && cd build
../configure.sh --build-name=dwproton-local --container-engine=docker --enable-ccache
make -j$(nproc) redist

You can also add your own patches by just editing apply.sh and following its structure.

Introduction

Proton is a tool for use with the Steam client which allows games which are exclusive to Windows to run on the Linux operating system. It uses Wine to facilitate this.

Most users should use Proton provided by the Steam Client itself. See this Steam Community post for more details.

The source code is provided to enable advanced users the ability to alter Proton. For example, some users may wish to use a different version of Wine with a particular title.

The changelog is available on our wiki.

Obtaining Proton sources

Acquire Proton's source by cloning https://github.com/ValveSoftware/Proton and checking out the branch you desire.

You can clone the latest Proton to your system with this command:

git clone --recurse-submodules https://github.com/ValveSoftware/Proton.git proton

Be sure to update submodules when switching between branches:

git checkout experimental_6.3
git submodule update --init --recursive

If you want to change any subcomponent, now is the time to do so. For example, if you wish to make changes to Wine, you would apply them to the wine/ directory.

Building Proton

Most of Proton builds inside the Proton SDK container with very few dependencies on the host side.

Preparing the build environment

You need either a Docker or a Podman setup. We highly recommend the rootless Podman setup. Please refer to your distribution's documentation for setup instructions (e.g. Arch Podman / Docker, Debian Podman / Docker).

The Easy Way

We provide a top-level Makefile which will execute most of the build commands for you.

After checking out the repository and updating its submodules, assuming that you have a working Docker or Podman setup, you can build and install Proton with a simple:

make install

If your build system is missing dependencies, it will fail quickly with a clear error message.

After the build finishes, you may need to restart the Steam client to see the new Proton tool. The tool's name in the Steam client will be based on the currently checked out branch of Proton. You can override this name using the build_name variable.

See make help for other build targets and options.

Manual building

Configuring the build

mkdir ../build && cd ../build
../proton/configure.sh --enable-ccache --build-name=my_build

Running configure.sh will create a Makefile allowing you to build Proton. The scripts checks if containers are functional and prompt you if any host-side dependencies are missing. You should run the command from a directory created specifically for your build.

The configuration script tries to discover a working Docker or Podman setup to use, but you can force a compatible engine with --container-engine=<executable_name>.

You can enable ccache with --enable-cache flag. This will mount your $CCACHE_DIR or $HOME/.ccache inside the container.

--proton-sdk-image=registry.gitlab.steamos.cloud/proton/soldier/sdk:<version> can be used to build with a custom version of the Proton SDK images.

Check --help for other configuration options.

NOTE: If SELinux is in use, the Proton build container may fail to access your user's files. This is caused by SELinux's filesystem labels. You may pass the --relabel-volumes switch to configure to cause the container engine to relabel its bind-mounts and allow access to those files from within the container. This can be dangerous when used with system directories. Proceed with caution and refer your container engine's manual.

Building

make

Important make targets:

make install - install Proton into your user's Steam directory, see the install Proton locally section for details.

make redist - create a redistribute build (redist/) that can be copied to ~/.steam/root/compatibilitytools.d/.

make deploy - create a deployment build (deploy/). This is what we use to deploy Proton to Steam users via Steamworks.

make module=<module> module - build both 32- and 64-bit versions of the specified wine module. This allows rapid iteration on one module. This target is only useful after building Proton.

make dxvk / make vkd3d-proton - rebuild DXVK / vkd3d-proton.

Figuring Out What Failed To Build

Proton build system invokes builds of many subprojects in parallel. If one subprojects fails there can be thousands of lines printed by other sub-builds before the top level exits. This can make the real reason of the build failing hard to find.

Appending 2>&1 | tee build.log will log the full build output to a build.log file. Searching that file from the bottom up for occurrences of Error should point to the right area. E.g.:

make 2>&1 | tee build.log
grep -n '] Error [0-9]' build.log
11220:make: *** [../Makefile.in:465: /builds/proton/proton/build-dir/.kaldi-i386-configure] Error 1
12427:make: *** [../Makefile.in:1323: deploy] Error 2

Debug Builds

To prevent symbol stripping add UNSTRIPPED_BUILD=1 to the make invocation. This should be used only with a clean build directory.

E.g.:

mkdir ../debug-proton-build && cd ../debug-proton-build
../proton/configure.sh --enable-ccache --build-name=debug_build
make UNSTRIPPED_BUILD=1 install

Install Proton locally

Steam ships with several versions of Proton, which games will use by default or that you can select in Steam Settings' Steam Play page. Steam also supports running games with local builds of Proton, which you can install on your machine.

To install a local build of Proton into Steam, make a new directory in ~/.steam/root/compatibilitytools.d/ with a tool name of your choosing and place the directory containing your redistributable build under that path.

The make install target will perform this task for you, installing the Proton build into the Steam folder for the current user. You will have to restart the Steam client for it to pick up on a new tool.

A correct local tool installation should look similar to this:

compatibilitytools.d/my_proton/
├── compatibilitytool.vdf
├── filelock.py
├── LICENSE
├── proton
├── proton_dist.tar
├── toolmanifest.vdf
├── user_settings.sample.py
└── version

To enable your local build in Steam, go to the Steam Play section of the Settings window. If the build was correctly installed, you should see "proton-localbuild" in the drop-down list of compatibility tools.

Each component of this software is used under the terms of their licenses. See the LICENSE files here, as well as the LICENSE, COPYING, etc files in each submodule and directory for details. If you distribute a built version of Proton to other users, you must adhere to the terms of these licenses.

Debugging

Proton builds have their symbols stripped by default. You can switch to "debug" beta branch in Steam (search for Proton in your library, Properties... -> BETAS -> select "debug") or build without stripping (see Debug Builds section).

The symbols are provided through the accompanying .debug files which may need to be explicitly loaded by the debugging tools. For GDB there's a helper script wine/tools/gdbinit.py (source it) that provides load-symbol-files (or lsf for short) command which loads the symbols for all the mapped files.

For tips on debugging see docs/DEBUGGING-LINUX.md and docs/DEBUGGING-WINDOWS.md.

compile_commands.json

For use with clangd LSP server and similar tooling.

Projects built using cmake or meson (e.g. vkd3d-proton) automatically come with compile_commands.json. For autotools (e.g. wine) you have to configure the build with --enable-bear that uses bear to create the compilation database. It's not on by default as it make the build slightly slower.

The build system collects all the created compile_commands.json files in a build subdirectory named compile_commands/.

The paths are translated to point to the real source (i.e. not the rsynced copy). It still may depend on build directory for things like auto-generated config.h though and for wine it may be beneficial to run tools/make_requests in you source directories as those changes are not committed.

You can then configure your editor to use that file for clangd in a few ways:

  1. directly - some editors/plugins allow you to specify the path to compile_commands.json
  2. via .clangd file, e.g.
cd src/proton/wine/
cat > .clangd <<EOF
CompileFlags:
  CompilationDatabase: ../build/current-dev/compile_commands/wine64/
EOF
  1. by symlinking:
ln -s ../build/current-dev/compile_commands/wine64/compile_commands.json .

Runtime Config Options

Proton can be tuned at runtime to help certain games run. The Steam client sets some options for known games using the STEAM_COMPAT_CONFIG variable. You can override these options using the environment variables described below.

The best way to set these environment overrides for all games is by renaming user_settings.sample.py to user_settings.py and modifying it appropriately. This file is located in the Proton installation directory in your Steam library (often ~/.steam/steam/steamapps/common/Proton #.#).

If you want to change the runtime configuration for a specific game, you can use the Set Launch Options setting in the game's Properties dialog in the Steam client. Set the variable, followed by %command%. For example, input "PROTON_USE_WINED3D=1 %command%" to use the OpenGL-based wined3d renderer instead of the Vulkan-based DXVK renderer.

To enable an option, set the variable to a non-0 value. To disable an option, set the variable to 0. To use Steam's default configuration, do not specify the variable at all.

All of the below are runtime options. They do not effect permanent changes to the Wine prefix. Removing the option will revert to the previous behavior.

Compat config string Environment Variable Description
PROTON_LOG Convenience method for dumping a useful debug log to $PROTON_LOG_DIR/steam-$APPID.log. Set to 1 to enable default logging, or set to a string to be appended to the default WINEDEBUG channels.
PROTON_LOG_DIR Output log files into the directory specified. Defaults to your home directory.
PROTON_WAIT_ATTACH Wait for a debugger to attach to steam.exe before launching the game process. To attach to the game process at startup, debuggers should be set to follow child processes.
PROTON_CRASH_REPORT_DIR Write crash logs into this directory. Does not clean up old logs, so may eat all your disk space eventually.
wined3d PROTON_USE_WINED3D Use OpenGL-based wined3d instead of Vulkan-based DXVK for d3d11, d3d10, and d3d9.
nod3d11 PROTON_NO_D3D11 Disable d3d11.dll, for d3d11 games which can fall back to and run better with d3d9.
nod3d10 PROTON_NO_D3D10 Disable d3d10.dll and dxgi.dll, for d3d10 games which can fall back to and run better with d3d9.
dxvkd3d8 PROTON_DXVK_D3D8 Use DXVK's d3d8.dll.
noesync PROTON_NO_ESYNC Do not use eventfd-based in-process synchronization primitives.
nofsync PROTON_NO_FSYNC Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no FUTEX_WAIT_MULTIPLE support.)
noxim PROTON_NO_XIM Enabled by default. Do not attempt to use XIM (X Input Methods) support. XIM support is known to cause crashes with libx11 older than version 1.7.
disablenvapi PROTON_DISABLE_NVAPI Disable NVIDIA's NVAPI GPU support library.
nativevulkanloader Use the Vulkan loader shipped with the game instead of Proton's built-in Vulkan loader. This breaks VR support, but is required by a few games.
forcelgadd PROTON_FORCE_LARGE_ADDRESS_AWARE Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default.
heapdelayfree PROTON_HEAP_DELAY_FREE Delay freeing some memory, to work around application use-after-free bugs.
gamedrive PROTON_SET_GAME_DRIVE Create an S: drive which points to the Steam Library which contains the game.
noforcelgadd Disable forcelgadd. If both this and forcelgadd are set, enabled wins.
oldglstr PROTON_OLD_GL_STRING Set some driver overrides to limit the length of the GL extension string, for old games that crash on very long extension strings.
vkd3dfl12 Force the Direct3D 12 feature level to 12, regardless of driver support.
vkd3dbindlesstb Put force_bindless_texel_buffer into VKD3D_CONFIG.
nomfdxgiman WINE_DO_NOT_CREATE_DXGI_DEVICE_MANAGER Enable hack to work around video issues in some games due to incomplete IMFDXGIDeviceManager support.
noopwr WINE_DISABLE_VULKAN_OPWR Enable hack to disable Vulkan other process window rendering which sometimes causes issues on Wayland due to blit being one frame behind.
hidenvgpu PROTON_HIDE_NVIDIA_GPU Force Nvidia GPUs to always be reported as AMD GPUs. Some games require this if they depend on Windows-only Nvidia driver functionality. See also DXVK's nvapiHack config, which only affects reporting from Direct3D.
WINE_FULLSCREEN_INTEGER_SCALING Enable integer scaling mode, to give sharp pixels when upscaling.
cmdlineappend: Append the string after the colon as an argument to the game command. May be specified more than once. Escape commas and backslashes with a backslash.
xalia or noxalia PROTON_USE_XALIA Enable Xalia, a program that can add a gamepad UI for some keyboard/mouse interfaces, or set to 0 to disable. The default is to enable it dynamically based on window contents.
fnad3d11 FNA3D_FORCE_DRIVER=D3D11 Force FNA to use D3D11 for rendering.
seccomp PROTON_USE_SECCOMP Note: Obsoleted in Proton 5.13. In older versions, enable seccomp-bpf filter to emulate native syscalls, required for some DRM protections to work.
d9vk PROTON_USE_D9VK Note: Obsoleted in Proton 5.0. In older versions, use Vulkan-based DXVK instead of OpenGL-based wined3d for d3d9.