From 86433ceddd11f830fd539cacee5a986c9197ed86 Mon Sep 17 00:00:00 2001 From: Andrew Eikum Date: Fri, 5 Feb 2021 08:16:17 -0600 Subject: [PATCH] proton: Add nativevulkanloader config setting --- README.md | 1 + proton | 3 +++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 8cf52c42..57ad59e3 100644 --- a/README.md +++ b/README.md @@ -274,6 +274,7 @@ the Wine prefix. Removing the option will revert to the previous behavior. | nod3d10 | PROTON_NO_D3D10 | Disable d3d10.dll and dxgi.dll, for d3d10 games which can fall back to and run better with d3d9. | | 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.) | +| 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. | | 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. | diff --git a/proton b/proton index 2745753f..db60a04d 100755 --- a/proton +++ b/proton @@ -792,6 +792,9 @@ class Session: self.dlloverrides["d3d10"] = "" self.dlloverrides["dxgi"] = "" + if "nativevulkanloader" in self.compat_config: + self.dlloverrides["vulkan-1"] = "n" + s = "" for dll in self.dlloverrides: setting = self.dlloverrides[dll]