jammsen / docker-sons-of-the-forest-dedicated-server

Docker container to easily provision and manage Sons of the Forest Dedicated Server with Wine
https://hub.docker.com/r/jammsen/sons-of-the-forest-dedicated-server
136 stars 20 forks source link

Stuck in startup loop, not finding graphics device #4

Closed madxmike closed 1 year ago

madxmike commented 1 year ago

Hi, Thanks for getting this up so quickly. Running into an issue where the container is stuck in a startup loop. Seems to not be detecting any type of graphics device (which should be emulated by wine?). I'm not super knowledgeable about how wine works, so may just be missing something simple.

Brand New Ubuntu Droplet

OS: Ubuntu 22.10 x86_64
Host: Droplet 20171212
Kernel: 5.19.0-23-generic
Uptime: 5 hours, 20 mins
Packages: 724 (dpkg), 5 (snap)
Shell: zsh 5.9
Terminal: /dev/pts/0
CPU: DO-Regular (2) @ 2.294GHz
GPU: 00:02.0 Red Hat, Inc. Virtio GPU
Memory: 710MiB / 3923MiB

Docker Version:

Client:
 Version:           20.10.16
 API version:       1.41
 Go version:        go1.18.1
 Git commit:        20.10.16-0ubuntu1
 Built:             Thu May 12 20:53:23 2022
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server:
 Engine:
  Version:          20.10.16
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.18.1
  Git commit:       20.10.16-0ubuntu1
  Built:            Thu May 12 20:04:31 2022
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.4-0ubuntu1
  GitCommit:
 runc:
  Version:          1.1.2-0ubuntu1
  GitCommit:
 docker-init:
  Version:          0.19.0
  GitCommit:

https://pastebin.com/es24u7Pp

jammsen commented 1 year ago

Hey @madxmike your startup looks just fine. Your gameserver even started fully, sort of.

Where your server breaks is right here:

src\steamnetworkingsockets\clientlib\steamnetworkingsockets_lowlevel.cpp (1873) : Assertion Failed: SteamnetworkingSockets service thread waited 94ms for lock!  This directly adds to network latency!  It could be a bug, but it's usually caused by general performance problem such as thread starvation or a debug output handler taking too long.
/usr/bin/servermanager.sh: line 70:    88 Killed                  wine64 /sonsoftheforest/SonsOfTheForestDS.exe -userdatapath /sonsoftheforest/userdata

Im seeing your hardware specs are quite low. 2 vCPUs with 2,3GHz might be very low, but your RAM with 4GB'ish is definitely to low, you should at 6GB only for the game-server at least if not more.

madxmike commented 1 year ago

Oh dang I was hoping to throw it on the droplet I was already paying for. Didn't even think about the recs. Thanks.

jammsen commented 1 year ago

@madxmike Can you clarify what you mean by droplet? What is that? What specs has it?

madxmike commented 1 year ago

Just a VM from digital ocean https://www.digitalocean.com/products/droplets

This one is just a 2 vcpu, 4GB ram vm.

jammsen commented 1 year ago

Ahhhh its a small/limited cloud instance from Digitalocean, this PR/MGMT renaming of everything 🙄.

My Docker-Test-Node is 12vCPUs and 8GB RAM, it works fine for testing. If you play with more people i would bump memory more up.

jammsen commented 1 year ago

@madxmike Did you fix it?