Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ValveSoftware/Proton.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Eikum <aeikum@codeweavers.com>2021-02-05 17:16:17 +0300
committerAndrew Eikum <aeikum@codeweavers.com>2021-02-05 17:16:50 +0300
commit86433ceddd11f830fd539cacee5a986c9197ed86 (patch)
treef05d23f339047a49648c077716d58d493660d18c
parenta59b6905da8ba3e9d28880a147c52243d375d837 (diff)
proton: Add nativevulkanloader config setting
-rw-r--r--README.md1
-rwxr-xr-xproton3
2 files changed, 4 insertions, 0 deletions
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.
| <tt>nod3d10</tt> | <tt>PROTON_NO_D3D10</tt> | Disable <tt>d3d10.dll</tt> and <tt>dxgi.dll</tt>, for d3d10 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>nofsync</tt> | <tt>PROTON_NO_FSYNC</tt> | Do not use futex-based in-process synchronization primitives. (Automatically disabled on systems with no `FUTEX_WAIT_MULTIPLE` support.) |
+| <tt>nativevulkanloader</tt> | | 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. |
| <tt>forcelgadd</tt> | <tt>PROTON_FORCE_LARGE_ADDRESS_AWARE</tt> | Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. Enabled by default. |
| <tt>gamedrive</tt> | <tt>PROTON_SET_GAME_DRIVE</tt> | Create an S: drive which points to the Steam Library which contains the game. |
| <tt>noforcelgadd</tt> | | 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]