FEX-Emu / FEX

A fast usermode x86 and x86-64 emulator for Arm64 Linux
https://fex-emu.com
MIT License
2.36k stars 123 forks source link

Unsupported system page size segfault #3496

Closed Heinrich-XIAO closed 8 months ago

Heinrich-XIAO commented 8 months ago

The Bug When I run the FEXBash command at all, it just outputs this \: Unsupported system page size \: Unsupported system page size zsh: segmentation fault (core dumped) FEXBash

What machine I'm on OS: Fedora Linux Asahi Remix 39 (Thirty Nine) aarch64 Host: Apple MacBook Air (M1, 2020) Kernel: 6.6.3-413.asahi.fc39.aarch64+16k

Sonicadvance1 commented 8 months ago

This is because FEX only supports 4kb page size systems. Fedora Asahi Remix uses a 16kb page size kernel. FEX isn't going to support 4kb page size emulation, see more at https://github.com/FEX-Emu/FEX/issues/1921

To get FEX running on Asahi and 16kb page size systems you will need to use their forthcoming microVM solution. Which you can see more about here https://sinrega.org/2023-10-06-using-microvms-for-gaming-on-fedora-asahi/

Spidy123222 commented 8 months ago

This is because FEX only supports 4kb page size systems. Fedora Asahi Remix uses a 16kb page size kernel. FEX isn't going to support 4kb page size emulation, see more at #1921

To get FEX running on Asahi and 16kb page size systems you will need to use their forthcoming microVM solution. Which you can see more about here https://sinrega.org/2023-10-06-using-microvms-for-gaming-on-fedora-asahi/

The microvm setup won’t work at the current asahi Linux version. The developer of the microvm won’t allow people to use it until it’s upstream in asahi Linux. https://fosstodon.org/@slp/111941799627294252

So it’s just the waiting game which could take a while possibly, not sure.