Skip to content

Commit 5d3d462

Browse files
committed
proton: Default to DXVK for d3d9.
1 parent bca0a72 commit 5d3d462

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,14 +267,14 @@ the Wine prefix. Removing the option will revert to the previous behavior.
267267
| | <tt>PROTON_LOG</tt> | Convenience method for dumping a useful debug log to `$HOME/steam-$APPID.log`. For more thorough logging, use `user_settings.py`. |
268268
| | <tt>PROTON_DUMP_DEBUG_COMMANDS</tt> | When running a game, Proton will write some useful debug scripts for that game into `$PROTON_DEBUG_DIR/proton_$USER/`. |
269269
| | <tt>PROTON_DEBUG_DIR</tt> | Root directory for the Proton debug scripts, `/tmp` by default. |
270-
| <tt>wined3d</tt> | <tt>PROTON_USE_WINED3D</tt> | Use OpenGL-based wined3d instead of Vulkan-based DXVK for d3d11 and d3d10. This used to be called `PROTON_USE_WINED3D11`, which is now an alias for this same option. |
271-
| <tt>d9vk</tt> | <tt>PROTON_USE_D9VK</tt> | Use Vulkan-based d9vk instead of OpenGL-based wined3d for d3d9. |
270+
| <tt>wined3d</tt> | <tt>PROTON_USE_WINED3D</tt> | Use OpenGL-based wined3d instead of Vulkan-based DXVK for d3d11, d3d10, and d3d9. |
272271
| <tt>nod3d11</tt> | <tt>PROTON_NO_D3D11</tt> | Disable <tt>d3d11.dll</tt>, for d3d11 games which can fall back to and run better with d3d9. |
273272
| <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. |
274273
| <tt>noesync</tt> | <tt>PROTON_NO_ESYNC</tt> | Do not use eventfd-based in-process synchronization primitives. |
275274
| <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.) |
276275
| <tt>forcelgadd</tt> | <tt>PROTON_FORCE_LARGE_ADDRESS_AWARE</tt> | Force Wine to enable the LARGE_ADDRESS_AWARE flag for all executables. |
277276
| <tt>oldglstr</tt> | <tt>PROTON_OLD_GL_STRING</tt> | Set some driver overrides to limit the length of the GL extension string, for old games that crash on very long extension strings. |
278277
| | <tt>WINE_FULLSCREEN_INTEGER_SCALING</tt> | Enable integer scaling mode, to give sharp pixels when upscaling. |
278+
| <tt>d9vk</tt> | <tt>PROTON_USE_D9VK</tt> | **Note: Obsoleted in Proton 5.0.** In older versions, use Vulkan-based DXVK instead of OpenGL-based wined3d for d3d9. |
279279

280280
<!-- Target: GitHub Flavor Markdown. To test locally: pandoc -f markdown_github -t html README.md -->

proton

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -343,12 +343,8 @@ class CompatData:
343343
dxvkfiles = ["dxvk_config"]
344344
wined3dfiles = ["d3d11", "d3d10", "d3d10core", "d3d10_1", "d3d9"]
345345
else:
346-
dxvkfiles = ["dxvk_config", "d3d11", "d3d10", "d3d10core", "d3d10_1"]
346+
dxvkfiles = ["dxvk_config", "d3d11", "d3d10", "d3d10core", "d3d10_1", "d3d9"]
347347
wined3dfiles = []
348-
if "d9vk" in g_session.compat_config:
349-
dxvkfiles.append("d3d9")
350-
else:
351-
wined3dfiles.append("d3d9")
352348

353349
#if the user asked for dxvk's dxgi (dxgi=n), then copy it into place
354350
if "WINEDLLOVERRIDES" in os.environ and "dxgi=n" in os.environ["WINEDLLOVERRIDES"]:
@@ -451,7 +447,6 @@ class Session:
451447

452448
if not self.check_environment("PROTON_USE_WINED3D", "wined3d"):
453449
self.check_environment("PROTON_USE_WINED3D11", "wined3d")
454-
self.check_environment("PROTON_USE_D9VK", "d9vk")
455450
self.check_environment("PROTON_NO_D3D11", "nod3d11")
456451
self.check_environment("PROTON_NO_D3D10", "nod3d10")
457452
self.check_environment("PROTON_NO_ESYNC", "noesync")

user_settings.sample.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,9 @@
2121
#Enable DXVK's HUD
2222
# "DXVK_HUD": "devinfo,fps",
2323

24-
#Use OpenGL-based wined3d for d3d11 and d3d10 instead of Vulkan-based DXVK
24+
#Use OpenGL-based wined3d for d3d11, d3d10, and d3d9 instead of Vulkan-based DXVK
2525
# "PROTON_USE_WINED3D": "1",
2626

27-
#Use Vulkan-based D9VK instead of OpenGL-based wined3d for d3d9.
28-
# "PROTON_USE_D9VK": "1",
29-
3027
#Disable d3d11 entirely
3128
# "PROTON_NO_D3D11": "1",
3229

0 commit comments

Comments
 (0)