Skip to content

MetalSharp Wine 10.5

Latest

Choose a tag to compare

@aaf2tbz aaf2tbz released this 26 Nov 17:55
b707a29

MetalSharp Wine 10.5 fixes the x86_64 build: games Steam starts now get the graphics lane you picked, the Metal HUD and DLSS, on Mullion, D3DMetal and VKD3D / DXVK. It also brings the FEX build's game fixes and prefix files to the x86_64 build, and every build is now checked for all of this before it ships.

x86_64 build

  • Games Steam starts get their launch environment (#131). A program started by another Windows program (every game the Steam client starts) read its .metalsharp/launch.env from a wrong path, and got none of it: no graphics lane, no Metal HUD, no NVIDIA GPU and so no DLSS. Since 9.0. Games now get all of it, and are shown an NVIDIA RTX 4080 with NVAPI, so they offer DLSS on every lane.
  • Game Settings > Advanced applies: launch.local.env is read after launch.env, as on the FEX build.
  • Proton's per-game rules for the programs Steam starts, as on the FEX build, with DXVK_ENABLE_NVAPI=1, which DXVK's DLSS needs.
  • Game fixes from the FEX build:
    • God of War Ragnarok's shader compiles no longer hang MoltenVK, and Hogwarts Legacy is shown no ray tracing, which froze it.
    • A swapchain MetalFX upscales is no longer reported as suboptimal, so VKD3D-Proton and DXVK stop recreating it every frame.
    • MetalFX games and ELDEN RING stay out of native fullscreen, and the fullscreen presentation options no longer loop when focus moves between apps.
    • Direct3D 9 describes the GPU DXGI does: it showed a GeForce GTX 470, and Counter-Strike 2 called the driver out of date.
    • Battle.net's windows are no longer black.
    • Directory changes are reported as they happen, process memory counters are real, FileAllocationInformation works, and .metalsharp/trace logs keep to their limit.
  • New prefixes get the FEX build's files: Arial, Times New Roman and Courier New as files (Liberation) for Unity games, Japanese, Chinese and Korean fonts mapped onto macOS's, and Microsoft's shader compilers.

Both builds

  • The version reads "MetalSharp Wine 10.5" (#131, #132).

Building

  • scripts/smoke-routes.sh runs at the end of both app builds (#133). For each graphics lane, a game started directly and one started by another program must get their launch environment, the Metal HUD setting, the NVIDIA GPU and NVAPI, and Mullion its log. A build that fails it stops. It fails on 10.0's x86_64 app, and passes on both 10.5 apps.
  • package-x86_64.sh ships Proton's rules, the font files and the shader compilers.

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