Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RaspberryPi4 Server

#1
Hello all.
I have a Raspberry Pi 4 with 8GB RAM, and wish to host a xonotic server on it.
Has anyone had experience with this sort of setup and has any pointers?
Would it be possible to begin with?
Cheers!
Reply

#2
I've recently tested the (then) current dev version on my 4GB Pi4. The client runs way below 30FPS if at all, but the server runs pretty smoothly. I tested it with 8 Bots and it used about 30% CPU.
You need to compile the engine yourself, but that shouldn't be a problem. For the gamedata you can simply copy the pk3s from the release or autobuild zips.
The biggest problem will probably your internet connection. It might not be able to handle many players or cause a lot of jitter.
Reply

#3
I am currently creating a docker image for arm64.

It is less than 300 MB big.
Visit our clan website: http://extreme.voltage.nz/
Reply

#4
(08-10-2020, 10:59 PM)ablyveiled Wrote: Hello all.
I have a Raspberry Pi 4 with 8GB RAM, and wish to host a xonotic server on it.
Has anyone had experience with this sort of setup and has any pointers?
Would it be possible to begin with?
Cheers!

I just used box86 (https://github.com/ptitSeb/box86/blob/ma...COMPILE.md) and overclocked it (https://www.tomshardware.com/how-to/over...spberry-pi) It works, albeit, a bit on the laggy side of things.
I think I'm going to try that docker image...
Please help finish the Tutorial Map here:
https://gitlab.com/xonotic/xonotic-maps....quests/125
Reply

#5
To anyone who wants to try their luck, it is very easy with docker:

Code:
export XONOTIC_DIR_ON_HOST=/srv/xonotic

docker run --name xonotic-server -p 26000-26010:26000-26010 -p 26000-26010:26000-26010/udp --cap-add=sys_nice -v ${XONOTIC_DIR_ON_HOST}:/root/.xonotic ballerburg9005/xonotic-server-arm64

Now you can put map pk3 files in /srv/xonotic/data/ or edit the server.cfg file. Go to your internet router, find your box and open ports 26000-26010 TCP and UDP. You will then see your server in the official server list with the "hostname" you provided in the server.cfg file.

But beware: My Cortex-A55 box can only handle 4 players until it maxes out the CPU. It will also suffer from brief CPU spikes every few minutes, so that the game stutters for all players for a split second. It will consume 10-20% CPU idle. But it will not get very hot. On the map Xoylent there is a custom weapon as easter egg (Tuba). This will crash the server for unknown reasons.

I would say the Pi4 could be viable for duel servers, if it can handle the occasional CPU spikes. It would be nice if someone could actually try it.
Visit our clan website: http://extreme.voltage.nz/
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  @Melon Planet server kicks ballerburg9005 2 182 03-18-2023, 03:51 PM
Last Post: ballerburg9005
  Server not visible on the server browser for others or me DankoLord 1 1,236 02-21-2023, 08:02 PM
Last Post: ballerburg9005
  Xonotic server monitoring Sl@va 6 4,403 09-16-2022, 04:46 AM
Last Post: Sl@va
  Docker Xonotic Dedicated Server ich777 18 8,194 08-15-2022, 12:44 AM
Last Post: FAF
  Unjust ban on the only active DM server, what can be done? nj 30 7,282 08-02-2022, 07:04 AM
Last Post: nj
  BaI server | South American Xonotic server (located in Chile) z411 0 1,293 01-02-2022, 11:36 PM
Last Post: z411
  Lost server key, can't hold new key FlufyBuny 0 1,819 09-09-2021, 07:05 PM
Last Post: FlufyBuny
  How to tweak teams on my server? AndK 3 2,593 09-07-2021, 02:55 PM
Last Post: AndK
  Full server tutorial start-2-finish with maps & config from live server xonotic.us.to ballerburg9005 0 3,439 09-03-2021, 10:21 AM
Last Post: ballerburg9005
  Noob needs help running server. CORDUROY 3 2,061 07-01-2021, 02:31 PM
Last Post: CORDUROY

Forum Jump:


Users browsing this thread:
3 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-