Skip to content

MetalVulkan 7.2

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Dec 02:52
· 3 commits to main since this release
0e11232

MetalVulkan now installs into Wines other than MetalSharp's: CrossOver, Gcenx's Wine (Homebrew), Sikarugir, Whisky, or one you built. A single script puts Direct3D 12 down to 3 into a prefix or a CrossOver bottle. You don't need to change Wine, and you don't need a launcher or environment variables. Start programs the way you always do.

7.2 replaces 7.1, whose installer could stop while extracting the packages. Use 7.2.

Install

  1. Download these five packages and extract them side by side:

    • vkd3d-proton-v7.2-x86_64
    • dxvk-v7.2-x86_64
    • dxvk-v7.2-i386
    • moltenvk-v7.2-universal
    • metalvulkan-wine-v7.2

    For an arm64 bottle in CrossOver 27 Preview, take vkd3d-proton-v7.2-arm64 and dxvk-v7.2-arm64x instead of the two x86_64 packages.

  2. Run the installer:

    # CrossOver: a bottle, by name
    ./metalvulkan-wine-v7.2/install-metalvulkan.sh --bottle "My Bottle"
    
    # any other Wine: its .app (or bin/wine), and the prefix
    ./metalvulkan-wine-v7.2/install-metalvulkan.sh --wine "/Applications/Wine Devel.app" --prefix ~/my-prefix

--uninstall puts back everything the install replaced. The script is also in the repository as install/install-metalvulkan.sh; run from there, it downloads the latest release itself. docs/install.md has every option and setting.

What's new

  • MetalVulkan's Wine module. metalvulkan.dll and metalvulkan.so point the Wine's own Vulkan at MetalVulkan's MoltenVK with ray tracing on. That is what MetalSharp Wine's own Wine changes do, and it is why stock Wines now reach feature level 12_2. DXVK loads the module before Vulkan starts. MetalSharp Wine doesn't need it, and the module does nothing there.
  • CrossOver. CrossOver.app itself isn't changed. The module goes into ~/Library/Application Support/MetalVulkan, and the installer adds that folder to the bottle's DllPath.
  • CrossOver 27 Preview. The installer handles arm64 bottles, and puts the module inside the app when the Preview ignores the bottle's DllPath. It is untested in the Preview itself: see "Not yet tested" below.
  • GTA Vice City on DXVK gets past the black screen after the intro video. A SPIRV-Cross fix passes the emulated sampler reduction to shader helper functions (metalsharp/MetalSharp#866).
  • The installers extract the packages reliably (new in 7.2). macOS's tar could stop on the MoltenVK package with "Child process exited with status 1". This affected install-metalvulkan.sh, install-x86_64-wine.sh and install-arm64-wine.sh.
  • Local builds use llvm-mingw 20261020, as the release workflow does. The DXBC converter builds with a clang-format installed.

Tested

These tests used the installer only: programs were started normally, with no MetalVulkan environment variables.

Wine Direct3D 12 Direct3D 11 to ddraw
CrossOver 26.3 feature level 12_2, SM 6.8, DXR 1.1 all pass, 64- and 32-bit
Gcenx's Wine 11.23 feature level 12_2, SM 6.8, DXR 1.1 all pass, 64- and 32-bit
an arm64 Wine 11.20 (native ARM64 and x86_64 programs) feature level 12_2, SM 6.8, DXR 1.1 all pass, 64-bit

On all three, VKD3D-Proton's test suite ran 7606 checks with no failures. DXVK's D3D11 stream output test fails on all of them, as it did in 7.0.

Not yet tested

  • CrossOver 27 Preview. The arm64 support is built from what WineMetalGL's installer learned in the Preview, and was tested on an arm64 Wine with the same layout. To confirm it works there, start a game from Terminal with METALVULKAN_DEBUG=1 and look for metalvulkan: Vulkan runs on …/metalvulkan/libMoltenVK.dylib.

Known limits

  • MetalSharp Wine's other Wine changes aren't available on other Wines: the MetalFX and DLSS integration and the hardware-scheduling caps.
  • 32-bit DirectDraw on Gcenx's Wine 11.23 crashes about once in ten runs inside Wine's own wined3d. Stock Gcenx Wine does this too, without MetalVulkan.

Packages

Each package holds its files, their licenses and SHA256SUMS.

Package For Contents
metalvulkan-wine-v7.2 Wines other than MetalSharp's install-metalvulkan.sh, and the Wine module for x86_64, i386 and ARM64X
vkd3d-proton-v7.2-x86_64 x86_64 Wines (Rosetta 2) Direct3D 12 (d3d12.dll, d3d12core.dll), DXVK's dxgi.dll, d3d11.dll, d3d10core.dll, and NGX/NVAPI for DLSS on MetalFX
vkd3d-proton-v7.2-arm64 arm64 Wines the same, as ARM64X: native ARM64 programs, and x86_64 programs as ARM64EC
dxvk-v7.2-x86_64, -i386, -arm64x 64-bit, 32-bit and arm64 Wines DXVK 3.1.1: ddraw.dll (d7vk: Direct3D 7 to 3), d3d8.dll, d3d9.dll, d3d10core.dll, d3d11.dll, dxgi.dll
moltenvk-v7.2-universal all MetalSharp's MoltenVK (Vulkan 1.4, arm64 + x86_64), Apple's Metal Shader Converter, and the DXBC-to-DXIL converter

Built from 0e11232.