Steamuxulation redux

Hi there! Updated my system to 12.2 a few days ago and wanted to try a complete new installation of linux-steam-client as package this time. First of all, I created a new account (steam3) and then as user in the new account, following the instructions, I did "steam-install" and "steam", but I got the following error (please see screenshot):
which steam?
 
Code:
$ ls /usr/local/
bin                my.cnf
bin32                openoffice-4.1.0
etc                openssl
include                poudriere
info                sbin
lib                share
lib32                steam-utils
libdata                tests
libexec                var
llvm33                www
llvm80                x86_64-portbld-freebsd12.1
man
$ ls /usr/local/steam-utils/
bin    lib32    lib64    lxbin
$ head -n 100 /usr/bin/steam
#!/usr/bin/env bash
#
# This is the Steam script that typically resides in /usr/bin
# It will create the Steam bootstrap if necessary and then launch steam.

# Get the full name of this script
export STEAMSCRIPT="$(cd "${0%/*}" && echo "$PWD")/${0##*/}"

# When this version is incremented a new package will be deployed to:
#    http://repo.steampowered.com/steam
# and an e-mail will be sent to the steam package update mailing list:
#    steamrepo@list.valvesoftware.com
# You can subscribe to this list at:
#     https://list.valvesoftware.com/mailman/listinfo/steamrepo
export STEAMSCRIPT_VERSION=100051

# Set up domain for script localization
export TEXTDOMAIN=steam

function show_message()
{
    style=$1
    shift
    if ! zenity "$style" --text="$*" 2>/dev/null; then
        case "$style" in
        --error)
            title=$"Error"
            ;;
        --warning)
            title=$"Warning"
            ;;
        *)
            title=$"Note"
            ;;
        esac

        # Save the prompt in a temporary file because it can have newlines in it
        tmpfile="$(mktemp || echo "/tmp/steam_message.txt")"
        echo -e "$*" >"$tmpfile"
        xterm -T "$title" -e "cat $tmpfile; echo -n 'Press enter to continue: '; read input"
        rm -f "$tmpfile"
    fi
}

function detect_platform()
{
    # Maybe be smarter someday
    # Right now this is the only platform we have a bootstrap for, so hard-code it.
    echo ubuntu12_32
}

function setup_variables()
{
    STEAMPACKAGE="${0##*/}"
    STEAMCONFIG=~/.steam
    STEAMDATALINK="$STEAMCONFIG/$STEAMPACKAGE"
    STEAMBOOTSTRAP=steam.sh
    LAUNCHSTEAMDIR="$(readlink -e -q "$STEAMDATALINK")"
    LAUNCHSTEAMPLATFORM="$(detect_platform)"
    LAUNCHSTEAMBOOTSTRAPFILE="$(dirname "$STEAMSCRIPT")/bootstraplinux_$LAUNCHSTEAMPLATFORM.tar.xz"
    if [ ! -f "$LAUNCHSTEAMBOOTSTRAPFILE" ]; then
        LAUNCHSTEAMBOOTSTRAPFILE="/usr/lib/$STEAMPACKAGE/bootstraplinux_$LAUNCHSTEAMPLATFORM.tar.xz"
    fi

    # Get the default data path
    STEAM_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
    case "$STEAMPACKAGE" in
        steam)
            CLASSICSTEAMDIR="$HOME/Steam"
            DEFAULTSTEAMDIR="$STEAM_DATA_HOME/Steam"
            ;;
        steambeta)
            CLASSICSTEAMDIR="$HOME/SteamBeta"
            DEFAULTSTEAMDIR="$STEAM_DATA_HOME/SteamBeta"
            ;;
        *)
            echo $"Unknown Steam package '$STEAMPACKAGE'"
            exit 1
            ;;
    esac

    # Create the config directory if needed
    if [[ ! -d "$STEAMCONFIG" ]]; then
        mkdir "$STEAMCONFIG"
    fi
}

function install_bootstrap()
{
    STEAMDIR="$1"

    # Save the umask and set strong permissions
    omask="$(umask)"
    umask 0077

    echo $"Setting up Steam content in $STEAMDIR"
    mkdir -p "$STEAMDIR"
    cd "$STEAMDIR"
    if ! tar xJf "$LAUNCHSTEAMBOOTSTRAPFILE" ; then
        echo $"Failed to extract $LAUNCHSTEAMBOOTSTRAPFILE, aborting installation."
$
 
So what is this then? What are you saying?

Code:
$ pkg info -D linux-steam-utils
linux-steam-utils-20200913:
On install:
Please note, this is an unofficial wrapper for the Steam client
and as such it is supported on a best effort basis.

Additional dependencies:
- If you use a NVIDIA card, you need to install a suitable
  x11/linux-nvidia-libs(-xxx) port.

Setup:

1. Create a dedicated FreeBSD non-wheel user account for Steam. Switch to it.
2. Run `steam-install` to download the Steam bootstrap executable.
3. Run `steam` to download updates and start Steam.

Limitations:

- Sandbox is disabled for the web browser component.
- Valve Anti-Cheat doesn't seem to work properly.
- No controller input, no streaming, no VR.
- No Proton (Steam Play).

$
 
Accusing you of what? I have explained what I have installed and how, following the instructions and standard procedure. And now you are saying this port is not yours? How would I know?
 
That /usr/bin/steam script was not installed by Shkhln's port. It's the default Valve Ubuntu Linux script:
Code:
function detect_platform()
{
    # Maybe be smarter someday
    # Right now this is the only platform we have a bootstrap for, so hard-code it.
    echo ubuntu12_32
}
It definitely won't work on Freebsd, and probably won't work on many Linuxes that are not that version of Ubuntu either. It will always be called preferentially over Shkhln's script because /usr/bin occurs before usr/local/bin in the PATH variable.

Figure out what or who installed it and remove it.
 
Hello,

Horizon Chase Turbo is working. Needs fmodfix for audio. There is a free Rookie Series DLC, if installed, game doesn't launch; just hangs on splash screen. So don't install that DLC, base game works fine.

I also tried 'Neko Ghost, Jump! Prologue', which is a demo of this game; it launches, intro plays fine, but then my system hangs at the level selection map. The music still plays, but I can't click on anything and game is unresponsive. It could be just my PC though since I'm using Fermi graphics card, so would be nice if someone gave this demo a try on a better spec'ed system to see how it plays. Looks like a fun game, uses Unreal Engine.
 
Are you on FreeBSD 12.2?
Hello,

So I finally got around to updating to 12.2. All good, everything works and don't need to add fmodfix.so to launch option.

Also, another game that's working for me now is Major Mayhem (started working on 12.1 with fmodfix). I love this game, it's so much fun! :D

Thank you
 
Menelkir, frakswe

On account of the winter sale, I checked a few reported Linux games.

Knytt Underground, Stealth Bastard Deluxe and Super Meat Boy seem to be ok. Serpent in the Staglands works as well, although it leaves a core dump on exit (?), which isn't great. EDGE requires a workaround: LD_PRELOAD=${LD_PRELOAD}:pathfix.so %command%. Braid works with DBUS_SESSION_BUS_ADDRESS=nope %command%.

Should I update the compatibility table accordingly?
 
Menelkir, frakswe

On account of the winter sale, I checked a few reported Linux games.

Knytt Underground, Stealth Bastard Deluxe and Super Meat Boy seem to be ok. Serpent in the Staglands works as well, although it leaves a core dump on exit (?), which isn't great. EDGE requires a workaround: LD_PRELOAD=${LD_PRELOAD}:pathfix.so %command%. Braid works with DBUS_SESSION_BUS_ADDRESS=nope %command%.

Should I update the compatibility table accordingly?
I didn't tested again, but sure. If works for you, it'll help for someone else in the future.
 
Just testing on my laptop which runs 12.2.
I get the following seg fault (complete log attached). Any idea ?


steam@mate:~ $ /opt/steam-utils/bin/steam
ERROR: ld.so: object 'steamfix.so' from LD_PRELOAD cannot be preloaded: ignored.
[2021-01-19 22:07:03] Startup - updater built Dec 20 2020 23:07:02
/tmp/dumps is not owned by us - delete and recreate
Installing breakpad exception handler for appid(steam)/version(1608507519)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2021-01-19 22:07:03] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2021-01-19 22:07:03] Using the following download hosts for Public, Realm steamglobal
[2021-01-19 22:07:03] 1. http://client-download.steampowered.com, /client/, Realm 'steamglobal', weight was 100, source = 'baked in'
[2021-01-19 22:07:03] 2. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1608507519)
[2021-01-19 22:07:03] Checking for update on startup
[2021-01-19 22:07:03] Checking for available updates...
[2021-01-19 22:07:03] Downloading manifest: http://client-download.steampowered.com/client/steam_client_ubuntu12
Installing breakpad exception handler for appid(steam)/version(1608507519)
[2021-01-19 22:07:03] Download skipped: /client/steam_client_ubuntu12 version 1608507519, installed version 1608507519, downloaded version 0
[2021-01-19 22:07:03] Nothing to do
[2021-01-19 22:07:03] Verifying installation...
[2021-01-19 22:07:03] Performing checksum verification of executable files
[2021-01-19 22:07:04] Verification complete
Loaded SDL version 2.0.14-6278618
ERROR: ld.so: object 'steamfix.so' from LD_PRELOAD cannot be preloaded: ignored.
sh: lspci: command not found
[[LD_PRELOAD=webfix.so '/usr/home/steam/.steam/steam/ubuntu12_64/steamwebhelper.sh' '-lang=en_US' '-cachedir=/usr/home/steam/.steam/steam/config/htmlcache' '-steampid=44508' '-buildid=1608507519' '-steamid=0' '-cachedir=/usr/home/steam/.steam/steam/config/htmlcache' '-steamuniverse=Public' '-clientui=/usr/home/steam/.steam/steam/clientui' --enable-blink-features=ResizeObserver,Worklet,AudioWorklet --enable-media-stream --enable-smooth-scrolling --password-store=basic '--log-file=/usr/home/steam/.steam/steam/logs/cef_log.txt' --no-sandbox --no-zygote --in-process-gpu]]
Installing breakpad exception handler for appid(steam)/version(1608507519)
ERROR: ld.so: object 'steamfix.so' from LD_PRELOAD cannot be preloaded: ignored.
STEAM_RUNTIME_HEAVY: ./steam-runtime-heavy
[[CEF version = 79.0.0.2153, Chrome version = 79.0.3945.117]]
[0119/220704.707408:INFO:crash_reporting.cc(247)] Crash reporting enabled for process: browser
[0119/220704.714472:ERROR:address_tracker_linux.cc(152)] Could not create NETLINK socket: Address family not supported by protocol (97)
[0119/220704.714468:ERROR:file_path_watcher_linux.cc(313)] inotify_init() failed: Function not implemented (38)
Installing breakpad exception handler for appid(steam)/version(1608507519)
Installing breakpad exception handler for appid(steam)/version(1608507519)
Installing breakpad exception handler for appid(steam)/version(1608507519)
CAppInfoCacheReadFromDiskThread took 0 milliseconds to initialize
ERROR: ld.so: object 'steamfix.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'steamfix.so' from LD_PRELOAD cannot be preloaded: ignored.
Installing breakpad exception handler for appid(steam)/version(1608507519)
Installing breakpad exception handler for appid(steam)/version(1608507519)
Installing breakpad exception handler for appid(steam)/version(1608507519)
CApplicationManagerPopulateThread took 0 milliseconds to initialize (will have waited on CAppInfoCacheReadFromDiskThread)
src/common/net.cpp (2028) : Assertion Failed: Unable to set default socket options, error 22
src/common/net.cpp (2028) : Assertion Failed: Unable to set default socket options, error 22
Installing breakpad exception handler for appid(steam)/version(1608507519)
ExceptionHandler::WaitForContinueSignal sys_read failed:ExceptionHandler::GenerateDump waitpid failed:No child processes
No minidump written, nothing to upload.
Bad file descriptor
Installing breakpad exception handler for appid(steam)/version(1608507519)
Installing breakpad exception handler for appid(steam)/version(1608507519)
Warning: failed to init scheduler: failed to get rlimit
Warning: failed to set thread priority: per-thread setup failed
Warning: failed to set thread priority: set failed for priority 8
Warning: failed to init scheduler: failed to get rlimit
Warning: support for elevated priorities is most likely unavailable, suppressing future warnings
Warning: failed to set thread priority: per-thread setup failed
Installing breakpad exception handler for appid(steam)/version(1608507519)
Installing breakpad exception handler for appid(steam)/version(1608507519)
src/common/net.cpp (2028) : Assertion Failed: Unable to set default socket options, error 22
src/common/net.cpp (2028) : Assertion Failed: Unable to set default socket options, error 22
Installing breakpad exception handler for appid(steam)/version(1608507519)
Installing breakpad exception handler for appid(steam)/version(1608507519)
Installing breakpad exception handler for appid(steam)/version(1608507519)
Installing breakpad exception handler for appid(steam)/version(1608507519)
src/common/net.cpp (2028) : Assertion Failed: Unable to set default socket options, error 22
src/common/net.cpp (2028) : Assertion Failed: Unable to set default socket options, error 22
Installing breakpad exception handler for appid(steam)/version(1608507519)
Installing breakpad exception handler for appid(steam)/version(1608507519)
src/common/net.cpp (2028) : Assertion Failed: Unable to set default socket options, error 22
s
 

Attachments

Back
Top