Counter-Strike 2 Dedicated Server: Segmentation fault during init on ARM Ampere A1 **What Game** Counter-Strike 2 Dedicated Server I installed `steamcmd` based on maual from here: https://developer.valvesoftware.com/wiki/SteamCMD I installed CS2 using this script: ``` #!/bin/sh export LD_LIBRARY_PATH="~/games/steamcmd/linux32:$LD_LIBRARY_PATH" export CPU_MHZ="2000" FEXBash '~/games/steamcmd/steamcmd.sh +@ShutdownOnFailedCommand 1 +@NoPromptForPassword 0 +force_install_dir ~/games/cs2 +login +app_update 730 +quit' ``` **Describe the bug** When I try to run Counter Strike 2 Dedicated Server using this script: ``` #!/bin/bash export LD_LIBRARY_PATH="~/steam/linux32:$LD_LIBRARY_PATH" export CPU_MHZ="2000" FEXInterpreter ~/games/cs2/game/bin/linuxsteamrt64/cs2 -dedicated -usercon -console +game_type 0 +game_mode 1 +ip 0.0.0.0 -port 27015 +map de_dust2 -maxplayers "10" ``` I got segmentation fault: ``` Loaded /home/ubuntu/games/cs2/game/bin/linuxsteamrt64/libengine2.so, got 0x55663e656fa0 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 0x55663e764840 Loaded /home/ubuntu/games/cs2/game/bin/linuxsteamrt64/libtier0.so, got 0x55663e6361c0 Visibility enabled. Loaded /home/ubuntu/games/cs2/game/bin/linuxsteamrt64/libfilesystem_stdio.so, got 0x55663e765460 USRLOCAL path not found! Loaded /home/ubuntu/games/cs2/game/bin/linuxsteamrt64/liblocalize.so, got 0x55663e765db0 Loaded /home/ubuntu/games/cs2/game/bin/linuxsteamrt64/librendersystemempty.so, got 0x55663e7666f0 Loaded /home/ubuntu/games/cs2/game/bin/linuxsteamrt64/libresourcesystem.so, got 0x55663e767040 Loaded /home/ubuntu/games/cs2/game/bin/linuxsteamrt64/libschemasystem.so, got 0x55663e767570 Trying to set dxlevel (111) which is higher than the card can support (110)! Loaded /home/ubuntu/games/cs2/game/bin/linuxsteamrt64/libmaterialsystem2.so, got 0x55663e767aa0 --------------- Path ID: File Path: ADDONS "/home/ubuntu/games/cs2/game/csgo_addons/" CONTENT "/home/ubuntu/games/cs2/content/csgo/" CONTENT "/home/ubuntu/games/cs2/content/csgo_imported/" CONTENT "/home/ubuntu/games/cs2/content/csgo_core/" CONTENT "/home/ubuntu/games/cs2/content/core/" CONTENTADDONS "/home/ubuntu/games/cs2/content/csgo_addons/" CONTENTROOT "/home/ubuntu/games/cs2/content/" DEFAULT_WRITE_PATH "/home/ubuntu/games/cs2/game/csgo/pak01.vpk" (vpk) /home/ubuntu/games/cs2/game/csgo/pak01.vpk DEFAULT_WRITE_PATH "/home/ubuntu/games/cs2/game/csgo/" EXECUTABLE_PATH "/home/ubuntu/games/cs2/game/bin/linuxsteamrt64/" GAME "/home/ubuntu/games/cs2/game/csgo/pak01.vpk" (vpk) /home/ubuntu/games/cs2/game/csgo/pak01.vpk GAME "/home/ubuntu/games/cs2/game/csgo_imported/pak01.vpk" (vpk) /home/ubuntu/games/cs2/game/csgo_imported/pak01.vpk GAME "/home/ubuntu/games/cs2/game/csgo_core/pak01.vpk" (vpk) /home/ubuntu/games/cs2/game/csgo_core/pak01.vpk GAME "/home/ubuntu/games/cs2/game/core/pak01.vpk" (vpk) /home/ubuntu/games/cs2/game/core/pak01.vpk GAME "/home/ubuntu/games/cs2/game/csgo/shaders_vulkan.vpk" (vpk) /home/ubuntu/games/cs2/game/csgo/shaders_vulkan.vpk GAME "/home/ubuntu/games/cs2/game/csgo_core/shaders_vulkan.vpk" (vpk) /home/ubuntu/games/cs2/game/csgo_core/shaders_vulkan.vpk GAME "/home/ubuntu/games/cs2/game/core/shaders_vulkan.vpk" (vpk) /home/ubuntu/games/cs2/game/core/shaders_vulkan.vpk GAME "/home/ubuntu/games/cs2/game/csgo/" GAME "/home/ubuntu/games/cs2/game/csgo_imported/" GAME "/home/ubuntu/games/cs2/game/csgo_core/" GAME "/home/ubuntu/games/cs2/game/core/" GAMEBIN "/home/ubuntu/games/cs2/game/csgo/bin/linuxsteamrt64/" GAMEBIN "/home/ubuntu/games/cs2/game/csgo/bin/" GAMEBIN "/home/ubuntu/games/cs2/game/csgo_imported/bin/linuxsteamrt64/" GAMEBIN "/home/ubuntu/games/cs2/game/csgo_imported/bin/" GAMEBIN "/home/ubuntu/games/cs2/game/csgo_core/bin/linuxsteamrt64/" GAMEBIN "/home/ubuntu/games/cs2/game/csgo_core/bin/" GAMEBIN "/home/ubuntu/games/cs2/game/core/bin/linuxsteamrt64/" GAMEBIN "/home/ubuntu/games/cs2/game/core/bin/" GAMEROOT "/home/ubuntu/games/cs2/game/" MOD "/home/ubuntu/games/cs2/game/csgo/pak01.vpk" (vpk) /home/ubuntu/games/cs2/game/csgo/pak01.vpk MOD "/home/ubuntu/games/cs2/game/csgo_imported/pak01.vpk" (vpk) /home/ubuntu/games/cs2/game/csgo_imported/pak01.vpk MOD "/home/ubuntu/games/cs2/game/csgo_core/pak01.vpk" (vpk) /home/ubuntu/games/cs2/game/csgo_core/pak01.vpk MOD "/home/ubuntu/games/cs2/game/csgo/" MOD "/home/ubuntu/games/cs2/game/csgo_imported/" MOD "/home/ubuntu/games/cs2/game/csgo_core/" OFFICIAL_ADDONS "/home/ubuntu/games/cs2/game/csgo_community_addons/" PLATFORM "/home/ubuntu/games/cs2/game/core/pak01.vpk" (vpk) /home/ubuntu/games/cs2/game/core/pak01.vpk PLATFORM "/home/ubuntu/games/cs2/game/core/" SHADER_SOURCE "/home/ubuntu/games/cs2/src/shaders/csgo/" SHADER_SOURCE "/home/ubuntu/games/cs2/src/shaders/csgo_imported/" SHADER_SOURCE "/home/ubuntu/games/cs2/src/shaders/csgo_core/" SHADER_SOURCE "/home/ubuntu/games/cs2/src/shaders/core/" SHADER_SOURCE "/home/ubuntu/games/cs2/src/shaders/csgo_community_addons/" SHADER_SOURCE_MOD "/home/ubuntu/games/cs2/src/shaders/csgo/" SHADER_SOURCE_ROOT "/home/ubuntu/games/cs2/src/shaders/" command line arguments: -dedicated -usercon -console +game_type 0 +game_mode 1 +ip 0.0.0.0 -port 27015 +map de_dust2 -maxplayers 10 Loaded /home/ubuntu/games/cs2/game/bin/linuxsteamrt64/libmeshsystem.so, got 0x55663e7df020 Loaded /home/ubuntu/games/cs2/game/bin/linuxsteamrt64/libworldrenderer.so, got 0x55663e7f1570 Loaded /home/ubuntu/games/cs2/game/bin/linuxsteamrt64/libpulse_system.so, got 0x55663e803ef0 Loaded /home/ubuntu/games/cs2/game/bin/linuxsteamrt64/libvscript.so, got 0x55663e817df0 Loaded /home/ubuntu/games/cs2/game/bin/linuxsteamrt64/libnetworksystem.so, got 0x55663e82a340 Loaded /home/ubuntu/games/cs2/game/bin/linuxsteamrt64/libanimationsystem.so, got 0x55663e83e9a0 Loaded /home/ubuntu/games/cs2/game/bin/linuxsteamrt64/libvphysics2.so, got 0x55663e8548c0 Loaded /home/ubuntu/games/cs2/game/bin/linuxsteamrt64/libsoundsystem.so, got 0x55663e867a70 Loaded /home/ubuntu/games/cs2/game/bin/linuxsteamrt64/libscenesystem.so, got 0x55663e87e1d0 Loaded /home/ubuntu/games/cs2/game/bin/linuxsteamrt64/libv8system.so, got 0x55663e8940f0 Network System Initialized MOD desires lightbiner GPU but is unsupported by HW (SupportsCompute=0 CubeMapArrays=0) Loaded /home/ubuntu/games/cs2/game/bin/linuxsteamrt64/libserver_valve.so, got (nil) failed to dlopen /home/ubuntu/games/cs2/game/bin/linuxsteamrt64/libserver_valve.so error=/home/ubuntu/games/cs2/game/bin/linuxsteamrt64/libserver_valve.so: cannot open shared object file: No such file or directory failed to dlopen "/home/ubuntu/games/cs2/game/bin/linuxsteamrt64/libserver_valve.so" error=/home/ubuntu/games/cs2/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/ubuntu/games/cs2/game/csgo/bin/linuxsteamrt64/libserver.so, got 0x55663e8b5f90 Physics Console Communications is not initialized Loaded /home/ubuntu/games/cs2/game/bin/linuxsteamrt64/libengine2.so, got 0x55663e656fa0 Loaded /home/ubuntu/games/cs2/game/csgo/bin/linuxsteamrt64/libhost.so, got 0x55663e8e6bb0 Loaded /home/ubuntu/games/cs2/game/bin/linuxsteamrt64/libscenefilecache.so, got 0x55663e8fa180 Loaded /home/ubuntu/games/cs2/game/bin/linuxsteamrt64/libparticles.so, got 0x55663e90c2c0 Loaded /home/ubuntu/games/cs2/game/csgo/bin/linuxsteamrt64/libmatchmaking.so, got 0x55663e91f470 No .vcds loaded or no scenes/scenes.vrman GameTypes: missing mapgroupsSP entry for game type/mode (custom/custom). GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/cooperative). GameTypes: missing mapgroupsSP entry for game type/mode (cooperative/coopmission). Event System loaded 93 events from file: vpk:/home/ubuntu/games/cs2/game/core/pak01.vpk:resource/core.gameevents. Event System loaded 50 events from file: vpk:/home/ubuntu/games/cs2/game/csgo/pak01.vpk:resource/game.gameevents. Event System loaded 147 events from file: vpk:/home/ubuntu/games/cs2/game/csgo/pak01.vpk:./resource/mod.gameevents. CEntitySystem::BuildEntityNetworking (parallel build of server) took 252.438 msecs for 205 out of 286 classes [STARTUP] {4.119} server module init ok ./cs2.sh: line 5: 612780 Segmentation fault (core dumped) FEXInterpreter ~/games/cs2/game/bin/linuxsteamrt64/cs2 -dedicated -usercon -console +game_type 0 +game_mode 1 +ip 0.0.0.0 -port 27015 +map de_dust2 -maxplayers "10" ``` **Expected behavior** Server running without segmentation fault. **System information:** - OS: Ubuntu 24.04.2 LTS - CPU/SoC: Server Neoverse-N1 aarch64 - RootFS used: Downloaded using this command: `curl --silent https://raw.githubusercontent.com/FEX-Emu/FEX/main/Scripts/InstallFEX.py --output /tmp/InstallFEX.py && python3 /tmp/InstallFEX.py && rm /tmp/InstallFEX.py` - FEX version: (FEXGetConfig --version) FEX-2505 - Thunks Enabled: I didn't enable it explicitly... **Additional context** - Is this an x86 or x86-64 game: x86-64 I will be more than happy to provide additional data that could help fix the problem more quickly.