Build instructions for linux (arm64)

This is a request for the dev team to post detailed build instructions for linux on arm64 for total noobs (centos or Ubuntu is fine) or to make installable packages for arm64. There is only an x86 option for linux and i cant use it. Thanks.

EDIT: to be clear, detailed build instructions for linux do not exist. I can build it on arm64 myself, but there is no documentation. I am not asking for a port to arm64 because it should build on arm without modification. It might be easier for the dev team to just build for arm64 and make those binaries available to me than it would be to document a build process for linux and thats fine too.

You’re asking for a guide to build on a instruction set (arm64) that’s not even supported by FiveM (everything uses x86_64)

Fivem should build fine for linux on arm64 without modification because the server side doesnt have any hardware specific implementation. The same exact build instructions for x86-64 should be perfectly fine for arm64. I need detailed build instructions for linux from the actual dev team or prebuilt binaries for arm from the actual dev team. Right now there are no proper build instructions for linux available at all.

And you’re not going to get this need met, since this is a non-goal for the project: we won’t offer ‘build instructions’ for architectures we don’t officially support, building from source is also not supported, the Linux build is already barely supported and we simply do not have the time or capacity to support additional architectures (which may run into dependency build issues with V8 or our Mono fork which does involve a ‘hardware specific implementation’) that are extremely niche, let alone to provide ‘detailed instructions’ which is actually more complex than doing such oneself, especially prioritizing this over any of thousands of other more important work items.

Instead of demanding things like ‘detailed instructions from the actual dev team’, how about you state the use case in the first place, or do it yourself since if you’re running into the ‘need’ to run server bits on a weird architecture you probably are experienced enough to figure this out yourself, too. ‘Total noobs’ won’t end up running Arm64, they’d just get an x86 machine.

Similarly, if you’d simply run Windows on Arm64, you would be able to run the x86-64 binaries fine near-natively as unlike Linux, Windows does bother to provide binary compatibility.

(and if truly needed, you could try setting up the server under compatibility layers like box64, FEX-Emu or Huawei ExaGear…)

See here: Setting up a Vanilla FXServer - Cfx.re Docs

That is probably the reason why no such thing exists.

1 Like

Oh ok… I think i should explain that here in nato countries we get a free oracle cloud vps with 4 high performance arm core and 24gb ram and a 2gbit internet connection so you should prioritize linux on arm (most self hosted projects are very serious about this now because of oracle cloud free tier). You might think it was niche but its not going to be niche moving forward AT ALL. Getting a vos like this that is x86 with 24gb ram and a 2gbit unlimited bandwidth connection costs thousands of dollars per year. If you are a developer you should be very excited about this and i recommend you go make an account immediately hehehe

What are you talking about? Free servers for me because i live in a NATO country???

I live in US, where is my free server? :joy:

Good day, Dead Post! Let me try to revive you.

What he is talking about is: Oracle Cloud Free Tier | Oracle

In quick words: Oracle has a Free Tier which allows you to get a 4-Core ARM64 (Ampere A1), 24 Gigabyte RAM, 200 GB SSD Storage and 4 Gbps connection VPS.
By the way: Thats not only in NATO! Thing is, availability for First World is very rushy as too many people tend to get the available machines - however, that can be contoured by upgrading the account (and not spending money) and getting priority on gathering them.

The machines are very much capable - We do have means to run docker or x86/64 emulation stack to run stuff like FiveM servers (As we have done with Project Zomboid, and many other dedicated servers for games) - however, RISC emulating CISC is always a BIG performance eater.

After some experiments with old 3rd gen CPUs up to 2020’s Xeons, I am quite sure that these free VPS could run FiveM server pretty good! Specially with the great amount of memory and multi-threading, I think it could go fine.

However, I know there are TONS of reasons why the devs won’t move an inch towards ARM64 - as I have dealt with many other devs that simply are too afraid of others having access to their source code, as they could be stolen or something, and some other which are limited by the platforms that hold their lucrative means (such as SteamCMD being a necessity to run some game’s servers, but it also is x86_64).

It is pretty simple: Developers have their own objectives which by their own are very time-consuming and effort-taking - and they simply don’t have the time or enough reasons to spend more energy and sometimes money towards other’s desires.

However, I must say that an Arm64 version of the server could be very democratic - as too many people that wish to develop and start experimenting and providing servers for FiveM (in order to have FUN! which is the main objective behind the game itself) don’t have monetary resources to pay for hosting solutions or bare-metal/hardware in order.

Therefore, having access to free solutions (with great computing power!) can also enpower these people and diversify and enlarge the FiveM community with new content - even - as maybe, some of them could be very creative and ingenious but just quite dont have the means to experiment.

Although the DEMANDING nature of this post might have delivered a negative on this matter - I would like to point out that ARM64 is not only useful for Linux environments but also Windows and even MacOS - not to mention that it can and surely would bring improvements.

TLDR: Some people are poor or don’t have access to paid hosting solutions and ARM is cheap and effective and could help more people make more capable servers and start developing their own stuff for FiveM if the devs would care.

Wish you all the best!

Devs! Please, make us Arm64 binaries for Linux! We would absolutely fucking love it!