ptitSeb / box64

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

Error on Fivem Server #324

Open SuryaRajgor opened 2 years ago

SuryaRajgor commented 2 years ago

Fivem Artifacts : https://runtime.fivem.net/artifacts/fivem/build_proot_linux/master/5562-25984c7003de26d4a222e897a782bb1f22bebedd/fx.tar.xz

Console :

Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:4096 Box64 with Dynarec v0.1.9 6392550 built on Jun 11 2022 19:30:12 Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/ Using default BOX64_PATH: ./:bin/ Counted 25 Env var Looking for /root/fivem/alpine/opt/cfx-server/ld-musl-x86_64.so.1 argv[1]="--library-path" argv[2]="/root/fivem/alpine/usr/lib/v8/:/root/fivem/alpine/lib/:/root/fivem/alpine/usr/lib/" argv[3]="--" argv[4]="/root/fivem/alpine/opt/cfx-server/FXServer" argv[5]="+set" argv[6]="citizen_dir" argv[7]="/root/fivem/alpine/opt/cfx-server/citizen/" 2157|SIGSEGV @0x6494cc10 (???(/usr/local/bin/box64+0x6494cc10)) (x64pc=0xffff99d61d8b//root/fivem/alpine/opt/cfx-server/ld-musl-x86_64.so.1:"???", rsp=0xffff99c87288, stack=0xffff99488000:0xffff99c88000 own=(nil) fp=(nil)), for accessing 0x13cc8 (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil) Segmentation fault (core dumped)

MatStef132 commented 2 years ago

Same issues here, any updates on that?

MatStef132 commented 2 years ago

screen.log My logs here

ptitSeb commented 2 years ago

Ok, so I have to check, but I see this

Rename process to "ld-musl-x86_64.so.1"

This will not work with box64. Box will not emulate ld-musl or ld-linux. I'll check to add a workaround to avoid trying to emulate this.

SuryaRajgor commented 2 years ago

https://pastebin.com/6za3VPKZ

QuintenQVD0 commented 2 years ago

I have the same error with all builds: https://pastebin.com/dViANHit I used the debian repo to install box64

ptitSeb commented 2 years ago

I have added some musl support in box64, so the shell script can be used. Still musl support on box64 is very limited, so I don't expect things to run correctly for now.

QuintenQVD0 commented 2 years ago

I have added some musl support in box64, so the shell script can be used. Still musl support on box64 is very limited, so I don't expect things to run correctly for now.

Atleast thx for the effort. but It currently still does not start. So we will wait for some more updates!

ptitSeb commented 2 years ago

What is the expected output from that server launch?

QuintenQVD0 commented 2 years ago

What is the expected output from that server launch?

IT should start with: afbeelding

MatStef132 commented 2 years ago

These are the logs for fivem (fxserver). Yeah, it still doesn't start screen.log

QuintenQVD0 commented 2 years ago

@ptitSeb Do you still have any intrest of supporting / getting this game to run?

ptitSeb commented 2 years ago

I'm interested in running everything, but I don't have much time for now. And the musl use is a complicated issue.

LV-Soft commented 2 years ago

You can use Box64 and Wine with Windows artifacts, I have not tested the performance, since a few months ago got banned from cfx.

Screenshot_5

QuintenQVD0 commented 2 years ago

You can use Box64 and Wine with Windows artifacts, I have not tested the performance, since a few months ago got banned from cfx.

Screenshot_5

Can you please explain how you installed wine and what your startup cmd is? Can here or on discord Quinten#6775

LV-Soft commented 2 years ago

Yes, no problem... now I'm going to sleep a little. tomorrow I'll write you a text on discord detailing what I did, it's not complicated but I really messed up with this (not really with fxserver but with running a vrising server in arm64, but it worked for this).

QuintenQVD0 commented 2 years ago

Yes, no problem... now I'm going to sleep a little. tomorrow I'll write you a text on discord detailing what I did, it's not complicated but I really messed up with this (not really with fxserver but with running a vrising server in arm64, but it worked for this).

Thank you, have a good night.