cdp1337 / ARKSurvivalAscended-Linux

GNU Affero General Public License v3.0
39 stars 7 forks source link

no server found + Plugin error #5

Closed captainabloc closed 10 months ago

captainabloc commented 10 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. installed debian 12 in Proxmox - both LXC and VM tested, same error
  2. systemctl status ark-island
 ark-island.service - ARK Survival Ascended Dedicated Server (Island)
     Loaded: loaded (/etc/systemd/system/ark-island.service; enabled; preset: enabled)
     Active: active (running) since Mon 2023-10-30 19:27:16 CET; 17min ago
   Main PID: 28628 (python3)
      Tasks: 83 (limit: 18683)
     Memory: 10.7G
        CPU: 2min 52.352s
     CGroup: /system.slice/ark-island.service
             ├─28628 python3 /home/steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-21/proton run ArkAscendedServer.exe "TheIsland_WP?listen"
             ├─28635 "c:\\windows\\system32\\steam.exe" ArkAscendedServer.exe "TheIsland_WP?listen"
             ├─28637 /home/steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-21/files/bin/wineserver
             ├─28641 "C:\\windows\\system32\\services.exe"
             ├─28652 "C:\\windows\\system32\\winedevice.exe"
             ├─28662 "C:\\windows\\system32\\winedevice.exe"
             ├─28675 "C:\\windows\\system32\\plugplay.exe"
             ├─28681 "C:\\windows\\system32\\svchost.exe" -k LocalServiceNetworkRestricted
             ├─28694 "C:\\windows\\system32\\rpcss.exe"
             └─28706 ArkAscendedServer.exe "TheIsland_WP?listen"

oct. 30 19:27:19 ark GameThread[28706]: Failed to load plugin '/home/steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-21/files/lib64/gstreamer-1.0/libgstwebp.so': libwebp.so>
oct. 30 19:27:19 ark GameThread[28706]: Failed to load plugin '/home/steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-21/files/lib64/gstreamer-1.0/libgstdtls.so': libcrypto.>
oct. 30 19:27:19 ark GameThread[28706]: Failed to load plugin '/home/steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-21/files/lib64/gstreamer-1.0/libgstaes.so': libcrypto.s>
oct. 30 19:27:19 ark GameThread[28706]: Failed to load plugin '/home/steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-21/files/lib64/gstreamer-1.0/libgstvpx.so': libvpx.so.6>
oct. 30 19:27:19 ark GameThread[28706]: Failed to load plugin '/home/steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-21/files/lib/gstreamer-1.0/libgstflac.so': /home/steam/>
oct. 30 19:27:19 ark GameThread[28706]: Failed to load plugin '/home/steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-21/files/lib/gstreamer-1.0/libgstwebp.so': /home/steam/>
oct. 30 19:27:19 ark GameThread[28706]: Failed to load plugin '/home/steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-21/files/lib/gstreamer-1.0/libgstdtls.so': /home/steam/>
oct. 30 19:27:19 ark GameThread[28706]: Failed to load plugin '/home/steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-21/files/lib/gstreamer-1.0/libgstaes.so': /home/steam/.>
oct. 30 19:27:19 ark GameThread[28706]: Failed to load plugin '/home/steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-21/files/lib/gstreamer-1.0/libgstvpx.so': /home/steam/.>
oct. 30 19:27:19 ark proton[28706]: error: XDG_RUNTIME_DIR is invalid or not set in the environment.

Trying to find server on Steam not successfully... ports opened to the VM: 7777; 2015; 2020, etc, same as I used for Ark, no change

Is it related to the plugin error in the status journal? Is this error have a fix?

many thanks for your great work!

NickUfer commented 10 months ago

I got the same problems but in my case the process just exists while seemingly trying to load the map:

Main process exited, code=exited, status=3/NOTIMPLEMENTED

The error: XDG_RUNTIME_DIR is invalid or not set in the environment. I got fixed by adding this to my systemd file:

Environment=XDG_RUNTIME_DIR=/run/user/$(id -u)

ShooterGame.log

[2023.10.30-19.13.48:842][  0]Log file open, 10/30/23 19:13:48
[2023.10.30-19.13.48:843][  0]LogMemory: Platform Memory Stats for WindowsServer
[2023.10.30-19.13.48:843][  0]LogMemory: Process Physical Memory: 334.64 MB used, 338.75 MB peak
[2023.10.30-19.13.48:843][  0]LogMemory: Process Virtual Memory: 305.36 MB used, 305.36 MB peak
[2023.10.30-19.13.48:843][  0]LogMemory: Physical Memory: 758.88 MB used,  15222.62 MB free, 15981.49 MB total
[2023.10.30-19.13.48:843][  0]LogMemory: Virtual Memory: 758.88 MB used,  23414.61 MB free, 24173.49 MB total
[2023.10.30-19.13.49:241][  0]ARK Version: 25.41
[2023.10.30-19.13.49:704][  0]Primal Game Data Took 0.32 seconds

crashstack file

Fatal error!

CL: 449579
0x000000007b00cdb7 kernelbase.dll!UnknownFunction []
0x0000000143c712ea ArkAscendedServer.exe!UnknownFunction []
0x00000002c74d5ef7 ucrtbase.dll!UnknownFunction []
0x00000002c74b030b ucrtbase.dll!UnknownFunction []
0x00000001400243c2 ArkAscendedServer.exe!UnknownFunction []
0x0000000144317687 ArkAscendedServer.exe!UnknownFunction []
0x0000000141fa93ed ArkAscendedServer.exe!UnknownFunction []
0x000000014447a1a8 ArkAscendedServer.exe!UnknownFunction []
0x0000000145d2a0bd ArkAscendedServer.exe!UnknownFunction []
0x0000000145d29ac1 ArkAscendedServer.exe!UnknownFunction []
0x0000000145d2c1a2 ArkAscendedServer.exe!UnknownFunction []
0x0000000145d0ee95 ArkAscendedServer.exe!UnknownFunction []
0x0000000145d00098 ArkAscendedServer.exe!UnknownFunction []

I'm running on ubuntu in a proxmox VM.

btw I guess what is not visible in your plugin logs is this: wrong ELF class: ELFCLASS32

captainabloc commented 10 months ago

indeed, this is the error report:

20:15
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
proton
20:15
Failed to load plugin '/home/steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-21/files/lib/gstreamer-1.0/libgstvpx.so': /home/steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-21/files/lib/gstreamer-1.0/libgstvpx.so: mauvaise classe ELF : ELFCLASS32
GameThread
20:15
Failed to load plugin '/home/steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-21/files/lib/gstreamer-1.0/libgstaes.so': /home/steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-21/files/lib/gstreamer-1.0/libgstaes.so: mauvaise classe ELF : ELFCLASS32
GameThread
20:15
Failed to load plugin '/home/steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-21/files/lib/gstreamer-1.0/libgstdtls.so': /home/steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-21/files/lib/gstreamer-1.0/libgstdtls.so: mauvaise classe ELF : ELFCLASS32
GameThread
20:15
Failed to load plugin '/home/steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-21/files/lib/gstreamer-1.0/libgstwebp.so': /home/steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-21/files/lib/gstreamer-1.0/libgstwebp.so: mauvaise classe ELF : ELFCLASS32
GameThread
20:15
Failed to load plugin '/home/steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-21/files/lib/gstreamer-1.0/libgstflac.so': /home/steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-21/files/lib/gstreamer-1.0/libgstflac.so: mauvaise classe ELF : ELFCLASS32
GameThread
20:15
Failed to load plugin '/home/steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-21/files/lib64/gstreamer-1.0/libgstvpx.so': libvpx.so.6: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
GameThread
20:15
Failed to load plugin '/home/steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-21/files/lib64/gstreamer-1.0/libgstaes.so': libcrypto.so.1.1: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
GameThread
20:15
Failed to load plugin '/home/steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-21/files/lib64/gstreamer-1.0/libgstdtls.so': libcrypto.so.1.1: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
GameThread
20:15
Failed to load plugin '/home/steam/.local/share/Steam/compatibilitytools.d/GE-Proton8-21/files/lib64/gstreamer-1.0/libgstwebp.so': libwebp.so.6: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type

don't find how to solve proton library error

cdp1337 commented 10 months ago

captainabloc closed this as [not planned]

Hey now, nothing in this project is planned. :P I will say that in the past I had major issues with LXC, so you'll be on your own there.

As for the XDG_RUNTIME_DIR warning, it doesn't seem to block the server running, but if that fix works to remove the notice I'll look at implementing that anyway. For Ubuntu support, I'm going to create another issue specifically for tracking that and am currently spinning up an Ubuntu 22.04 instance to start development on that script as soon as I look at this XDG thing.

captainabloc commented 10 months ago

Hi, closed by accident...

managed to get no error going through Debian 11 LXC. also, while on debian 12, had to install deb packages from bulleye to get the proper plugin installed.

next step for me is to find server on steam, still not the case!

NickUfer commented 10 months ago

It seems to me like ASA does not have proper steam support. Even if I set the query port to 27015 explicitly no process is binding to that port.

But you can connect to the server from the main menu when you open the console (default is key right below ESC, for me it is ^) and type open ip:port. If you use a server password there is no way to connect to the server right now AFAIK. Multiple people online say you should use open ip:port?password but that does not work

captainabloc commented 10 months ago

i managed to get it working: Debian 11 + create user steam install steamcmd and steam, using any tuto on the net install proton as per script

here is my service file:


[Unit]
Description=ARK Survival Ascended Dedicated Server (Island)
After=network.target

[Service]
Type=simple
LimitNOFILE=10000
User=steam
Group=steam
ExecStartPre=/usr/games/steamcmd +login anonymous +app_update 2430930 validate +quit
WorkingDirectory=/home/steam/Steam/steamapps/common/ARK Survival Ascended Dedicated Server/ShooterGame/Binaries/Win64
#Environment=XDG_RUNTIME_DIR=/run/user/0
Environment=XDG_RUNTIME_DIR=/run/user/$(id -u)
Environment="STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/steam/Steam"
Environment="STEAM_COMPAT_DATA_PATH=/home/steam/Steam/steamapps/compatdata/2430930"
ExecStart=/home/steam/Steam/compatibilitytools.d/GE-Proton8-21/proton run ArkAscendedServer.exe TheIsland_WP?listen?Multihome=0.0.0.0?MaxPlayers=10?QueryPort=27015?RCONEnabled=True?RCONPort=27020?Port=7777?SessionName=YOURSERVERNAME?ServerPassword=YOURPASS -NoBattleye -mods="928501,928539,928539,928728,929110"
Restart=on-failure
RestartSec=20s

[Install]
WantedBy=multi-user.target

IT WORKS GREAT!

installed on Proxmox LXC - debian 11 6 core processor (less should be OK) 12 Go RAM allocated

server found in-game, in Menu JOIN GAME / UNOFFICIAL and then serch your server name

ports opened to my LXC ip: 7777; 27015; 27020 (all ref in Ark SE server tutos)