Commit Graph
6 Commits
Author SHA1 Message Date
The412Banner 8f3d8d0afa FEX build: the x86 sysroot for the guest thunks' toolchains
The guest halves linked without it on the arm64 builder (no crtbeginS.o,
no libgcc).
2026-10-02 18:36:41 -04:00
The412Banner 4ee3463c20 FEX build: create the x86 sysroot's package cache 2026-10-02 18:31:41 -04:00
The412Banner 5530d8aa70 FEX build: optional host thunks
FEX_THUNKS=1 (build-fex.yml 'thunks' input) builds FEX's host thunks: the
arm64 half against the runtime's graphics dev packages, the x86 and i686
guest halves with clang against a sysroot of Arch Linux x86_64 and
multilib packages unpacked by pacman (not run). With them an x86 program's
Vulkan, GL, X11, Wayland and DRM calls reach the runtime's own libraries -
Turnip and Mesa on the GPU - instead of llvmpipe.
2026-10-02 18:30:29 -04:00
The412Banner b3c54e6cda FEX build: optional diagnostic CXXFLAGS
A workflow_dispatch input passes extra CXXFLAGS (e.g. -DDEBUG_STRACE for a
syscall trace) into the build; such builds stay artifacts and are never
published under a release tag.
2026-10-02 15:08:49 -04:00
The412Banner 42aa7692dc FEX: fall back to openat inside the rootfs when openat2 is missing
Our proot answers openat2 with ENOSYS. FEX opened every rootfs path with
openat2(RESOLVE_IN_ROOT) and only fell back on EXDEV, so in a session
every x86 file lookup missed the rootfs and hit the arm64 guest: bash
under FEX could not find libtinfo. GetEmulatedFDPath already follows
absolute symlinks inside the rootfs, so a plain openat relative to the
rootfs fd is the same lookup. The rootfs also gets an empty
ld.so.preload, so the guest's arm64 preloads are not tried.
2026-10-02 14:38:37 -04:00
The412Banner 61ea96a9e8 Build FEX for the runtime
The x86-64 Steam client experiment needs FEX inside the guest, and neither
Arch Linux ARM nor FEX publishes a Linux arm64 binary. Built in the same
Arch Linux ARM container as gamescope, without thunks, tuned for generic
armv8-a, with the runtime's own unsquashfs alongside to unpack FEX's x86
rootfs image.
2026-10-02 13:51:26 -04:00