protonscr

steamcmd.sh / steamclient.so broken on FreeBSD w/ Linux emulation

steamopen reviewedSteamCMDDistro Family: BSD
ValveSoftware/steam-for-linux#3141 · opened 2014-02-05 by incognico · updated 2019-07-18 · 5 comments · github
Iincognico 2014-02-05 github

FreeBSD k 9.2-RELEASE FreeBSD 9.2-RELEASE #8 r256015: Thu Oct 3 12:23:21 CEST 2013 root@k:/usr/obj/usr/src/sys/K amd64

Running steamcmd with:
/compat/linux/bin/bash ./steamcmd.sh +runscript go_ds.txt

Problem occurs while downloading a game.

App state (0x300502) downloading, progress: 8.18 (576231570 / 7047753586)
App state (0x300502) downloading, progress: 8.18 (576231570 / 7047753586)
/home/buildbot/buildslave_steam/steam_rel_client_linux/build/src/clientdll/../common/pipes.cpp (723) : Assertion Failed: Stalled cross-thread pipe
/home/buildbot/buildslave_steam/steam_rel_client_linux/build/src/clientdll/../common/pipes.cpp (723) : Fatal assert failed: /home/buildbot/buildslave_steam/steam_rel_client_linux/build/src/clientdll/../comm
on/pipes.cpp, line 723.  Application exiting.

The downloads seems to stall. After it happens it shows the same progess in the following lines and then it breaks.

Ffdge 2014-03-08 github

Having the same problem "FreeBSD 9.2-RELEASE-p3 (FREENAS.amd64)" "linux_base-f10"

Iincognico 2014-03-08 github

It's probably some missing syscall in FreeBSDs Linix compatibility layer: https://wiki.freebsd.org/linux-kernel

Ffdge 2014-03-08 github

After looking at dmesg I saw that.
It appears that epoll was removed http://svnweb.freebsd.org/base?view=revision&revision=255675
It looks like it is getting put back in to FreeBSD 10 http://freebsd.1045724.n5.nabble.com/linux-epoll-syscall-on-10-0-RC4-td5873782.html

This does not help me yet, the system I'm using is 9.2 and I do not have one for 10

Iincognico 2014-03-08 github

I use FreeBSD 10.0 at the moment and I can assure you that srcds still has the same problem. Either epoll is not in yet or it is some other syscall missing.

Iincognico 2018-04-19 github

Quick update on this: I could successfully install and run a csgo dedicated server on FreeBSD 11.1.

It still can't find the ssl certs (I guess it looks in a fixed place, the paths on FreeBSD differ slightly) and there is a constant spam of "Assertion Failed: Unable to set default socket options, error 22". Due to this the connections (to steam when starting the server, not the client connections) take a while to establish but it works!

Nothing extracted yet.