Skip to content

[steam] Steam Remote Play Together no longer works; libtier0_s.so missing #86257

Closed

Description

@neirenoir

Describe the bug
Steam Remote Play no longer works. The client never manages to start, and instead prompts a "The streaming client exited unexpectedly (2)" message.

To Reproduce
Steps to reproduce the behavior:

  1. Open Steam
  2. Be invited by a friend to play Steam Remote Play Together.
  3. Accept invitation.

Additional context
I get the following line in the console logs shortly before the client crashes. It complains about a missing libtier0_s.so, but said library is present in the ubuntu12_32 folder.

/home/localuser/local/share/Steam/ubuntu12_32/streaming_client: error while loading shared libraries: libtier0_s.so: cannot open shared object file: No such file or directory

I haven't managed to find information on that library by searching the web, other than many games and the Steam client itself seem to fail when it is not found. I also tried using steam --reset, but it did not work.

Notify maintainers

@jagajaga @abbradar @hrdinka

Activity

  1. added
    0.kind: bug
    on Apr 28, 2020
  2. added
    6.topic: steam
    on Apr 28, 2020
  3. ashkitten commented on Jun 29, 2020

    @ashkitten
    Contributor

    launching steam with LD_LIBRARY_PATH=~/.steam/root/ubuntu12_32:$LD_LIBRARY_PATH steam makes this work, but controller input does not seem to work on the remote client, unsure if that's related.

  4. zeratax commented on Jul 4, 2020

    @zeratax
    Contributor

    @ashkitten I have the same issue, as in client can connect to my session and keyboard/mouse works, but controller is only visible, but no input is being detected.
    with a steam controller it's even possible to navigate the steam overlay, but it's impossible to control any game.

    Is there an issue for this already, otherwise would probably make sense to create a separate issue?

    Here is the same thing happening on other distros:

    So to clarify a Windows 10 remote session connecting to my NixOS session with:

    • Mouse/Keyboard -> works perfectly
    • Xbox Controller -> nothing works
    • Steam Controller -> only navigating steam overlay works, KDE controller options display inputs, but game doesn't detect anything
  5. zeratax commented on Jul 22, 2020

    @zeratax
    Contributor

    okaaaaay soooo I've got a workaround but it confuses me extremely.
    I noticed that when I rearrange controller order that my remote play partner could suddenly control the game, but I couldn't anymore.

    So now I plugged in a 2nd controller on my side and rearranged the controllers until it suddenly worked, I was able to play with my friend, but had a 2nd controller just by the side doing nothing.

    so yeah weirdest workaround, really not sure what's going on here.

  6. aanderse commented on Aug 9, 2020

    @aanderse
    Member

    I just tried steam remote play and had this error when trying without a controller:
    Screenshot_20200809_153937

    Does anyone have any ideas for a proper solution?

    ping @jonringer as someone who might use steam 🤷‍♂️

  7. jonringer commented on Aug 9, 2020

    @jonringer
    Contributor

    i do use steam, but I don't use remote play :(

  8. stale commented on Feb 6, 2021

    @stale

    I marked this as stale due to inactivity. → More info

  9. added
    2.status: stale
    on Feb 6, 2021
  10. D4ndellion commented on Apr 26, 2021

    @D4ndellion
    Member

    still important to me

  11. removed
    2.status: stale
    on Apr 26, 2021
  12. deviant commented on Apr 27, 2021

    @deviant
    Member

    I ran into this last week.

  13. jonringer commented on Apr 27, 2021

    @jonringer
    Contributor

    please test the PR

    $ nix-shell -p nixpkgs-review --run 'nixpkgs-review pr 120829 --package steam'
    $ ./results/steam/bin/steam
    
  14. jonringer commented on Apr 27, 2021

    @jonringer
    Contributor

    makes this work, but controller input does not seem to work on the remote client, unsure if that's related.

    This should work if remote client has the correct udev rules installed. For Nixos, this is accomplished by doing programs.steam.enable = true or environment.systemPackages = [ steam ]; or services.udev.packages = [ steam ];.

    Edit:

    $ ls /etc/udev/rules.d/ | grep steam
    60-steam-input.rules
    60-steam-vr.rules
    
  15. deviant commented on Apr 30, 2021

    @deviant
    Member

    @jonringer I took that out for a spin, but no dice. Tried @ashkitten's solution as well, but that doesn't seem to work either— it seems something about how Steam launches subprocesses (or our sandboxing infra) has changed since then.

    This does resolve the libtier0_s.so missing error, but now there's this even more mysterious one in its place:

    /home/belle/.local/share/Steam/ubuntu12_32/streaming_client: symbol lookup error: /home/belle/.local/share/Steam/ubuntu12_32/streaming_client: undefined symbol: SDL_GameControllerTypeForIndex
    

    What does work, however, is moving ~/.steam/root/ubuntu12_32/streaming_client to ~/.steam/root/ubuntu12_32/streaming_client~, and putting a script in its place that prefixes LD_LIBRARY_PATH with ~/.steam/root/ubuntu12_32 and chainloads. I'm definitely not familiar with how steam works internally, but I did snoop through its processes and found env vars STEAM_LD_LIBRARY_PATH and SYSTEM_LD_LIBRARY_PATH that are absent of our additional paths.

    Obviously, replacing files managed by Steam isn't really an option, but I hope this sheds a little more light on the problem.

    I will note that even after all of this, I'm still not getting more than a [non-game, generic steam] loading screen— playing around with the firewall suggests that it actually needs more ports to be open than are documented. That belongs in another issue, though, and we can get to that once everyone can actually launch this at all.

  16. jonringer commented on Apr 30, 2021

    @jonringer
    Contributor

    @deviant thanks for looking into this.

    Yea, unfortunately I don't have a ~/.steam/root/ubuntu12_32/streaming_client directory on my system, so I'm not really in a position to test this further. This may only be populated if you use the service. But I don't see the harm in adding additional paths to LD_LIBRARY_PATH which may be empty for some individuals, the linking logic should just move on to the next paths.

    I will note that even after all of this, I'm still not getting more than a [non-game, generic steam] loading screen— playing around with the firewall suggests that it actually needs more ports to be open than are documented. That belongs in another issue, though, and we can get to that once everyone can actually launch this at all.

    :(

  17. deviant commented on Apr 30, 2021

    @deviant
    Member

    @jonringer ValveSoftware/steam-for-linux#7686 seems potentially related— if this is true, setting env vars like we are currently won't help for subprocesses at all, as they only affect Steam itself. :(

    I assume this is done to avoid user-set environment variables from causing havoc with games (e.g. libraries needed to run Steam may not be what you want to load into a specific game, if it requires a specific version of SDL, etc). I'm not sure how to go about solving this, as it may require changes to Steam as well.

  18. deviant commented on Apr 30, 2021

    @deviant
    Member

    ValveSoftware/steam-for-linux#7542 Actually, found this which looks suspiciously like the issue we're having. I'll see if I can test whatever beta has the purported fix later & report back.

  19. jonringer commented on Apr 30, 2021

    @jonringer
    Contributor

    We also set SYSTEM_LD_LIBRARY_PATH to LD_LIBRARY_PATH, as some zachtronics games did the scrubbing as well.

    export STEAM_LD_LIBRARY_PATH="$STEAM_LD_LIBRARY_PATH''${STEAM_LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"

  20. deviant commented on Apr 30, 2021

    @deviant
    Member

    Steam is definitely not respecting those: checking the env vars from /proc doesn't show our changes, and they differ from LD_LIBRARY_PATH. I'm fairly sure its subprocesses are then taking LD_LIBRARY_PATH from these 'cleansed' variables.

  21. deviant commented on Apr 30, 2021

    @deviant
    Member

    The actual problem was a lot sillier: our Steam runtime version is out of date by 3.5 months. What made debugging this much more difficult was the fact that Steam downloads a copy of it as well, which is what I thought it was loading in— that copy did have the necessary symbols, etc.

  22. ashkitten commented on Apr 30, 2021

    @ashkitten
    Contributor

    is there some way automatic steam runtime updates could be PR'd by a bot so this doesn't happen again in the future?

  23. deviant commented on Apr 30, 2021

    @deviant
    Member

    I think that would require removing the dontRecurseIntoAttrs on steamPackages?

  24. jonringer commented on Apr 30, 2021

    @jonringer
    Contributor

    I think that would require removing the dontRecurseIntoAttrs on steamPackages?

    I already added the ability for it to be able to update itself in e6bf832 I just forgot about nixpkgs-update only caring about packages that it can query through nix-env -qa :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bug6.topic: steam

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions