ptitSeb / box64

Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices
https://box86.org
MIT License
3.89k stars 286 forks source link

Cannot run Conty Appimage #1876

Open iHad168 opened 1 month ago

iHad168 commented 1 month ago

Steam-appimage is base on Conty project. I use box64 cannot run Steam-appimage appimage on ARM linux🤭

localhost ~ [SIGBUS]> box64 ./Steam-1.0.0.81-2-3-x86_64.AppImage
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on unknown aarch64 cpu with 9 Cores
Params database has 46 entries
Box64 with Dynarec v0.2.7 a891e1f8 built on Jan  6 2024 01:22:36
BOX64: Didn't detect 48bits of address space, considering it's 39bits
Counted 28 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/games/:/usr/local/games/:/snap/bin/:/data/data/com.termux/files/usr/bin/:/system/bin/:/system/xbin/
Looking for ./Steam-1.0.0.81-2-3-x86_64.AppImage
Rename process to "Steam-1.0.0.81-2-3-x86_64.AppImage"
Error: Unsupported Syscall 0x13h (19)

What else I need to operate?

ptitSeb commented 1 month ago

Your box64 is super old, update it.

Also, keep i mind Steam is a mixed 32bits and 64bits apps, so you will need box86 too.

iHad168 commented 1 month ago

I updated But.....

localhost ~> box64 ./Steam-1.0.0.81-2-3-x86_64.AppImage
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on unknown aarch64 cpu with 9 Cores
Will use Hardware counter measured at 24.5 MHz emulating 3.1 GHz
Params database has 90 entries
Box64 with Dynarec v0.3.1 66788af4 built on Sep 27 2024 09:08:28
BOX64: Didn't detect 48bits of address space, considering it's 39bits
Counted 28 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/games/:/usr/local/games/:/snap/bin/:/data/data/com.termux/files/usr/bin/:/system/bin/:/system/xbin/
Looking for ./Steam-1.0.0.81-2-3-x86_64.AppImage
Rename process to "Steam-1.0.0.81-2-3-x86_64.AppImage"
23597|SIGSEGV @0x3506ae84 (???(./Steam-1.0.0.81-2-3-x86_64.AppImage+0x86ae84)) (x64pc=0x44930b/"/home/steamdroidos/Steam-1.0.0.81-2-3-x86_64.AppImage + 0x4930b", rsp=0x79f75981d8, stack=0x79f6da0000:0x79f75a0000 own=(nil) fp=0x45ccea), for accessing 0x28 (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
RSP-0x20:0x0000000000000000 RSP-0x18:0x0000000000000000 RSP-0x10:0x00000000600009c0 RSP-0x08:0x00000000600009c0
RSP+0x00:0x000000000043865e RSP+0x08:0x0000000060000ca0 RSP+0x10:0x0000000000000000 RSP+0x18:0x000000000000fe3e
RAX:0x0000000000463b3b RCX:0x0000000066f67721 RDX:0x000000000000005b RBX:0x00000000600009c0
RSP:0x00000079f75981d8 RBP:0x000000000045ccea RSI:0x0000000000000000 RDI:0x000000000000000d
 R8:0x0000000000000000  R9:0x0000000000000000 R10:0x0000000000000000 R11:0x0000000036ce4a8c
R12:0x00000000600009c0 R13:0x00000000ffffffff R14:0x0000000060000100 R15:0x00000079f75983e0
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053  x64opcode=48 8B 76 28 48 89 C7 E9 (opcode=f9400261)
23586|SIGSEGV @0x3506ae84 (???(./Steam-1.0.0.81-2-3-x86_64.AppImage+0x86ae84)) (x64pc=0x44930b/"/home/steamdroidos/Steam-1.0.0.81-2-3-x86_64.AppImage + 0x4930b", rsp=0x79f7598618, stack=0x79f6da0000:0x79f75a0000 own=(nil) fp=0x79f759ebe0), for accessing 0x28 (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil)
RSP-0x20:0x0000000060000080 RSP-0x18:0x000000000000001f RSP-0x10:0x00000000000000f8 RSP-0x08:0x0000000060000080
RSP+0x00:0x000000000044f611 RSP+0x08:0x00000000004aade8 RSP+0x10:0x00000079f75987a8 RSP+0x18:0x00000079f759ebe0
RAX:0x0000000000463b65 RCX:0xfefefefeff4071ff RDX:0x0000000000000085 RBX:0x000000000045c0d9
RSP:0x00000079f7598618 RBP:0x00000079f759ebe0 RSI:0x0000000000000000 RDI:0x0000000000000002
 R8:0xfefefefefefefeff  R9:0xfefefefefefefeff R10:0x000000000000000e R11:0x00000000000001ec
R12:0x00000000004a7060 R13:0x0000000000000000 R14:0x0000000000000020 R15:0x0000000060000040
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053  x64opcode=48 8B 76 28 48 89 C7 E9 (opcode=f9400261)
fish: Job 1, 'box64 ./Steam-1.0.0.81-2-3-x86_…' terminated by signal SIGSEGV (Address boundary error)

how to use box64 and box86 on same time?

localhost ~ [SIGSEGV]> box64 box86 ./Steam-1.0.0.81-2-3-x86_64.AppImage
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 USCAT FLAGM FLAGM2 FRINT PageSize:4096 Running on unknown aarch64 cpu with 9 Cores
Will use Hardware counter measured at 24.5 MHz emulating 3.1 GHz
Params database has 90 entries
Box64 with Dynarec v0.3.1 66788af4 built on Sep 27 2024 09:08:28
BOX64: Didn't detect 48bits of address space, considering it's 39bits
Counted 28 Env var
BOX64 LIB PATH: BOX64 BIN PATH: ./:bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/games/:/usr/local/games/:/snap/bin/:/data/data/com.termux/files/usr/bin/:/system/bin/:/system/xbin/
Looking for box86
argv[1]="./Steam-1.0.0.81-2-3-x86_64.AppImage"
This is a 32bits ELF! box64 can only run 64bits ELF (/usr/local/bin/box86)!
Error: Reading elf header of /usr/local/bin/box86, Try to launch natively instead