Repository navigation
VKD3D-Proton MacOS v4.9
VKD3D-Proton macOS 4.9 is built from main (2f7120c). It brings DLSS on MetalFX and MetalFX upscaling of the swap chain to the VKD3D-Proton lane, with its own NGX core and NVAPI.
What's new
DLSS through MetalFX (Direct3D 12)
- DLSS Super Resolution runs on MetalFX's temporal scaler, and DLSS Ray Reconstruction on its denoised scaler (macOS 26 or later).
- It works for games that call NGX directly and for games that go through Streamline (The Witcher 3, God of War Ragnarök).
- The lane ships its own NGX core and NVAPI (
nvngx.dll,nvapi64.dll, ARM64X, built fromngx/). They import only Windows' DLLs and DXGI.- NVAPI reports the NVIDIA GPU that DXGI shows (its adapters, LUIDs and description), so Streamline's GPU check matches.
- Both load only in programs whose DXVK configuration shows an NVIDIA GPU (
dxgi.customVendorId = 10de).
- VKD3D-Proton's command lists record the scales through their own private interface,
ID3D12GraphicsCommandListMetalFX. - DXGI (DXVK 2.7.1) sets up DLSS for those programs: it adds the NVIDIA driver's NGXCore registry values and trusts the certificate NGX checks its core against.
MetalFX upscaling at present
- With
d3d12.metalSpatialUpscale = True(ord3d11.metalSpatialUpscale) invkd3d.conf, the swap chain keeps the back buffers' size. MoltenVK then upscales it to the display with MetalFX's spatial scaler instead of stretching it.vkd3d.confis named byVKD3D_CONFIG_FILE, otherwise it's the working directory's. - The output is the layer's size on screen, including in native macOS fullscreen at an emulated display mode.
- Wine (MetalSharp Wine 0108–0110, 0113) launches the game at the display divided by the factor. It also stops reporting these smaller swap chains as suboptimal, which had made VKD3D-Proton recreate them every frame.
MoltenVK (mvk_metalfx.h)
- MetalFX temporal and denoised scales ride on
vkCmdPipelineBarrier2(VkMetalFXScaleInfoMVK). The swap chain upscaling is requested withVkSwapchainCreateInfoKHR(VkSwapchainMetalFXSpatialCreateInfoMVK). - On 64-bit, Wine's Vulkan layer hands both structures to the driver as they are, so no new Vulkan entry points are needed.
- Support is announced in
driverInfo:metalfx, andmetalfx-denoisedon macOS 26 or later.
Use it with
- MetalSharp Wine
maincbc408d or later. It sets up DLSS games, the launch size and the lane's DLL loading. - MetalSharp with metalsharp/MetalSharp#755, which writes the MetalFX lines into
vkd3d.confanddxvk.conf.
Not yet
- DLSS Frame Generation.
- Motion vectors at the output resolution (games that render them that way get a warning).
- 32-bit programs: Wine's 32-bit Vulkan thunks drop the MetalFX structures.
- Direct3D 11 games on this lane: they launch at the MetalFX size, but the lane's DXVK 2.7.1 doesn't upscale at present. They get MetalFX on the DXVK lane (DXVK-MacOS v3.1.1-macos.2).
Packages
Built from 2f7120c. Each package holds its files, their licenses and SHA256SUMS.
- vkd3d-proton-v4.9-x86_64: VKD3D-Proton's
d3d12.dllandd3d12core.dll, with DXVK'sdxgi.dll,d3d11.dllandd3d10core.dll, for x86_64 Windows programs (x86_64-windows). Stage them together. - vkd3d-proton-v4.9-arm64: for an arm64 Wine that runs x86_64 programs with FEX (MetalSharp Wine): VKD3D-Proton's
d3d12.dllandd3d12core.dllas ARM64X (aarch64-windows, loaded by x86_64 programs as ARM64EC), with DXVK's x86_64dxgi.dll,d3d11.dllandd3d10core.dll(x86_64-windows), and the lane's own NGX core and NVAPI (nvngx.dll,nvapi64.dll, ARM64X), which run DLSS Super Resolution and Ray Reconstruction on MetalFX. - moltenvk-v4.9-universal: the universal (arm64 + x86_64), ad-hoc signed
libMoltenVK.dylibandMoltenVK_icd.jsonboth lanes run on, with Apple's Metal Shader Converter library (libmetalirconverter.dylib, unmodified, Apple-signed), which MoltenVK uses to convert DXIL compute, vertex and pixel shaders for VKD3D-Proton (METALSHARP_MSC=0turns it off). It runs MetalFX's scalers for VKD3D-Proton's and DXVK's DLSS and swap chain upscaling (mvk_metalfx.h).