proton: Add nativevulkanloader config setting

This commit is contained in:
Andrew Eikum 2021-02-05 08:16:17 -06:00
parent a59b6905da
commit 86433ceddd
2 changed files with 4 additions and 0 deletions

View File

@ -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. |

3
proton
View File

@ -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]