You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[steam] Steam Remote Play Together no longer works; libtier0_s.so missing #86257
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:
Open Steam
Be invited by a friend to play Steam Remote Play Together.
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.
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.
@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:
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.
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
@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.
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.
@jonringerValveSoftware/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.
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.
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.
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.
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 :)
Activity
ashkitten commentedon Jun 29, 2020
launching steam with
LD_LIBRARY_PATH=~/.steam/root/ubuntu12_32:$LD_LIBRARY_PATH steammakes this work, but controller input does not seem to work on the remote client, unsure if that's related.zeratax commentedon Jul 4, 2020
@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:
zeratax commentedon Jul 22, 2020
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.
aanderse commentedon Aug 9, 2020
I just tried

steamremote play and had this error when trying without a controller:Does anyone have any ideas for a proper solution?
ping @jonringer as someone who might use
steam🤷♂️jonringer commentedon Aug 9, 2020
i do use steam, but I don't use remote play :(
stale commentedon Feb 6, 2021
I marked this as stale due to inactivity. → More info
D4ndellion commentedon Apr 26, 2021
still important to me
deviant commentedon Apr 27, 2021
I ran into this last week.
jonringer commentedon Apr 27, 2021
please test the PR
jonringer commentedon Apr 27, 2021
This should work if remote client has the correct udev rules installed. For Nixos, this is accomplished by doing
programs.steam.enable = trueorenvironment.systemPackages = [ steam ];orservices.udev.packages = [ steam ];.Edit:
deviant commentedon Apr 30, 2021
@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 missingerror, but now there's this even more mysterious one in its place:What does work, however, is moving
~/.steam/root/ubuntu12_32/streaming_clientto~/.steam/root/ubuntu12_32/streaming_client~, and putting a script in its place that prefixesLD_LIBRARY_PATHwith~/.steam/root/ubuntu12_32and chainloads. I'm definitely not familiar with how steam works internally, but I did snoop through its processes and found env varsSTEAM_LD_LIBRARY_PATHandSYSTEM_LD_LIBRARY_PATHthat 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.
jonringer commentedon Apr 30, 2021
@deviant thanks for looking into this.
Yea, unfortunately I don't have a
~/.steam/root/ubuntu12_32/streaming_clientdirectory 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 toLD_LIBRARY_PATHwhich may be empty for some individuals, the linking logic should just move on to the next paths.:(
deviant commentedon Apr 30, 2021
@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.
deviant commentedon Apr 30, 2021
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.
jonringer commentedon Apr 30, 2021
We also set
SYSTEM_LD_LIBRARY_PATHtoLD_LIBRARY_PATH, as some zachtronics games did the scrubbing as well.nixpkgs/pkgs/games/steam/fhsenv.nix
Line 55 in c8dff32
deviant commentedon Apr 30, 2021
Steam is definitely not respecting those: checking the env vars from
/procdoesn't show our changes, and they differ fromLD_LIBRARY_PATH. I'm fairly sure its subprocesses are then takingLD_LIBRARY_PATHfrom these 'cleansed' variables.deviant commentedon Apr 30, 2021
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.
ashkitten commentedon Apr 30, 2021
is there some way automatic steam runtime updates could be PR'd by a bot so this doesn't happen again in the future?
deviant commentedon Apr 30, 2021
I think that would require removing the
dontRecurseIntoAttrsonsteamPackages?jonringer commentedon Apr 30, 2021
I already added the ability for it to be able to update itself in e6bf832 I just forgot about
nixpkgs-updateonly caring about packages that it can query throughnix-env -qa:)