Skip to content

Snap or flatpak to distribute games #4512

Open

Description

@Avamander

But could games through steam be distributed as snaps or flatpaks instead?

Activity

  1. Tele42 commented on Jun 23, 2016

    @Tele42

    Partial duplicate of #4473 / #4499. Also, how would snap / flatpak deal with updates, no sane user is going to tolerate re-downloading the full contents of a game on every update.

  2. Avamander commented on Jun 30, 2016

    @Avamander
    Author

    @stqn1 Would not work any more where?

  3. Avamander commented on Jul 1, 2016

    @Avamander
    Author

    @Tele42 Delta (partial) updates are a planned feature of snaps.

  4. 0xBADEAFFE commented on Nov 22, 2016

    @0xBADEAFFE

    Please provide a snap package. Snap is also working on other distributions.

  5. muayyad-alsadi commented on Nov 30, 2016

    @muayyad-alsadi

    Please provide a snap package. Snap is also working on other distributions.

    this is not true. a canonical employee published a personal third-party repo (think PPA) for some distros. But it's not yet accepted by any non-canonical/ubuntu mainstream distro in the official repo.

    on the other hand. Flatpak is in the official repos of all mainstream distros.

  6. 0xBADEAFFE commented on Nov 30, 2016

    @0xBADEAFFE
  7. muayyad-alsadi commented on Dec 9, 2016

    @muayyad-alsadi

    what is the thing you don't understand in the word "official"?

    a single canonical employee created a personal repo for some distros is so way different that being shipped in the official repos of suse, fedora, debian and arch (as with the case of flatpak)

  8. Avamander commented on Dec 9, 2016

    @Avamander
    Author
  9. muayyad-alsadi commented on Dec 9, 2016

    @muayyad-alsadi

    @Avamander

    1. we have a vendor lockin vs. something supported by all major distros including debian, arch, suse, fedora, ...
    2. we have something that requires voiding your security (turning off selinux) vs. something that is officially supported by your distro/provider. it's like asking for iphone jail break to just open a website.
    3. issue of trust specially after canonical claiming patents
    4. copy right re-assignment to someone that is not trust worthy

    quoted from their IPPolicy

    You cannot use Canonical’s patented materials without our permission.

    double those fears after canonical suing a hosting provider for redistribution of ubuntu.

    so If I want to use steam I should accept canonical's fishy terms. no thanks

  10. Avamander commented on Dec 9, 2016

    @Avamander
    Author
  11. muayyad-alsadi commented on Dec 9, 2016

    @muayyad-alsadi

    @Avamander how can you fix canonical not being a team player and asking every body to transfer copyright to them? how can you fix canonical claims of patents? How can you fix not being supported by official providers and lake of official support in major distros (support mean what support is supposed to mean, not 3rd party personal repo)? How can you fix lake of proper security (SELinux)?

    You don't have to answer any of those questions. Why bother going with snap in the first place when we have flatpak which is already solve all those problems without raising any concern.

  12. mhall119 commented on Jan 12, 2017

    @mhall119

    Canonical does not require copyright transfer, nor are there any patents on the Snap format or associated software. Snaps are a part of Ubuntu and Debian now, with COPR packages for Fedora and I believe AUR packages for Arch. The lead Snap developer is working with a Fedora developer to fix the issues with SELinux on Fedora (it's not a generic SELinux problem) and get it into the official repos there.

  13. 39 remaining items

  14. h1z1 commented on Jul 30, 2017

    @h1z1

    @h1z1 Ok, first did you read my post carefully, about sandboxing I said "I will leave it for later" and I came back to the point.

    Yes, I read that. Point made no sense, "the distributing mechanism" cannot be trusted. Hiding HOW docker, or failpak, or InsertNewBuzzwordHere, handles doing what they claim behind in many cases system calls directly, is not security. The day I have to run steam as root is the day I sell my account.

    About flatpak's not being ready, what I meant by that was flatpak as a tool has still features being added. Like for example it doesn't yet support null runtime. But that doesn't mean flatpak runtimes are unstable.

    And if those mattered in your narrative why do they not mine? What was the point in arguing those "features being added", meant anything but weasel words?

    Well about RPM, I have no grip about current package managers and
    I never said they were at fault (also I didn't say throw them away),
    but do tell me that you have two customized versions of libpqrs.so
    for 2 different applications; how would you have them both remain
    on your system, without complicating things, like preloading the
    library or linking the application itself during compile time with a
    specific version and enforcing it.

    So we come to the crux of many arguments from SystemD people, you state a requirement then subsequently preference any "answer" to exclude the one you don't agree on. What you're describing is EXACTLY WHAT THE DAMNED LINKER WAS DESIGNED FOR. What do you think it does all day with properly compiled applications? Resolve symbols. Resolve dependencies. Make things just work (tm). Steam actually goes through some rather arcane loops to duplicate the system linker.

    Think as a layman and not as a IT professional. With flatpaks/snaps you as a developer have a clean slate to start from, where you can pick and choose libraries you need. All the user has to do is install the app and run it, flatpak takes care of everything.

    And this is a big part of the problem. You SHOULD care . We do not need to go back in history with people randomly clicking on executables.

    Also what if the original application was built on distribution using customized libpqrs.so, while every other distribution is packaging upstream libpqrs.so. The application won't work out of the box on other distribution. What do you do then? Package the library with application (that is what flatpak/snap are doing, better than current packaging methods I might add). Or do you expect the user to go hunting for all those customized libraries.

    What are you talking about? Where is it going to pull those dependencies from three years from now? Are you going to maintain those systems for eternity? Securely?

    There are two things flatpaks/snaps are trying to achieve,

    Give a unified platform for app distribution, so that developers don't have to worry if their application is working with some xyz distribution, because it will always work out of the box no matter which distribution you develop on. Plus it makes it lot easier for the end user to get the app.

    This is pie in the sky bullshit. It doesn't address the underlying problem of what happens (aka whose responsible), when those "distros" need updating since you refuse to let the system linkers do their jobs. You're still forcing fragmentation on the entire platform.

    What happens in your little garden when NVIDIA decides to end support for older hardware, including pulling it from drivers thus not even available for download.? Tell users to upgrade their hardware? This level of thinking facilitates forced deprecation and needs to stop.

    Hell what about kernel level changes breaking userland?

    They provide containerization (or sandboxing) for security.

    lul.

  15. Avamander commented on Jul 30, 2017

    @Avamander
    Author

    @h1z1 Your talk sounds nice but the real world is different. Sure we have the technical capability to do things nicely, but Valve/EA/whatever aims at a profit as big as possible, maintaining bunch of different versions and backwards compatibility will NEVER happen but containers that work on many platforms, old and new, can happen.

  16. h1z1 commented on Jul 30, 2017

    @h1z1

    A container does not magically make all dependencies disappear. You're confusing VM's with containers anyway, the former being portable.

  17. adityashah1212 commented on Jul 30, 2017

    @adityashah1212

    The day I have to run steam as root is the day I sell my account.

    That is where you are wrong, steam isn't running as root. It is running in userspace. The system calls controlling the container are made by flatpak, not by steam. I wonder if you have even bothered to read flatpak architecture before criticizing it.

    A container does not magically make all dependencies disappear. You're confusing VM's with containers anyway, the former being portable.

    It is portable as long as kernel as some set of features enabled. Because primary assumption in containers is that there is nothing other than kernel itself.

    And anyways, if this is not the solution than propose one better than this.

  18. h1z1 commented on Jul 30, 2017

    @h1z1

    The day I have to run steam as root is the day I sell my account.

    That is where you are wrong, steam isn't running as root. It is
    running in userspace. I wonder if you have even bothered to read
    flatpak architecture before criticizing it.

    How am I wrong??? What the fuck. I never said it was running as root.
    From their docs regardless:

    Under the hood¶

    The bubblewrap utility from Project Atomic, which lets unprivileged users set up and run containers, using kernel features such as:
    
    systemd to set up cgroups for sandboxes
    D-Bus, a well-established way to provide high-level APIs to applications
    The OSTree system for versioning and distributing filesystem trees
    Appstream metadata, to allow Flatpak applications to show up nicely in software-center applications
    

    Running as root and running with root privileges are in this context, the same. Requiring systemd and dbus on systems that don't use nor want them is bullshit. They all basically share themselves as users. Appstream is literally a manifest... in XML.. with copyright.

    A container does not magically make all dependencies disappear.
    You're confusing VM's with containers anyway, the former being >> portable.

    It is portable as long as kernel as some set of features enabled.
    Because primary assumption in containers is that there is nothing
    other than kernel itself.

    Which NEVER happens right? Contrast that with true portability like I gave, VMs.

    And anyways, if this is not the solution than propose one better than
    this.

    I have, in this thread alone they were RPM, Yum, sandbox (the util), hell even firejail.

    I'm done with this thread. I expect you'll continue opening threads in an effort to sell the fake outrage and support. Good luck.

  19. muayyad-alsadi commented on Jul 31, 2017

    @muayyad-alsadi
  20. muayyad-alsadi commented on Aug 24, 2017

    @muayyad-alsadi

    @Avamander but that's just a community effort (not supported by valve). we hope that valve would pick that up.

    No, that manifest was written by Flatpak devs. However, it's Flathub's policy to give the application developers write-access if they request it. So in theory, it could become official.

    you can read more at OMG Ubuntu article

  21. Avamander commented on Aug 24, 2017

    @Avamander
    Author

    @muayyad-alsadi didn't claim otherwise, I simply stated it's available. I have to say it's the least painful and most secure install of steam I've had, though maybe I could achieve better with firejail but that'd require me to install the debian package.

  22. damianatorrpm commented on Mar 4, 2018

    @damianatorrpm

    + 1 For flatpak

  23. Luraktinus commented on Jul 29, 2019

    @Luraktinus

    1+ for Guix

  24. jakobjakobson13 commented on Sep 19, 2019

    @jakobjakobson13

    +1 for flatpak

  25. orowith2os commented on Sep 20, 2022

    @orowith2os

    Going to make a small comment here: Steam uses bubblewrap to run games inside of the Steam Linux Runtime, which is pretty similar to how Flatpak does things, since it uses bubblewrap to run apps inside of a specific runtime.

    There wouldn't be much or any benefit, except maybe being able to utilize the ability to fine-tune the sandbox for each game. Flatpak also does some things that break some functions of Steam and game integration, iirc.

    If anything, I'd like to see Steam be an officially supported Flatpak, and work to figure out the kinks of the sandbox. One such thing that would be useful with Flatpak is the ability to be more separate from the host, since Flatpak implements drivers through runtime extensions, you can use a newer Mesa version (22) while the host uses an older version, as the Flatpak runtime bundles its own glibc. The NVIDIA drivers are an exception, as is standard.

  26. muayyad-alsadi commented on Sep 22, 2022

    @muayyad-alsadi

    maybe it's worth mentioning that @mhall119 is on flatpak side now. correct me if I'm wrong.

  27. ryanabx commented on Sep 19, 2024

    @ryanabx

    #4473 mysteriously disappeared, so I guess this is the issue for tracking potential flatpak support now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions