sethmachine / valheim-server-docker

Host Valheim Server using Docker.
18 stars 9 forks source link

Unable to preload the following plugins: libparty.so #14

Open CoBug92 opened 1 year ago

CoBug92 commented 1 year ago

Hello. I'm trying to setup my own server for playing with friends. I tried to setup server by CLI and docker-compose by your instructions. Unfortunately result is the same for both ways. I have the problem: Unable to preload the following plugins: libparty.so. I met this problem in -logs.txt file.

[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-allocator-temp-initial-block-size-main=262144"
    "memorysetup-allocator-temp-initial-block-size-worker=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"
Mono path[0] = '/home/steam/valheim-server/valheim_server_Data/Managed'
Mono config path = '/home/steam/valheim-server/valheim_server_Data/MonoBleedingEdge/etc'
Preloaded 'libsteam_api.so'
Unable to preload the following plugins:
    libparty.so
[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-allocator-temp-initial-block-size-main=262144"
    "memorysetup-allocator-temp-initial-block-size-worker=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"
Mono path[0] = '/home/steam/valheim-server/valheim_server_Data/Managed'
Mono config path = '/home/steam/valheim-server/valheim_server_Data/MonoBleedingEdge/etc'
Preloaded 'libsteam_api.so'
Unable to preload the following plugins:
    libparty.so

Docker's container works perfect Screenshot 2023-11-24 at 16 07 58

I use Mac mini M2 with Ventura 13.6.1

I hope you are still here and ready to help :)

AndroiDjo commented 6 months ago

I faced with the same issue on my mac M1. Please help. ... "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" Mono path[0] = '/home/steam/valheim-server/valheim_server_Data/Managed' Mono config path = '/home/steam/valheim-server/valheim_server_Data/MonoBleedingEdge/etc' Preloaded 'libDiskSpacePlugin.so' Preloaded 'libsteam_api.so' Unable to preload the following plugins: libparty.so

sethmachine commented 6 months ago

Hi @AndroiDjo just seeing this now.

Can you run the server using Docker CLI instead of docker-compose? See guide here: https://github.com/sethmachine/valheim-server-docker?tab=readme-ov-file#docker-cli

Or do you get a problem both ways?

sethmachine commented 6 months ago

So I think the issue is that the underlying Valheim server is not compatible with Apple M1 CPU architecture, and no amount of virrtualization directly between Docker and M1 can be enough. I myself run into the same issue even when trying to rebuild the Docker image/run it for --platform linux/amd64 (see attached logs file).

MyValheimWorld-logs.txt

One solution may be to run a separate Linux VM on your M1 mac, and then within the Linux VM, run the valheim server docker container. It's a bit convoluted but it may work. I'm taking a look here: https://lima-vm.io/docs/examples/

AndroiDjo commented 6 months ago

Hi @AndroiDjo just seeing this now.

Can you run the server using Docker CLI instead of docker-compose? See guide here: https://github.com/sethmachine/valheim-server-docker?tab=readme-ov-file#docker-cli

Or do you get a problem both ways?

I tried using Docker CLI. Ok, I will try VM later, thanx.