Skip to content

Steam adds support for Linux namespaces #73191

Closed

Description

@davidak

Valve released Linux namespace (container) support for the steam-runtime as beta.

Official announcement: https://steamcommunity.com/app/221410/discussions/0/1638675549018366706/

Phoronix article: https://www.phoronix.com/scan.php?page=news_item&px=Steam-Linux-Exp-Containers

This issue if for discussion and maybe implementing this feature in our package.

I start with a question: Will this help us to have a cleaner package?

cc @abbradar @jagajaga @tadfisher @Synthetica9

Activity

  1. added
    6.topic: steam
    on Nov 11, 2019
  2. wucke13 commented on Nov 11, 2019

    @wucke13
    Contributor

    When running steam beta (which includes support for the namespacing you mentioned) on NixOS, I receive the following errors:

    Running Steam on nixos 19.09.1125.d628521d0b7 64-bit
    STEAM_RUNTIME has been set by the user to: /steamrt
    Error: You are missing the following 32-bit libraries, and Steam may not run:
    libva.so.2
    libva.so.2
    libva-x11.so.2
    /home/wucke13/.local/share/Steam/ubuntu12_32/steam
    Installing breakpad exception handler for appid(steam)/version(1573176642)
    Installing breakpad exception handler for appid(steam)/version(1573176642)
    Installing breakpad exception handler for appid(steam)/version(1573176642)
    Failed to load steamui.so - dlerror(): libva.so.2: cannot open shared object file: No such file or directory
    Installing breakpad exception handler for appid(steam)/version(1573176642)
    Installing breakpad exception handler for appid(steam)/version(1573176642)
    [2019-11-11 14:24:14] Startup - updater built Nov  7 2019 23:57:30
    [2019-11-11 14:24:14] Opted in to client beta 'publicbeta' via beta file
    You are in the 'publicbeta' client beta.
    Looks like steam didn't shutdown cleanly, scheduling immediate update check
    [2019-11-11 14:24:14] Checking for update on startup
    [2019-11-11 14:24:14] Checking for available updates...
    [2019-11-11 14:24:14] Downloading manifest: client-download.steampowered.com/client/steam_client_publicbeta_ubuntu12
    [2019-11-11 14:24:14] Download skipped by HTTP 304 Not Modified
    [2019-11-11 14:24:14] Nothing to do
    [2019-11-11 14:24:14] Verifying installation...
    [2019-11-11 14:24:14] Performing checksum verification of executable files
    [2019-11-11 14:24:15] Verification complete
    [2019-11-11 14:24:17] Shutdown
    

    So we probably should add libva.out to the steam derivation look into this issue too.

  3. davidak commented on Nov 11, 2019

    @davidak
    MemberAuthor

    @wucke13 that's probably fixed with #73108.

    I think you must enable the namespacing manually for each game.

    That might cause problems since we already use namespacing...

    But i have no idea about such low level details. Waiting for some feedback from the maintainers.

  4. matthew-piziak commented on Nov 16, 2019

    @matthew-piziak
    Contributor

    If anyone is bouncing off of a libva.so not found error, pkgs.steam.overrideAttrs (orig: { extraPkgs = with pkgs; [ libva ]; }); might work around it for you, as it did for me.

  5. jonringer commented on Feb 17, 2020

    @jonringer
    Contributor

    this has been fixed, steam removed their "crash if libva.so (32bit) isn't available."

  6. jonringer commented on Feb 17, 2020

    @jonringer
    Contributor

    oh, original issue is about namespaces

  7. stale commented on Aug 15, 2020

    @stale

    Hello, I'm a bot and I thank you in the name of the community for opening this issue.

    To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human.

    The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it.

    If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them.

    Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel.

  8. added
    2.status: stale
    on Aug 15, 2020
  9. davidak commented on Aug 15, 2020

    @davidak
    MemberAuthor

    this is still relevant for better compatibility i think

  10. removed
    2.status: stale
    on Aug 15, 2020
  11. stale commented on Feb 12, 2021

    @stale

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

  12. added
    2.status: stale
    on Feb 12, 2021
  13. Atemu commented on Nov 13, 2022

    @Atemu
    Member

    This has been working for a few years now.

  14. Atemu commented on Nov 13, 2022

    @Atemu
    Member

    For reference #114024

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

    2.status: stale6.topic: steam

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions