Teamspeak 3 server plus CSGO server on VIM4

Hello,
in this weekend I’ve managed and finish my own homemade teamspeak3 + cs go server on Khadas VIM4.
I’m writing here because maybe someone needs more details or will be interested for doing this solution.
I’m a little bit lazy with making documentation for all necessary steps how the job was done, but I have some key points and examples what I did:

  1. Teamspeak 3 has now official server installation for ARM architecture, I’ve downloaded 64-bit version of server and used box64 - emulator for 64-bit architecture
  2. For using existing startup script, I’ve made some modifications in original script (for launching executable binary using box64):
cat teamspeak3-server_linux_amd64/ts3server_startscript.sh |grep box64
        "/usr/local/bin/box64" "${BINARYNAME}" "${@}" "daemon=1" "pid_file=$PID_FILE"
  1. For CSGO server there was a lot more of work to do:
  2. I’ve used box86:armhf package for working with steamcmd - because it is 32-bit installator from Valve
  3. steamcmd.sh file should be modified:
cat steamcmd.sh |grep box86
  $DEBUGGER "/usr/local/bin/box86" "$STEAMEXE" "$@"

and prevent from writing, because steam installator will replace this file with old one and for my needs I have to use box86 for launching steam part:

chattr +i steamcmd.sh
  1. when the cs go part starts downloading I’ve reveived an error for not enough space on disk, and indeed:

sdcard is recommended and even mandatory for extend disk space on device for cs go server installation

  1. after csgo dedicated server installation I’ve done small change in starting script:
cat /mnt/sdcard/csgo/srcds_run |grep box86
        HL_CMD="/usr/local/bin/box86 $HL $PARAMS"
  1. general disk usage:
df -hP
Filesystem      Size  Used Avail Use% Mounted on
tmpfs           776M   18M  758M   3% /run
/dev/mmcblk0p2   29G  2.3G   26G   9% /
tmpfs           3.8G  4.0K  3.8G   1% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           3.8G     0  3.8G   0% /tmp
/dev/mmcblk0p1  217M   41M  167M  20% /boot
/dev/mmcblk1p1  234G   33G  190G  15% /mnt/sdcard
tmpfs           776M     0  776M   0% /run/user/1000
  1. Performance:
  • ts3 server seems to work pretty smooth
  • I’ve set 128 tickrate on cs go server, but when I enable bots (moving bots), there are performance issues - I expect this server will works smoothly without bots, and with max 10 players on server, but more test should be done

I hope this topic can be usefull for everyone who struglle with similar installation like mine

2 Likes

Hello @janix

Thanks for your howto here. Do you think Vulkan has performance inprovement for this?

Hey @numbqq
I’m not aware if Vulkan is necessary on server side.
I have just installed Ubuntu Server (without GUI), so susspect that Vulkan is even not touched.
Also I have few errors in general and one of them is related with SDL2 as I remember, but even with this error, server seems to work correct.

So it doesn’t use the GPU?

Yes, exactly - I think that on server side GPU is not needed anyway, because server compute only positions of players, and stuff related with this.
GPU is mandatory, when you display something on screen, but I use khadas device only as a server.
Then I connect for this server from client device (laptop for example) which must have GPU for displaying on screen.
This solution names dedicated server, which is working constantly all time and client which connect only for specific game to the server

1 Like