Hello everyone! 👋

For the past year I had fun messing around with Docker containers, Moonlight/Sunshine and HW acceleration; so much so that I’ve ended up building a Gamestream server from scratch!

The basic underlying idea is to allow the followings:

  • Share a single server (possibly headless but doesn’t have to be) with multiple users
  • by creating virtual HW accelerated desktops
  • whilst keeping remote mouse, keyboard and controllers completely separated
  • with low latency

It’s still rough around the edges, and it needs more testing from the community; if you want to check it out, here you can read the docs and here’s the Github repo.

  • draecas@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    What’s required to map a folder into one of the containers (i.e. retroarch)? I’ve attempted to edit config.toml to include it, but the main wolf container immediately crashes on boot due to interrupt code 11. There’s no other error messages, just a binary stack trace.

    The folder exists. I’ve tried directly mounting the host path as well as mounting it into Wolf-Wolf-1 and using the local path, but nothing works. Even perfectly mirrored paths don’t work. Wolf appears to be running as root so I don’t think it’s a permissions error? I can certainly access the folders. They are a locally mounted NFS, but I’ve used this with dozens of containers without issue.

    • abeltramo@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      It’s probably failing to parse the config.toml file, although that should usually print a proper error line. Have you tried deleting the file or copy and paste the default?

      • draecas@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        Looks like the mount definitions require the :ro (or maybe :rq?) at the end unlike regular docker volumes, that was the issue.

        • abeltramo@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 year ago

          Ooops that was a lazy leftover from my side, sorry about that. Thanks for letting me know, I’ll fix it soon!

  • llanoraw@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    Very nice! I’ve been on the hunt for a headless gamestream solution but not found something yet so will definitely be watching this project.

    On first run it was failing to work, console log was showing http errors.

    Also, it looks like lots of things run with Docker priveleged=true / root permissions? That’s a no-go in my book. Any reason why?

    • abeltramo@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      On first run it was failing to work, console log was showing http errors.

      Would you like to open up an issue on Github or share some logs in our Discord channel?

      Also, it looks like lots of things run with Docker priveleged=true

      Are you talking about Games on Whales compose file and script? That’s a bit legacy as things are right now, Wolf does run all containers as unprivileged by default

      • llanoraw@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 year ago

        Oops! Mixed up the two repos. Thanks for clarifying.

        I’ll post a log as well with the error I’m getting.