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] Dota fails to launch after Jan 31 update #157614
When launching dota from steam, it errors out with an error about libpangoft.
Dota was working yesterday. It broke today (Jan 31) after an update. I believe the update switched the game to use the soldier runtime (which runs the game inside a container). Before, I believe dota was running uncontainerized.
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
nix > nix-info -mwarning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels/nixos' does not exist, ignoringerror: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I) at «string»:1:9: 1| (import <nixpkgs> {}).stdenv.hostPlatform.system | ^ - system: `0` - host os: `Linux 5.10.93, NixOS, 21.11 (Porcupine)` - multi-user?: `no` - sandbox: `yes` - version: `nix-env (Nix) 2.5.0pre20211206_d1aaa7e` - channels(root): `""` - channels(owner): `""`warning: Nix search path entry '/nix/var/nix/profiles/per-user/root/channels/nixos' does not exist, ignoringerror: file 'nixpkgs' was not found in the Nix search path (add it using $NIX_PATH or -I) at «string»:1:1: 1| <nixpkgs> | ^ - nixpkgs: `0`
Reacted by Arash Sal Moslehian and Matlab Amiraslanov
@jonringer Adding gnome2.pango might fix the symptom but since the game is running in a steam runtime container, it shouldn't need any additional dependencies on top of steam. It appears the container is leaking? According to this person running non-nixos distro, they only get the libpangoft error when running dota.sh outside of steam.
It is even worth the time to bother with steam in nixpkgs? Steam appears to be an endless time-sink, especially when the flatpak works. Is there any advantage to nixpkgs steam over the flatpak?
It is even worth the time to bother with steam in nixpkgs? Steam appears to be an endless time-sink, especially when the flatpak works. Is there any advantage to nixpkgs steam over the flatpak?
We would need data. But my guess is that the difference would be minimal. I would almost be in favor of just wrapping steam into a script which launches flatpak
This comment from TTimo was enlightening. After disabling Steam Play in steam settings, dota works fine on nixos's steam just as it did in the steam flatpak. However, it seems by disabling Steam Play, dota runs using an old runtime which will be soon deprecated.
Reacted by Timothee "TTimo" Besset and Matlab Amiraslanov
We would need data. But my guess is that the difference would be minimal. I would almost be in favor of just wrapping steam into a script which launches flatpak
I really hope we don't end up removing FHS Steam.
There are still a lot of edge cases where FHS Steam works much better than Flatpak Steam, simply because the former can be declarative customized via extraPkgs. For example, at this moment, Rimworld cannot display Chinese fonts on Flatpak Steam, even using ugly fixes mentioned in Arch wiki or #119433. Problems like this do not exist on FHS Steam.
Activity
jonringer commentedon Feb 1, 2022
needs
gnome2.pangotgharib commentedon Feb 1, 2022
@jonringer Adding
gnome2.pangomight fix the symptom but since the game is running in a steam runtime container, it shouldn't need any additional dependencies on top of steam. It appears the container is leaking? According to this person running non-nixos distro, they only get thelibpangofterror when runningdota.shoutside of steam.jonringer commentedon Feb 1, 2022
right now, we use
LD_LIBRARY_PATHto make steam happy. However, it's a big hammer.jonringer commentedon Feb 1, 2022
related: #120829
jonringer commentedon Feb 1, 2022
I tried removing
LD_LIBRARY_PATHin #157621tgharib commentedon Feb 1, 2022
In the meantime, I can confirm dota works in the flatpak version of steam.
jonringer commentedon Feb 1, 2022
since nix also has to do a chroot-like operation, the performance implications are probably similar
tgharib commentedon Feb 1, 2022
It is even worth the time to bother with steam in nixpkgs? Steam appears to be an endless time-sink, especially when the flatpak works. Is there any advantage to nixpkgs steam over the flatpak?
jonringer commentedon Feb 1, 2022
We would need data. But my guess is that the difference would be minimal. I would almost be in favor of just wrapping
steaminto a script which launches flatpakL-as commentedon Feb 1, 2022
The flatpak one has limitations because you can't use bwrap inside flatpak IIRC. Not sure though.
tgharib commentedon Feb 1, 2022
That should no longer be an issue. See flatpak/flatpak#3797
Masda-X commentedon Feb 1, 2022
Same issue on Linux Lite and Linux Mint. After the latest update can not run Dota 2. Tried with flatpak on both did not work as well.
tgharib commentedon Feb 1, 2022
This github thread is for nixos only. I recommend pointing this out at ValveSoftware/Dota-2#2018 since Valve only reads that thread.
tgharib commentedon Feb 1, 2022
This comment from TTimo was enlightening. After disabling Steam Play in steam settings, dota works fine on nixos's steam just as it did in the steam flatpak. However, it seems by disabling Steam Play, dota runs using an old runtime which will be soon deprecated.
tgharib commentedon Feb 2, 2022
For context, please read this first. I did some testing (I double checked once) and I arrived at the following results:
sorpaas commentedon Mar 21, 2022
I really hope we don't end up removing FHS Steam.
There are still a lot of edge cases where FHS Steam works much better than Flatpak Steam, simply because the former can be declarative customized via
extraPkgs. For example, at this moment, Rimworld cannot display Chinese fonts on Flatpak Steam, even using ugly fixes mentioned in Arch wiki or #119433. Problems like this do not exist on FHS Steam.Atemu commentedon Nov 13, 2022
There are not plans to remove our Steam derivation.
Are you still able to reproduce this issue on 22.05 and/or 22.11?
SuperSamus commentedon Nov 13, 2022
I have no problems launching Dota on 22.11.
Atemu commentedon Nov 13, 2022
Guess it's been fixed in the mean time then.