box64: Counter Strike 2 Dedicated Server Failed to load tier0

Every time I try to launch CS2 dedicated server, I keep getting a libtier0 error but this is a steam library so I’m not sure what the problem is on my end

BOX64_LOG=1 ./cs2 -dedicated Debug level is 1 Dynarec for ARM64, with extension: ASIMD CRC32 PageSize:4096 Running on Cortex-A72 with 4 Cores` Params database has 27 entries Box64 with Dynarec v0.2.5 072311b2 built on Oct 6 2023 22:58:42 Counted 25 Env var BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/ BOX64 BIN PATH: ./:bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/usr/local/games/:/usr/games/ Looking for ./cs2 argv[1]=“-dedicated” Rename process to “cs2” Using native(wrapped) libdl.so.2 Using native(wrapped) libpthread.so.0 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux-x86-64.so.2 Using native(wrapped) libutil.so.1 Using native(wrapped) librt.so.1 Using emulated /home/farbod/cs2-ds/game/bin/linuxsteamrt64/libtier0.so Using native(wrapped) libm.so.6 Using native(wrapped) libuuid.so.1 Warning: Weak Symbol _ITM_memcpyRtWn not found, cannot apply R_X86_64_JUMP_SLOT @0x102448b58 (0xbf146) Warning: Weak Symbol _ITM_RU1 not found, cannot apply R_X86_64_JUMP_SLOT @0x102449918 (0xc0cc6) Warning: Weak Symbol _ZGTtdlPv not found, cannot apply R_X86_64_JUMP_SLOT @0x10244a1e8 (0xc1e66) Warning: Weak Symbol _ITM_RU8 not found, cannot apply R_X86_64_JUMP_SLOT @0x10244aba8 (0xc31e6) Warning: Weak Symbol _ITM_memcpyRnWt not found, cannot apply R_X86_64_JUMP_SLOT @0x10244b548 (0xc4526) Error: Symbol __isoc99_vswscanf not found, cannot apply R_X86_64_JUMP_SLOT @0x10244b598 (0xc45c6) in /home/farbod/cs2-ds/game/bin/linuxsteamrt64/libtier0.so Warning: Weak Symbol _ZGTtnam not found, cannot apply R_X86_64_JUMP_SLOT @0x10244c530 (0xc64f6) Look for pthread_yield in loaded elfs Found symbol with version GLIBC_2.17, value = 0x7fa6b947f0 Error: relocating Plt symbols in elf libtier0.so Error initializing needed lib /home/farbod/cs2-ds/game/bin/linuxsteamrt64/libtier0.so Launcher Error: FATAL: /home/farbod/cs2-ds/game/bin/linuxsteamrt64/libtier0.so not loaded dlerror(): Cannot dlopen(“/home/farbod/cs2-ds/game/bin/linuxsteamrt64/libtier0.so”/0x10201c410, 2)

Launcher Error: Failed to load tier0

About this issue

  • Original URL
  • State: open
  • Created 9 months ago
  • Comments: 21 (9 by maintainers)

Commits related to this issue

Most upvoted comments

No, not yet. I have to download the server and try myself.

Tried running the CS2 DS with Box64 with Dynarec v0.2.5 113c879d and I’m getting this:

Params database has 32 entries
Counted 13 Env var
BOX64 LIB PATH: /opt/steamcmd/cs2-ds/:./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/
Looking for cs2
argv[1]="--args"
argv[2]="-dedicated"
Rename process to "cs2"
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) librt.so.1
Using emulated /opt/steamcmd/cs2-ds/game/bin/linuxsteamrt64/libtier0.so
Using native(wrapped) libm.so.6
Using native(wrapped) libuuid.so.1
Warning: Weak Symbol _ITM_memcpyRtWn not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff00428b58 (0xbf146)
Warning: Weak Symbol _ITM_RU1 not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff00429918 (0xc0cc6)
Warning: Weak Symbol _ZGTtdlPv not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0042a1e8 (0xc1e66)
Warning: Weak Symbol _ITM_RU8 not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0042aba8 (0xc31e6)
Warning: Weak Symbol _ITM_memcpyRnWt not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0042b548 (0xc4526)
Warning: Weak Symbol _ZGTtnam not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0042c530 (0xc64f6)
Look for pthread_yield in loaded elfs
Found symbol with version GLIBC_2.17, value = 0xffffb9fe0300
Using emulated /opt/steamcmd/cs2-ds/game/bin/linuxsteamrt64/libengine2.so
Using emulated libsteam_api.so
Redirecting overridden malloc from symtab function for libsteam_api.so
Using emulated libsteamnetworkingsockets.so
Redirecting overridden malloc from symtab function for libsteamnetworkingsockets.so
Using emulated /lib/x86_64-linux-gnu/libstdc++.so.6
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Warning: Weak Symbol _ZGTtnam not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0165c838 (0x101606)
Warning: Weak Symbol _ITM_memcpyRtWn not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0165c9e0 (0x101956)
Warning: Weak Symbol _ITM_RU1 not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0165ce90 (0x1022b6)
Warning: Weak Symbol _ZGTtdlPv not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0165d450 (0x102e36)
Warning: Weak Symbol _ITM_RU8 not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0165d528 (0x102fe6)
Warning: Weak Symbol _ITM_memcpyRnWt not found, cannot apply R_X86_64_JUMP_SLOT @0x7fff0165dc48 (0x103e26)
0204|SIGSEGV @0xffffb86b9690 (???(0xffffb86b9690)) (x64pc=0x7fff0021f5cd//opt/steamcmd/cs2-ds/game/bin/linuxsteamrt64/libtier0.so:"/opt/steamcmd/cs2-ds/game/bin/linuxsteamrt64/libtier0.so + 0x21f5cd", rsp=0x10081c588, stack=0x100020000:0x100820000 own=(nil) fp=0x10081c578), for accessing 0x1c8350 (code=2/prot=0), db=0xffffb8a91b38(0xffffb86b9690:0xffffb86b9890/0x7fff0021f5cd:0x7fff0021f68a//opt/steamcmd/cs2-ds/game/bin/linuxsteamrt64/libtier0.so + 0x21f5cd:clean, hash:6a3784d1/6a3784d1) handler=(nil)
RAX:0x00000000001c8350 RCX:0x0000ffffb906a0e0 RDX:0x0000000038fd7bb0 RBX:0x0000000038fd7ae0
RSP:0x000000010081c588 RBP:0x000000010081c638 RSI:0x0000ffffb9f49980 RDI:0x0000000038fd7cc0
 R8:0x0000000000000001  R9:0x0000000000000000 R10:0x0000000000000000 R11:0x00007fff0066d088
R12:0x0000000038fd7a00 R13:0x0000ffffb906a0e0 R14:0x0000ffff80000000 R15:0x0000000038fd7d58
ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053
RSP-0x20:0x0000ffff80000000 RSP-0x18:0x0000000038fd7d58 RSP-0x10:0x000000010081c638 RSP-0x08:0x00007fff0021fc5f
RSP+0x00:0x000000000000000f RSP+0x08:0x0000000038fd7a00 RSP+0x10:0x000000010081c608 RSP+0x18:0x00007fff00238b3a```

It’s next on my todo, but I’m on bug hunting / bug fixing for now…

Ok, I fixed the issue with box86. Latest version should work just fine now. I’ll try to check the CS2 server issue later.

Just to note, box86 is not compatible with SSE4.2 yet (not even SSE4.1). I did added AES-NI and another extention this week end tho.