box64 icon indicating copy to clipboard operation
box64 copied to clipboard

7 Days 2 Die dedicated server not working

Open sMouaad opened this issue 1 year ago • 4 comments

Hi! Upon trying to start a 7d2d server, I got libs error, tried tweaking the conf file and added MESA_GL_VERSION_OVERRIDE=3.2 which did not change a thing (working on an OCI instance).

here is the output of the terminal when attempting to start the server, it freezes after this so i'd have to CTRL-C it.

Thank you a lot for your time & your efforts spent on this project!

Using config file: serverconfig.xml [UnityMemory] Configuration Parameters - Can be set up in boot.config "memorysetup-bucket-allocator-granularity=16" "memorysetup-bucket-allocator-bucket-count=8" "memorysetup-bucket-allocator-block-size=4194304" "memorysetup-bucket-allocator-block-count=1" "memorysetup-main-allocator-block-size=16777216" "memorysetup-thread-allocator-block-size=16777216" "memorysetup-gfx-main-allocator-block-size=16777216" "memorysetup-gfx-thread-allocator-block-size=16777216" "memorysetup-cache-allocator-block-size=4194304" "memorysetup-typetree-allocator-block-size=2097152" "memorysetup-profiler-bucket-allocator-granularity=16" "memorysetup-profiler-bucket-allocator-bucket-count=8" "memorysetup-profiler-bucket-allocator-block-size=4194304" "memorysetup-profiler-bucket-allocator-block-count=1" "memorysetup-profiler-allocator-block-size=16777216" "memorysetup-profiler-editor-allocator-block-size=1048576" "memorysetup-temp-allocator-size-main=4194304" "memorysetup-job-temp-allocator-block-size=2097152" "memorysetup-job-temp-allocator-block-size-background=1048576" "memorysetup-job-temp-allocator-reduction-small-platforms=262144" "memorysetup-temp-allocator-size-background-worker=32768" "memorysetup-temp-allocator-size-job-worker=262144" "memorysetup-temp-allocator-size-preload-manager=262144" "memorysetup-temp-allocator-size-nav-mesh-worker=65536" "memorysetup-temp-allocator-size-audio-worker=65536" "memorysetup-temp-allocator-size-cloud-worker=32768" "memorysetup-temp-allocator-size-gfx=262144" Error initializing native libXcursor.so.1 (last dlerror is libXcursor.so.1: cannot open shared object file: No such file or directory) Error initializing native libXinerama.so.1 (last dlerror is libXinerama.so.1: cannot open shared object file: No such file or directory) Error initializing native libXi.so.6 (last dlerror is libXi.so.6: cannot open shared object file: No such file or directory) Error initializing native libXrandr.so.2 (last dlerror is libXrandr.so.2: cannot open shared object file: No such file or directory) Error initializing native libXss.so.1 (last dlerror is libXss.so.1: cannot open shared object file: No such file or directory) Error initializing native libXxf86vm.so.1 (last dlerror is libXxf86vm.so.1: cannot open shared object file: No such file or directory) Error initializing native libwayland-client.so.0 (last dlerror is libwayland-client.so.0: cannot open shared object file: No such file or directory) Error initializing native libwayland-egl.so.1 (last dlerror is libwayland-egl.so.1: cannot open shared object file: No such file or directory) Error initializing native libwayland-cursor.so.0 (last dlerror is libwayland-cursor.so.0: cannot open shared object file: No such file or directory) Error initializing native libxkbcommon.so.0 (last dlerror is libxkbcommon.so.0: cannot open shared object file: No such file or directory)

sMouaad avatar Feb 10 '24 16:02 sMouaad

You seems to be missing all X11 libs... Install those libs, in the aarch64 arch (so like sudo apt install libx11-6 if you are on debian/ubuntu/armbian type of distro)

If you are on a headless server, look on the net to install some fake/fb only x11 server. This is not a box64 issue here (at least not yet).

ptitSeb avatar Feb 10 '24 17:02 ptitSeb

Hey, thank you for your answer.

Apparently, from what I've read on the net Missing the X11 library is no big, X11 is a window system on Linux and since this is a headless server there's no desktop (most of the symbol errors involve things with X's that mean they are X window related). Should be fine for the dedicated server build.

I've tried nonetheless, and upon executing sudo apt install libx11-6 command, turns out it was already installed.

It's still the same thing and it freezes with the same output!

Update : I've set up an x11 server, ssh'd into the cloud with -X, no longer getting libs error, but it still freezes after loading the libs:

ubuntu@greatest:~/7daysded$ ./startserver.sh -configfile=serverconfig.xml Using config file: serverconfig.xml Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 PageSize:4096 Running on Neoverse-N1 with 4 Cores Params database has 38 entries Box64 with Dynarec v0.2.6 e42001b2 built on Jan 26 2024 23:37:16 BOX64: Detected 48bits at least of address space Counted 37 Env var BOX64 LIB PATH: ./:./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/ BOX64 BIN PATH: ./:bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/games/:/usr/local/games/:/snap/bin/ Looking for ./7DaysToDieServer.x86_64 argv[1]="-logfile" argv[2]="./7DaysToDieServer_Data/output_log__2024-02-10__19-13-16.txt" argv[3]="-quit" argv[4]="-batchmode" argv[5]="-nographics" argv[6]="-dedicated" argv[7]="-configfile=serverconfig.xml" Rename process to "7DaysToDieServer.x86_64" Using emulated UnityPlayer.so Using native(wrapped) libm.so.6 Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1 Using native(wrapped) libpthread.so.0 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux-x86-64.so.2 Using native(wrapped) libdl.so.2 Using native(wrapped) libutil.so.1 Using native(wrapped) librt.so.1 Using native(wrapped) libbsd.so.0 [UnityMemory] Configuration Parameters - Can be set up in boot.config "memorysetup-bucket-allocator-granularity=16" "memorysetup-bucket-allocator-bucket-count=8" "memorysetup-bucket-allocator-block-size=4194304" "memorysetup-bucket-allocator-block-count=1" "memorysetup-main-allocator-block-size=16777216" "memorysetup-thread-allocator-block-size=16777216" "memorysetup-gfx-main-allocator-block-size=16777216" "memorysetup-gfx-thread-allocator-block-size=16777216" "memorysetup-cache-allocator-block-size=4194304" "memorysetup-typetree-allocator-block-size=2097152" "memorysetup-profiler-bucket-allocator-granularity=16" "memorysetup-profiler-bucket-allocator-bucket-count=8" "memorysetup-profiler-bucket-allocator-block-size=4194304" "memorysetup-profiler-bucket-allocator-block-count=1" "memorysetup-profiler-allocator-block-size=16777216" "memorysetup-profiler-editor-allocator-block-size=1048576" "memorysetup-temp-allocator-size-main=4194304" "memorysetup-job-temp-allocator-block-size=2097152" "memorysetup-job-temp-allocator-block-size-background=1048576" "memorysetup-job-temp-allocator-reduction-small-platforms=262144" "memorysetup-temp-allocator-size-background-worker=32768" "memorysetup-temp-allocator-size-job-worker=262144" "memorysetup-temp-allocator-size-preload-manager=262144" "memorysetup-temp-allocator-size-nav-mesh-worker=65536" "memorysetup-temp-allocator-size-audio-worker=65536" "memorysetup-temp-allocator-size-cloud-worker=32768" "memorysetup-temp-allocator-size-gfx=262144" Using native(wrapped) libdbus-1.so.3 Using native(wrapped) libX11.so.6 Using native(wrapped) libXext.so.6 Using native(wrapped) libxcb.so.1 Using native(wrapped) libXau.so.6 Using native(wrapped) libXdmcp.so.6 Using native(wrapped) libXcursor.so.1 Using native(wrapped) libXinerama.so.1 Using native(wrapped) libXi.so.6 Using native(wrapped) libXrandr.so.2 Using native(wrapped) libXrender.so.1 Using native(wrapped) libXss.so.1 Using native(wrapped) libXxf86vm.so.1 Using native(wrapped) libudev.so.1

sMouaad avatar Feb 10 '24 18:02 sMouaad

Update : After letting the terminal run for a bit without precipitating to CTRL-C it. running for around 15min I got this error Aborted (core dumped)

sMouaad avatar Feb 10 '24 19:02 sMouaad