NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.38k stars 14.33k forks source link

Steam fails to launch several Zachtronics games. #93205

Closed aiverson closed 4 years ago

aiverson commented 4 years ago

Describe the bug Ironclad Tactics, Opus Magnum, Shenzhen I/O fail to launch in steam linux runtime on nixos.

To Reproduce Steps to reproduce the behavior:

  1. Download one of the mentioned games
  2. Press Play
  3. Watch the game not start.

Expected behavior The game should launch and create a window and be playable.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Inspecting the logs seems to indicate the lack of /etc/ld.so.cache and /sbin/ldconfig being problems.

Notify maintainers @jagajaga

Metadata

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute:
  - steam
# a list of nixos modules affected by the problem
module:
jonringer commented 4 years ago

I'll look into this

jonringer commented 4 years ago

The main offender is this line, export LD_LIBRARY_PATH=$STEAM_LD_LIBRARY_PATH in ~/.local/share/Steam/steamapps/common/Opus\ Magnum/Lightning

Removing it allows me to start opus magnum, I'm assuming the other games are similarly packaged

aiverson commented 4 years ago

Testing that on my system, the edit you suggested does not allow the game to run successfully.

jonringer commented 4 years ago

please try the PR

jonringer commented 4 years ago

nixpkgs-review pr <pr-number> wait for it to finish building... then do steam and try to launch the game

aiverson commented 4 years ago

Testing with the PR also fails to launch the game on my system. I used the steam validate local files tool to ensure that my local install is intact first. The logs seem the same as well, complaining about /etc/ld.so.cache.

And I did verify that I was using the new steam command to test using which.

jonringer commented 4 years ago

which game did you test? I only tested with opus magnum

aiverson commented 4 years ago

I tested with Opus Magnum and Shenzhen I/O. Neither works.