Write-up · Tested June–November 2026
Windows games on Apple Silicon
How I ran DirectX 11 Windows games on a fanless MacBook Air M4 (10-core GPU, 16 GB, 1080p) with Heroic and Wine: which Wine build pairs with which graphics layer, how each mismatch fails, and how to keep a fanless Mac cool.
The stack
| Piece | What it does |
|---|---|
| Heroic Games Launcher | Front end: launches the .exe with per-game Wine settings |
| Wine runners (Heroic’s Wine Manager, or Gcenx’s macOS Wine builds) | Run the Windows executable |
| DXVK, DXMT, Game Porting Toolkit (D3DMetal) | Translate Direct3D to Metal |
| Wine prefixes | One fake Windows install per game or runner |
| MacStereoFix | Fixes quiet dialogue in 5.1 games |
Choosing a runner and renderer: the rules
- Default to Wine-CrossOver 23.7.1 with DXVK. DXVK goes D3D11 → Vulkan → MoltenVK → Metal.
- DXVK needs a runner that ships MoltenVK. Never pair DXVK with GPTK: GPTK has no Vulkan, so the game fails with “Adapter is not a DXVK adapter”. With GPTK, turn DXVK off and use its built-in D3DMetal.
- Flicker on foliage or shadows that no in-game setting fixes comes from the double translation itself. Switch to DXMT, which goes D3D11 → Metal directly.
- A game that queries the AMD display library and aborts (unimplemented function atiadlxx.dll): set WINEDLLOVERRIDES=atiadlxx=;atiadlxy= to disable those DLLs. Common in Ubisoft games.
- A mainline Wine build (devel or staging) needs its own fresh prefix; a CrossOver-made prefix aborts on ntdll.__wine_unix_call. Copy DXVK’s d3d11.dll, dxgi.dll and d3d10core.dll into its system32.
- Old mainline builds (11.0 and earlier) crash with “mmap() Cannot allocate memory” under Rosetta. 11.10 fixed this.
- WhiskyWine 7.7 and Wine-Devel 11.10 need esync only (msync off). CrossOver 23.7.1 is fine with both.
- ROSETTA_ADVERTISE_AVX=1 helps some x86 games run; it is a compatibility switch, not a speed boost.
- On a fanless Mac, cap the frame rate below what the machine can sustain (with DXVK, DXVK_FRAME_RATE between 30 and 48). Uncapped, frame rates swing as the chip throttles after 15–20 minutes.
- Shader injectors (ReShade, SweetFX, 3Dmigoto) fail on Wine with dxvk-macOS 1.10.3. Config edits, texture packs, dxvk.conf and settings-patching ASI mods do work.
- Games whose builds include EasyAntiCheat do not run on macOS Wine: EAC’s Wine support exists only for Linux and Proton.
Recipe: building a DXMT runner for Heroic
Heroic 2.22 downloads DXMT but never pairs it with a Wine build. Copy a Wine-Staging runner, overwrite d3d10core, d3d11, dxgi and winemetal DLLs (x86_64 and i386) and winemetal.so with DXMT’s, and append -DXMT to the version strings in the copy’s Info.plist. Point the game at that runner with DXVK auto-install off.
Then delete DXVK’s d3d11.dll, dxgi.dll and d3d10core.dll from the prefix’s system32 and syswow64. Otherwise the native,builtin override order loads DXVK and DXMT never runs.
W=~/Library/Application\ Support/heroic/tools/wine
cp -R "$W/Wine-Staging-macOS-latest" "$W/Wine-Staging-macOS-latest-DXMT"
# overwrite in the copy's Contents/Resources/wine/lib/wine/ with dxmt-v0.80-builtin:
# {x86_64,i386}-windows/{d3d10core,d3d11,dxgi,winemetal}.dll and x86_64-unix/winemetal.soRecipe: testing a runner without Heroic
This reproduces Heroic’s launch environment, which is the fastest way to test a new runner or prefix. A growing <Game>.dxvk-cache file next to the exe means the game is actually rendering.
WINEPREFIX=~/Games/Heroic/Prefixes/<prefix> WINEESYNC=1 WINEMSYNC=0 \
WINEDLLOVERRIDES="atiadlxx=;atiadlxy=;d3d11=n,b;dxgi=n,b" \
"<runner>/bin/wine" "<game>/bin/Game.exe"What ran, and how
| Game | Runner and renderer | Result |
|---|---|---|
| Assassin’s Creed IV Black Flag | CrossOver 23.7.1 + DXVK, later DXMT at a flat 30 fps | Played, modded |
| Mafia: Definitive Edition | CrossOver 23.7.1 + DXVK, launched outside Heroic | Played |
| Far Cry 4 | Wine-Staging + DXMT (fixed the flicker) | Played |
| The Witcher 3 (next-gen, DX12) | GPTK 3.0 (D3DMetal) + a FidelityFX proxy DLL | Locked 30 fps on High with SSR off |
Per-game fixes worth knowing
- Heroic’s virtual desktop can hang some games at swapchain creation (0% CPU). Mafia only starts when launched directly with a script.
- Far Cry 4: TXAA → SMAA fixed only the foliage flicker; DXMT fixed shadows and trees. MouseWarpOverride=force keeps the camera from stopping at the screen edge.
- Far Cry 4 on an external monitor whose EDID says “TV”: set SafeFrameAreaWidth and SafeFrameAreaHeight to 1 in GamerProfile.xml to remove the overscan crop.
- AC IV rewrites its graphics config on exit; lock it with chmod 444 after editing.
- The Witcher 3 DX12: GPTK 4.0 beta 3 fails with “dxgi.dll failed to initialize” on current Wine hosts; GPTK 3.0 works. HairWorks crashes D3DMetal, so keep it off.
Keeping a fanless Mac smooth and cool
- Sustained power on an M4 Air is roughly 8–9 W, so the levers are a more efficient renderer, a frame cap the chip holds when hot, and render resolution.
- Cap through DXMT with DXMT_CONFIG="d3d11.preferredMaxFrameRate=30;". The cap must divide the refresh rate, so 30 or 60 on a 60 Hz panel; Metal paces the frames evenly.
- For heavier scenes, DXMT_METALFX_SPATIAL_SWAPCHAIN=1 with the game at half resolution lets MetalFX upscale it.
- Newer Gcenx Wine builds (11.10, 11.21) no longer export macdrv_functions, which DXMT needs. Check a build with nm -g …/winemac.so | grep macdrv_functions before pairing.
- Keep macOS High Resolution (Retina) mode off in Wine: it renders four times the pixels.
- The Witcher 3 measured on full High outdoors: 35–36 ms per frame, 27–28 fps with the GPU at 98%. High with screen-space reflections off: 25–28 ms, a locked 30 fps.
Next
Available for freelance projects · open to the right remote role