#7 x86 emulation on ARM
Opened 3 years ago by ngompa. Modified 11 months ago

People will generally expect that ARM Macs running Fedora can be just as capable as Intel Macs running Fedora. And that means being able to run x86 software transparently just like macOS can.

There are a few alternatives for this:

Let's see if we can bring these in and provide a "blessed" option that works out of the box.


Metadata Update from @ngompa:
- Issue tagged with: Development

3 years ago

So ideally we have all three installable and quickly hotswappable via binfmt_misc.
And actually box86 does not run on the M1 because it translates x86 to armv7 which the M1 does not run, so as far as fedora-asahi goes you should look into box64 only.

For the same reason i suggest FEX as the default/preinstalled, as it translates both x86 and x86_64 to aarch64 and thus can run more software than box64.

Took a quick look at this. FEX has a bunch of bundled dependencies that will need to be sorted out before it can be packaged. box64 is easier, but it includes a number of prebuilt binaries of unclear origin. I put up my spec for it at https://dcavalca.fedorapeople.org/review/box64/box64.spec but it can't really be submitted for review until that's sorted out.

Took a quick look at this. FEX has a bunch of bundled dependencies that will need to be sorted out before it can be packaged. box64 is easier, but it includes a number of prebuilt binaries of unclear origin. I put up my spec for it at https://dcavalca.fedorapeople.org/review/box64/box64.spec but it can't really be submitted for review until that's sorted out.

FYI: The ExcludeArch line should be:

ExcludeArch:    %{ix86} %{arm32} s390x

FEX WIP: https://copr.fedorainfracloud.org/coprs/dcavalca/fex-emu/

This does build, but it's not useful for Asahi in its current state as it doesn't support 16k pages. It also needs some fairly significant cleanup before it can be submitted for review.

box64 is now in Fedora, so now we just have to figure out FEX.

Log in to comment on this ticket.

Metadata
Boards 1
Development Status: Backlog