box86 icon indicating copy to clipboard operation
box86 copied to clipboard

box86 for AArch64 without AArch32 support?

Open defrag257 opened this issue 4 years ago • 10 comments

Apple Sillicon M1 and some ARMv9-A cores (including Cortex-X2 and Cortex-A510, not including Cortex-A710) have removed AArch32 support. So would you write a box86 for these platforms?

defrag257 avatar Dec 23 '21 09:12 defrag257

box86 will not work on Arrch64 only platform. It's a design restriction. It could, maybe, work with a Aarch32 emulator for Aarch64, but there is no opensource solution for this, to my knowledge.

I have in mind "box32" to address the "run x86 apps on 64bits platforms", but I haven't started it yet, it's still in design phase, and might or might not be written, as I'm still evaluating the technical solutions to create that product.

ptitSeb avatar Dec 23 '21 09:12 ptitSeb

Couldn't qemu user mode runs aarch32 on aarch64?

asdfugil avatar Mar 22 '22 03:03 asdfugil

FEX-Emu should do that. Just doesn't work on Android it seems.

Trass3r avatar Mar 29 '22 08:03 Trass3r

Yes it does, and qemu-user too: https://box86.org/2022/03/box86-box64-vs-qemu-vs-fex-vs-rosetta2/

ptitSeb avatar Mar 29 '22 08:03 ptitSeb

I have started "box32", but it's a slow dev., so there will be no public release for a long time

ptitSeb avatar Oct 12 '22 17:10 ptitSeb

I have started "box32", but it's a slow dev., so there will be no public release for a long time

Does this also mean that you won't make the code public until it's done? Because I'd surely be curious to look at what you came up with already :relaxed:

DarkShadow44 avatar Nov 30 '22 01:11 DarkShadow44

I have started "box32", but it's a slow dev., so there will be no public release for a long time

Does this also mean that you won't make the code public until it's done? Because I'd surely be curious to look at what you came up with already ☺️

Yep. I prefer to not go public until it's actualy usable.

ptitSeb avatar Nov 30 '22 07:11 ptitSeb

does it mean rosetta 2 is doing that "box32" work? (as it is able to run steam games)

emonget avatar Dec 14 '22 16:12 emonget

Yes and no.

Rosetta2 support 32bits code, but 32bits libs support has been removed from macOS a log time ago. No 32bits program can be run from steam macOS on the M1.

ptitSeb avatar Dec 14 '22 17:12 ptitSeb

hmm I see. Wonder why steam is not providing a 64 bits version only (then we could run it using box64 and also avoid enabling multiarch packages on linux to run it). And for supporting older games using 32bits, provide something like an 32bit addon..

emonget avatar Dec 14 '22 17:12 emonget