Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Steam into the container #47

Open
BranislavF opened this issue Dec 12, 2023 · 8 comments
Open

Add Steam into the container #47

BranislavF opened this issue Dec 12, 2023 · 8 comments

Comments

@BranislavF
Copy link

Hello,

please add Steam (with container workaround to be able to run Proton games).

Thank you

@ehfd
Copy link
Member

ehfd commented Feb 22, 2024

Testers: Please try this and tell me before I add anything to the container.

Example of making Proton in Steam work without Pressure Vessel:

Assuming you have Proton Experimental installed in ~/.local/share/Steam/steamapps/common/Proton - Experimental, create ~/.local/share/Steam/compatibilitytools.d/Proton - Experimental (no runtime) and drop two files there, compatibilitytool.vdf that contains

"compatibilitytools"
{
  "compat_tools"
  {
    "proton_experimental_noruntime"
    {
      "install_path" "."
      "display_name" "Proton Experimental (no runtime)"
      "from_oslist"  "windows"
      "to_oslist"    "linux"
    }
  }
}

and toolmanifest.vdf with

"manifest"
{
  "version" "2"
  "commandline" "'/../../steamapps/common/Proton - Experimental/proton' %verb%"
}

@BranislavF
Copy link
Author

So, after making a first mistake, by creating the folder elsewhere, I can confirm that it is working for me. At least the one game I tried. Using Proton Experimental (no runtime).

By the way, my steam installation folder was in ~/.steam/steam/ directory. Otherwise, it seems to be running ok :)

Thanks

@ehfd
Copy link
Member

ehfd commented Feb 22, 2024

Then, we'll start incorporating when I have time.

@ehfd
Copy link
Member

ehfd commented Jun 23, 2024

image

I am seeing this error message when I installed Steam the ordinary way.

@BranislavF What is your script/Dockerfile component to incorporate Steam?

@ehfd
Copy link
Member

ehfd commented Jul 8, 2024

I need someone to dive into this.

@BranislavF
Copy link
Author

Sorry for not replying earlier, but I got the same issue when trying to run the container without elevated privileges. The only workaround I used is to run the container with the --privileged flag. I was able to install steam without any issues. I can help you with some testing, but my knowledge is limited here :)

@ehfd
Copy link
Member

ehfd commented Jul 8, 2024

If so, I cannot install Steam by default as of now, because it cannot be used in a bulk of infrastructure. Something that exposes less than --privileged is --security-opt="seccomp=unconfined". We already know this.

@ehfd
Copy link
Member

ehfd commented Jul 13, 2024

@jsbcannell Hey, I wonder if it might be possible to put some minor bounty on this; I know a friend who can do this pretty easily without opening any privileges but I need to divert his time. This can bring in a lot of new users into your service.

https://www.reddit.com/r/cloudygamer/comments/1e0sq05/selkies_moonlight_in_novnc_form_factor_with_webrtc/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants