1zc / CS2-Pterodactyl

Docker image and Pterodactyl eggs to support CS2 and CS:GO (after archival), based on SteamRT3.
GNU General Public License v3.0
76 stars 24 forks source link

Rocky Linux 9.3 works but not with metamod #39

Closed Apflesine closed 6 months ago

Apflesine commented 6 months ago

Running Pterodactyl 1.11.5 on Rocky Linux 9.3, vanilla cs2 server runs without issues.

but as soon as I install metamod the server crashes after loading metamod.

tried all docker images metamod version 1225 as recommended here https://www.reddit.com/r/cs2/comments/16zjaid/comment/k4k0mfe/ also tried newest 5 versions

[Pterodactyl Daemon]: Pulling Docker container image, this could take a few minutes to complete...
Pulling from 1zc/steamrt3-pterodactyl 
Status: Image is up to date for ghcr.io/1zc/steamrt3-pterodactyl:latest 
Digest: sha256:ef18f6be5723ff7135d25a189ca835e2a306968becad9da3588604e8793fe988 
[Pterodactyl Daemon]: Finished pulling Docker container image
tid(15) burning pthread_key_t == 0 so we never use it
Redirecting stderr to '/home/container/Steam/logs/stderr.txt'
Logging directory: '/home/container/Steam/logs'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1705108307
-- type 'quit' to exit --
Loading Steam API...dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
OK
Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Please use force_install_dir before logon!
Success! App '730' already up to date.
File gameinfo.gi already configured. No changes were made.
:/home/container$ ./game/cs2.sh -dedicated +ip 0.0.0.0 -port 27020 +game_alias casual +map de_dust2 -maxplayers 64 +sv_setsteamaccount +hostname Counter-Strike 2
Loaded /home/container/game/bin/linuxsteamrt64/libengine2.so, got 0x55920aa43500
Console initialized.
Steam AppId(730), BreakpadId(2347771)
InitSteamLogin_Internal: Initializing breakpad.
Using breakpad crash handler
Steam Universe is invalid, possibly asking before Steam was successfully initialized.
ResetBreakpadAppId: Universe is 0 (k_EUniverseInvalid)
ResetBreakpadAppId: Setting dedicated server app id: 2347773
Setting breakpad minidump AppID = 2347773
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Loaded libSDL3.so.0, got 0x55920ab40d50
Loaded /home/container/game/bin/linuxsteamrt64/libtier0.so, got 0x55920aa2d240
Visibility enabled.
Loaded /home/container/game/bin/linuxsteamrt64/libfilesystem_stdio.so, got 0x55920ab41210
Unknown read error 21
USRLOCAL path not found!
Loaded /home/container/game/bin/linuxsteamrt64/liblocalize.so, got 0x55920ab53730
Loaded /home/container/game/bin/linuxsteamrt64/librendersystemempty.so, got 0x55920ab65820
Loaded /home/container/game/bin/linuxsteamrt64/libresourcesystem.so, got 0x55920ab77d40
Loaded /home/container/game/bin/linuxsteamrt64/libschemasystem.so, got 0x55920ab8a260
Trying to set dxlevel (111) which is higher than the card can support (110)!
Loaded /home/container/game/bin/linuxsteamrt64/libmaterialsystem2.so, got 0x55920ab9c360
---------------
Path ID:             File Path:
ADDONS               "/home/container/game/csgo_addons/" 
CONTENT              "/home/container/content/csgo/addons/metamod/" 
CONTENT              "/home/container/content/csgo/" 
CONTENT              "/home/container/content/csgo_imported/" 
CONTENT              "/home/container/content/csgo_core/" 
CONTENT              "/home/container/content/core/" 
CONTENTADDONS        "/home/container/content/csgo_addons/" 
CONTENTROOT          "/home/container/content/" 
DEFAULT_WRITE_PATH   "/home/container/game/csgo/addons/metamod/" 
EXECUTABLE_PATH      "/home/container/game/bin/linuxsteamrt64/" 
GAME                 "/home/container/game/csgo/pak01.vpk" (vpk) /home/container/game/csgo/pak01.vpk
GAME                 "/home/container/game/csgo_imported/pak01.vpk" (vpk) /home/container/game/csgo_imported/pak01.vpk
GAME                 "/home/container/game/csgo_core/pak01.vpk" (vpk) /home/container/game/csgo_core/pak01.vpk
GAME                 "/home/container/game/core/pak01.vpk" (vpk) /home/container/game/core/pak01.vpk
GAME                 "/home/container/game/csgo/addons/metamod/" 
GAME                 "/home/container/game/csgo/" 
GAME                 "/home/container/game/csgo_imported/" 
GAME                 "/home/container/game/csgo_core/" 
GAME                 "/home/container/game/core/" 
GAMEBIN              "/home/container/game/csgo/addons/metamod/bin/linuxsteamrt64/" 
GAMEBIN              "/home/container/game/csgo/addons/metamod/bin/" 
GAMEBIN              "/home/container/game/csgo/bin/linuxsteamrt64/" 
GAMEBIN              "/home/container/game/csgo/bin/" 
GAMEBIN              "/home/container/game/csgo_imported/bin/linuxsteamrt64/" 
GAMEBIN              "/home/container/game/csgo_imported/bin/" 
GAMEBIN              "/home/container/game/csgo_core/bin/linuxsteamrt64/" 
GAMEBIN              "/home/container/game/csgo_core/bin/" 
GAMEBIN              "/home/container/game/core/bin/linuxsteamrt64/" 
GAMEBIN              "/home/container/game/core/bin/" 
GAMEROOT             "/home/container/game/" 
MOD                  "/home/container/game/csgo/pak01.vpk" (vpk) /home/container/game/csgo/pak01.vpk
MOD                  "/home/container/game/csgo_imported/pak01.vpk" (vpk) /home/container/game/csgo_imported/pak01.vpk
MOD                  "/home/container/game/csgo_core/pak01.vpk" (vpk) /home/container/game/csgo_core/pak01.vpk
MOD                  "/home/container/game/csgo/" 
MOD                  "/home/container/game/csgo_imported/" 
MOD                  "/home/container/game/csgo_core/" 
PLATFORM             "/home/container/game/core/pak01.vpk" (vpk) /home/container/game/core/pak01.vpk
PLATFORM             "/home/container/game/core/" 
SHADER_SOURCE        "/home/container/src/shaders/csgo/addons/metamod/" 
SHADER_SOURCE        "/home/container/src/shaders/csgo/" 
SHADER_SOURCE        "/home/container/src/shaders/csgo_imported/" 
SHADER_SOURCE        "/home/container/src/shaders/csgo_core/" 
SHADER_SOURCE        "/home/container/src/shaders/core/" 
SHADER_SOURCE_MOD    "/home/container/src/shaders/csgo/addons/metamod/" 
SHADER_SOURCE_ROOT   "/home/container/src/shaders/" 
command line arguments:
-dedicated +ip 0.0.0.0 -port 27020 +game_alias casual +map de_dust2 -maxplayers 64 +sv_setsteamaccount +hostname Counter-Strike 2
Loaded /home/container/game/bin/linuxsteamrt64/libmeshsystem.so, got 0x55920abaeca0
Loaded /home/container/game/bin/linuxsteamrt64/libworldrenderer.so, got 0x55920abc11c0
Loaded /home/container/game/bin/linuxsteamrt64/libpulse_system.so, got 0x55920abd36e0
Loaded /home/container/game/bin/linuxsteamrt64/libvscript.so, got 0x55920abe80c0
Loaded /home/container/game/bin/linuxsteamrt64/libnetworksystem.so, got 0x55920abfa1b0
Loaded /home/container/game/bin/linuxsteamrt64/libanimationsystem.so, got 0x55920ac0e7d0
Loaded /home/container/game/bin/linuxsteamrt64/libvphysics2.so, got 0x55920ac246b0
Loaded /home/container/game/bin/linuxsteamrt64/libsoundsystem.so, got 0x55920ac37820
Loaded /home/container/game/bin/linuxsteamrt64/libscenesystem.so, got 0x55920ac4d700
Loaded /home/container/game/bin/linuxsteamrt64/libv8system.so, got 0x55920ac62da0
Network System Initialized
Loaded /home/container/game/bin/linuxsteamrt64/libserver_valve.so, got (nil)
 failed to dlopen /home/container/game/bin/linuxsteamrt64/libserver_valve.so error=/home/container/game/bin/linuxsteamrt64/libserver_valve.so: cannot open shared object file: No such file or directory
 failed to dlopen "/home/container/game/bin/linuxsteamrt64/libserver_valve.so" error=/home/container/game/bin/linuxsteamrt64/libserver_valve.so: cannot open shared object file: No such file or directory
Loaded libserver_valve.so, got (nil)
 failed to dlopen libserver_valve.so error=libserver_valve.so: cannot open shared object file: No such file or directory
 failed to dlopen "libserver_valve.so" error=libserver_valve.so: cannot open shared object file: No such file or directory
Loaded /home/container/game/csgo/addons/metamod/bin/linuxsteamrt64/libserver.so, got 0x55920ac7cba0
./game/cs2.sh: line 118:    42 Segmentation fault      (core dumped) ${STEAM_RUNTIME_PREFIX} ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
container@pterodactyl~ Server marked as offline...
[Pterodactyl Daemon]: ---------- Detected server process in a crashed state! ----------
[Pterodactyl Daemon]: Exit code: 139
[Pterodactyl Daemon]: Out of memory: false
[Pterodactyl Daemon]: Aborting automatic restart, last crash occurred less than 60 seconds ago.
Nereziel commented 6 months ago

Same segfault for me on AlmaLinux 9.3

1zc commented 6 months ago

@Nereziel @Apflesine This sounds like something you should take directly to MetaMod: https://github.com/alliedmodders/metamod-source