Skip to content

MetalSharp Wine 11.0

Latest

Choose a tag to compare

@aaf2tbz aaf2tbz released this 28 Nov 04:32

MetalSharp Wine 11.0 gets Overwatch and Age of Empires II: Definitive Edition running on the FEX build, and Phantom Blade Zero on both builds. Games no longer freeze when they start a program. DLSS Frame Generation stops flickering and ghosting, and can be turned on in Black Myth: Wukong. Low memory addressing is now fixed, which should fix prefix failures or failed application starts.

Both builds

  • Mullion e2c7adc1:
    • DLSS Frame Generation without flicker or ghosting. Generated frames keep what a game draws over the scene after its frame without UI, such as the blurred, darkened background of Unreal's menus, so Phantom Blade Zero's menus no longer flicker. MetalFX reads depth and motion where their content is (dynamic resolution renders into a corner of the texture), and gets the camera, so moving things no longer ghost.
    • The FEX and x86_64 builds can share a game's shader cache.
  • No more whole-game freezes when a game starts a program (#141, #142). Wine started each program with two forks, and on macOS a fork stops every thread that allocates memory until it has copied the whole process's address-space map. Black Myth: Wukong froze for about 14 s each time. Programs now start with posix_spawn.
  • DLSS Frame Generation in Black Myth: Wukong (#141, #142). New and updated prefixes have hardware-accelerated GPU scheduling on (HwSchMode = 2), without which Wukong greys Frame Generation out. A value already set in a prefix is kept.
  • The version reads "MetalSharp Wine 11.0" (#149, #150).
  • Updated Msync to the latest Usync from WineForge.

FEX build

  • Phantom Blade Zero starts (#135, #137):
    • its low allocations fit on 8 GB Macs;
    • an executable without relocations always maps at its base (Black Myth: Wukong's c0000018, #136);
    • Denuvo's self-rewriting code works with FEX's write protection;
    • V8's protection check passes.
  • Overwatch starts (#147). FEX deadlocked on its own code-invalidation lock at startup, and a guest call through a null pointer faulted with FEX's registers instead of the game's.
  • Two crashes while Overwatch loads into a match are fixed (#146, #147). They're not confirmed in a match yet.
    • A relocated DLL's header kept its preferred base, which Overwatch computes addresses from.
    • The parity flag was lost across exception handlers, so the decrypt-on-execute protection branched the wrong way.
  • Age of Empires II: Definitive Edition starts and plays (#152, #7). It froze on its splash screen, or crashed soon after. A thread starting or exiting while FEX dropped compiled code sent FEX into freed memory. Must set OPENGL_BACKEND=wine to launch it.
  • JIT compiles are faster (#145). Overwatch's startup code compiles in about 12 s instead of 14.
  • Fixed failed low memory reservation on MacOS: Should fix a bug where M1 / M2 MacBooks would fail to start a low reserved application due to the missing region entitlement.

x86_64 build

  • Phantom Blade Zero starts (#138). Rosetta has no debug registers, so Wine now keeps them per thread and emulates execute breakpoints. The V8 fix applies to every image.

docs/CHANGES.md has the details. The apps are built from main at v11.0, notarized, and signed with Developer ID.