Skip to content

Releases

eac-2611.1 (FEX-2611.1)

Choose a tag to compare

@StonkGuy StonkGuy released this 18 Nov 13:24

The EAC patch series rebased onto FEX-2611.1 (4f9c1f1). Branch eac-2611, one commit per patch; the commit table and patch notes are in EAC-README.md.

  • 44 patches unchanged, 7 adapted to upstream changes (0004, 0011 and 0042 textual; 0055 to upstream's larger fault record; 0056's disk-cache version on upstream version 43; 0060 and 0065 merged with upstream's partial-instruction fault decoding).
  • Left out because FEX-2611 provides them: 0059 and 0064 (upstream b65c96b, 511f583), 0061 (61523a6), 0066 and 0067 (68f4c5f, 95a305b). Their tests stay in eac-tests/.
  • Disk-cache format version: fork revision 1 on upstream version 43 (33067). Caches written by eac-2610 builds are not reused.
  • FEX-2611 itself reports more CPU features to the guest (for example BF16, AVX-NE-CONVERT, SHA512, SERIALIZE).

Verified:

  • FEX's ASM tests 7647/7647 and eac-tests 88/88 under FEX on Arm64, the same results as eac-2610 (7548/7548, 88/88); the suite natively on x86-64 as the reference.
  • InstCountCI 108/108 on an Arm64 runner, with this series' counts for POPF, POP SS and MOV from FS/GS.
  • VRChat on an M2 (macOS 27, steamac SteamOS guest, Proton Experimental 11.0-20261112, DXMT path): EAC session begins, world joined, three minutes in the world.

Build with scripts/build-fex.sh of eac-arm64-emulation-poc or fex-eac/build-fex.sh of StonkGuy/steamac once they pin this tag.

eac-2610.5

Choose a tag to compare

@StonkGuy StonkGuy released this 30 Oct 23:56
6effd23

FEX-2610 (14c9268) + EAC fidelity patches as in eac-2610.4, plus the PR below (new since eac-2610.4, b608a47).

Needed for Proton Experimental 11.0-20261027b and later: with eac-2610.4, Easy Anti-Cheat games exit within seconds on that Proton (its Wine retries EAC's native syscalls under Syscall User Dispatch, which eac-2610.4 mishandled).

New since eac-2610.4:

PR change test
#38 Signals: a seccomp / Syscall User Dispatch trap frame never resumes the abandoned syscall handler on rt_sigreturn. Proton Experimental 11.0-20261027b's Wine ("HACK: Allow native syscalls for EAC") retries EAC's raw syscalls by moving rip back onto the trapped syscall; FEX took that for an unchanged frame and resumed stale state, so EAC's bootstrapper died eac-tests/sud-native-retry

Checked: ASM 7551/7551, InstCountCI 108/108 (GitHub arm64 runner), eac-tests run-all as expected (Steam-tool build in the SteamOS guest), native x86-64 oracle for the new test.
Live on this commit's code (2026-10-31, macOS VM, SteamOS guest, Proton Experimental 11.0-20261027b): VRChat with EAC "AntiCheat Session Begin: Success" and in world (on eac-2610.4 it exited after 12 s).
DiskCache format version unchanged (0x841E): #38 does not change code generation.

eac-2610.4

Choose a tag to compare

@StonkGuy StonkGuy released this 30 Oct 02:12
b608a47

FEX-2610 (14c9268) + EAC fidelity patches as in eac-2610.3, plus the PRs below (new since eac-2610.3, 39107dd).

New since eac-2610.3:

PR change test
#27 IRETQ with RFLAGS.NT = 1 raises #GP like a real CPU (THE FINALS / ARC Raiders protection probe; lead from zzoko's CrossOver work) eac-tests/iret-nt, eac-tests/wine-ntflag
#28 DiskCache: a format version of the fork's own (0x8000 | rev << 8 | upstream), so builds never reuse another build's cached blocks InstCountCI
#29 MOV to FS/GS in 64-bit mode loads like Linux (null selectors clear the base; others #GP with the selector) eac-tests/seg-load64
#30 An instruction split across a page boundary reports its fetch fault at the boundary eac-tests/insn-straddle
#31 #GP(0) for instructions over 15 bytes and for XSETBV (THE FINALS' 20-s probe was "unexpected trap 0") eac-tests/insn-toolong
#32 Fetch fault address only at a range end within the instruction (a race with code pages decrypted on execute faults crashed Unreal) eac-tests/insn-straddle
#33 eac-tests: sigreturn-jit-regs (by yungtry) eac-tests/sigreturn-jit-regs
#34 Guest code is read fault-safely while compiling (THE FINALS in-match freeze: a decoder read-ahead fault leaked a CodeInvalidationMutex hold) eac-tests/decode-race
#36 Backport of upstream 68f4c5f: two-byte 0F B8/BC/BD decode with F2/F3/66 in any order (+ upstream test) ASM FEX_bugs/two_byte_0xbx
#37 SMC: a faulting store restarts its instruction only when it can reach the running block (Hell Let Loose EAC 210 #2; mid-instruction state reused CF / popped twice; reported with root cause in #35) eac-tests/smc-restart-state

Checked: ASM 7551/7551, InstCountCI 108/108, eac-tests run-all as expected (GitHub arm64 runner; cpuid-fault, ptrace-sigbus,
syscall-efault are runner-environment results, identical before and after), native x86-64 oracle for the new tests.
Live on this commit's code (2026-10-30, macOS VM, SteamOS guest): VRChat 2/2 runs with EAC "AntiCheat Session Begin: Success", in world 300 s each; THE FINALS boots to its menu and plays (DXMT path).
DiskCache format version 0x841E (fork revision 4, from #36; #37 does not change code generation).

eac-2610.3

Choose a tag to compare

@StonkGuy StonkGuy released this 20 Oct 00:19

FEX-2610 (14c9268) + EAC fidelity patches 0001-0020, 0022-0026, 0033, 0035 and 0036-0039, 0041-0053 (new; 0034 and 0040 are held, not in this release).

New since eac-2610.2:

patch PR change test
0036 - Seccomp: a trapped syscall never runs and its SIGSYS is forced like Linux (blocked SIGSYS no longer lets the syscall through) eac-tests/seccomp-trap-blocked
0037 - SMC: write-protect a code page before publishing its translation (second thread on the same page ran stale code) eac-tests/smc-same-page
0041 #9 Signals: restore the interrupted InSyscallInfo on every rt_sigreturn (stale RSP in the next async frame overwrote live stack; Go/.NET preemption) eac-tests/sigreturn-syscallinfo
0042 #10 Syscalls: EFAULT for bad user pointers in FEX's own handlers instead of SIGSEGV eac-tests/syscall-efault, unittests
0043 #11 SignalTrace: unlink the /dev/shm ring on exit (follow-up to 0007) eac-tests/sigtrace-unlink
0044 #12 proc: check every I/O step of the synthesized /proc//maps (follow-up to 0033) eac-tests/proc-maps
0045 #14 make translated-code pages writable before a kernel write (read/recv into code pages returned EFAULT; FEX-Emu#5874) eac-tests/smc-kernel-write, FEXLinuxTests
0046 #15 x86-64 munmap may cross 4 GiB (EOVERFLOW broke Chromium-based clients; FEX-Emu#5847) eac-tests/munmap-4g, FEXLinuxTests
0047 #17 Ptrace: hide FEX's own SIGBUS alignment stops from the tracer (EAC launcher error 210 in The Division 2; by yungtry) eac-tests/ptrace-sigbus
0038 #18 Syscalls: keep seccomp inheritance off the FEX_EXECVEFD path (#! scripts failed to exec with FEX_NEEDSSECCOMP=1) eac-tests/execve-seccomp
0039 #19 Syscalls: keep argv[0] for an FD execveat through the FEX loader (fexecve argv shifted) eac-tests/fdexec-argv
0048, 0049 #24 Seccomp: emulate Syscall User Dispatch (Wine 11 bleeding-edge traps raw Windows syscalls only through it; was passed to the host and failed with EINVAL) eac-tests/sigsys-redirect
0050 #24 FEXCore: reserved EFLAGS bit 31 no longer leaks from packed NZCV into signal frames taken outside JIT code (Wine copies it into the Windows CONTEXT) eac-tests/sigsys-redirect
0051, 0052 #23 Seccomp: only the trap's own SIGSYS (seccomp or SUD) takes the resume address; an async signal in between no longer swallows the trap eac-tests/signal-race
0053 #25 Signals: reuse the host stack of abandoned seccomp/SUD trap frames (handlers that switch context instead of returning, as Wine's NtContinue path, leaked ~2.9 KiB per trap until SIGSEGV) eac-tests/sigsys-redirect phase C

Also on the branch (no FEX code): eac-tests/insn-diff differential instruction harness (#22), eac-tests CI on GitHub runners (native x86-64 oracle + FEX on Arm64) and more robust tests (#23).

Verification (guest, Steam-mode Release build of this tag's code, a90af67): eac-tests/run-all.sh 33/33 expected (eac-2610.2-era build: 30/31, execve-seccomp now passes); sigsys-redirect 30/30 runs PASS; VRChat flat with EAC: 3 launches joined a world with EAC Session Begin (two stayed 10 min, one 2 min); one further launch hit the known intermittent world-load freeze that also occurs on the eac-2610.2-era build (not FEX-specific, tracked separately). The tag adds only the EAC-README table (#26) on top of the verified code commit a90af67.

eac-2610.2

Choose a tag to compare

@StonkGuy StonkGuy released this 11 Oct 13:07

FEX-2610 (14c9268) + EAC fidelity patches 0001-0020, 0022-0026, 0033, 0035 (new).

0035 — code pages a guest makes writable stay writable for writes from other processes (process_vm_writev, i.e. Wine's NtWriteVirtualMemory). Based on yungtry's patch 0028 (github.com/yungtry/steamac, fex-eac); consumer reported there: The Division 2's protector hooking ntdll. Limits in the commit message.

Regression (guest, Steam-mode Release build): new eac-tests/smc-remote-write FAIL on eac-2610.1, PASS here; the other 18 runs unchanged (pop-fault is the expected FAIL without withdrawn 0021). Native result for smc-remote-write derived from kernel source; native run pending.

eac-2610.1

Choose a tag to compare

@StonkGuy StonkGuy released this 11 Oct 12:57

FEX-2610 (14c9268) plus the Easy Anti-Cheat fidelity patches, one commit each: 0001–0020, 0022–0026 and 0033
(0021 is withdrawn). Commit list and policy: EAC-README.md;
per-patch write-up: eac-arm64-emulation-poc docs/patches.md.

The FEX source tree of this tag is identical to FEX-2610 with the PoC's patch series applied by git am; the only
other files are eac-tests/ and EAC-README.md.

Regression run

eac-tests/run-all.sh in the SteamOS guest (steamac, Apple M2), Steam-mode build (-DBUILD_STEAM_SUPPORT=ON, Release),
built from this tag:

test result
ptrace-inject, signal-mask, signal-regs PASS
seccomp-trap, seccomp-trap-noexec, signal-race (FEX_NEEDSSECCOMP=1) PASS
cpuid-fault, proc-status, proc-maps, ptrace-dregs, ptrace-regsets, restart-syscall PASS
signal-frame (default and FEX_HOSTFEATURES=disableavx), sigreturn-eflags, maps-probe, tf-iret PASS
pop-fault FAIL, expected (needs the withdrawn 0021)

18 runs, all as expected. Same results as the previous build of this series with 0033 (proc-maps FAIL → PASS with
0033, everything else unchanged). Live: EAC 301 and world entry in VRChat with 0033.

Known limits

See docs/patches.md (scope note and
per-patch limits) and eac-tests/README.md. The
native x86-64 reference for proc-maps is derived from the kernel source; its native run is pending.