News: 0175240663

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Running X86_64 (Linux) Game Servers on ARM With Box64 (interfacinglinux.com)

(Sunday October 13, 2024 @05:48PM (EditorDavid) from the let-the-games-begin dept.)


Though native Linux game servers have been scarce over the last two decades, "I've seen people using the Box64 emulator to play x86_64 games on ARM devices," writes Slashdot reader [1]VennStone . "It got me thinking: why not apply this to game servers...?

"I thought it would be fun to see if I could build a super low-power Trackmania 2 server using a Raspberry Pi Zero 2 W."

They dubbed the experiment "Trackberry", and [2]shared all the technical details in a blog post at Interfacing Linux (including [3]a video ). For example, they installed PyEnv so it could create a virtual environment for the PyPlanet server controller. ("That's right, your little Pi Zero 2 W is about to compile some software, slowly....")

But ultimately "it turns out that the A53 can run not only the server but also the server controller, with minimal effort. Five players push one core to around 50% load, while the others handle the database and controller."

> WHY STOP THERE? There are a gang of x86 Linux servers that could potentially run with Box64. Imagine playing Pirraria , 7 Days to Pi , Counter-Pi 2 , Pitorio , and countless others! Granted, you may need a more powerful device than a Raspberry Pi Zero 2 W. I'll leave that research up to you.

>

> My main takeaway from this experiment? Box64 is straight-up Scandinavian witchcraft and is not to be trifled with. Not even a little bit.

>

> That said, it introduces a compelling option for those of us looking to run dedicated game servers that don't require much in the way of system resources. Under load, TrackBerry averages 2.8 watts and, according to the scientific number digits below, ends up running just under $3.00 a year or $0.25 a month. I find the concept of having a stack of microSD cards, each holding a different game server, neat....

>

> You can see TrackBerry in action every Tuesday and Friday [4]on Twitch ...



[1] https://www.slashdot.org/~VennStone

[2] https://interfacinglinux.com/2024/10/04/trackberry-raspberry-pi-trackmania-server/

[3] https://www.youtube.com/watch?v=LkwN3AhSQ9s

[4] https://www.twitch.tv/linuxgamecast/schedule



Is this essentially qemu-no-kvm with JIT? (Score:2)

by gweihir ( 88907 )

I.e. much better performance but more narrow supported hardware on guest and host?

Couldn't take Minecraft to Pi... (Score:3)

by jddj ( 1085169 )

I realize TFA is about x86 on ARM, but I tried for a while to get Minecraft server (Java, if you don't know) running on a headless Pi4 8GB.

It sets up, runs fine, but playability bogged with 2 players and some common mods. Slow enough my kid and his friend pretty much abandoned their private server.

That to say, I'm jealous of anyone who can milk the resources to serve 5 at once in any game with such a low power dissipation and cost out of a Pi 0.

Yeah apples and oranges, but still...

Re: (Score:2)

by TheRealMindChild ( 743925 )

No one really runs the official minecraft.jar. They get recompiled by something like Spigot/PaperMC, which has massive performance gains, for free

"`Eddies,' said Ford, `in the space-time continuum.'
`Ah,' nodded Arthur, `is he? Is he?'"

- Arthur failing in his first lesson of galactic physics
in four years.