cross-posted from: https://lemmy.ml/post/19558837

I figured out how to easily use Steam headlessly for Remote Play on Linux.

Took me a few hours to figure out, with some questions asked, but with this, I no longer have to deal with Sunshine or other janky ways of playing (steam) games remotely.

I’ll be making a repository with some packaging andother convenience functions soon.

  • Clocks [They/Them]@lemmy.mlOP
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    4 months ago

    What do you mean requiring a monitor / display plugged in? I have some connected, but they are all powered off.

    Perhaps one of them does that thing where it does not disconnect from the system?


    In regards to bandwidth, If you are emulating a PS Vita, no need to stream 1080p content? You can setup the script to limit the UI resolution to 480p! Perhaps that may help?


    For me, this works, and is quite fun to use! I am sad that it does not seem to work for you?

    • LainTrain@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 months ago

      monitor / display plugged in? I have some connected, but they are all powered off.

      Sunshine requires X to be running, which requires some sort of hardware display connected. Either a dummy HDMI plug, or a real HDMI display. My Linux server is completely headless, tucked away in a wardrobe, I have no spare monitors to plug into it and it wouldn’t be all that useful to just have a functioning monitor hanging out on top of it just for it to never be used.

      If this is wrong, please feel free to correct me, I’m happy to try again but the last time I tried sunshine would not stream due to the fact there was no monitor and no virtual monitor solutions would work.

      Well actually, there is one virtual display solution that worked - Chrome Remote Desktop, but it’s janky to keep that connection open while using sunshine, and because of audio routing it meant the sound was in chrome remote desktop, not streamed through sunshine, and controls wouldn’t work.

      If you are emulating a PS Vita, no need to stream 1080p content?

      Wat.

      I’m not emulating a PS Vita, I am streaming PC games to my actual real OLED OG PS Vita.

      This is why the OP solution of using Steam Link which is miles better than Jank-shine would not work for me, because the Vita does not have Steam Link.

      • Clocks [They/Them]@lemmy.mlOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        If this is wrong, please feel free to correct me, I’m happy to try again but the last time I tried sunshine would not stream due to the fact there was no monitor and no virtual monitor solutions would work.

        Just confirmed on call with my sibling, my desktop had 0 monitors plugged in, and this method works for me. Maybe try it out and see?

        I’m not emulating a PS Vita, I am streaming PC games to my actual real OLED OG PS Vita.

        Oo, That sounds awesome! How long have you been doing that?

        • LainTrain@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          4 months ago

          If by “this method” you mean Steam Link like OP then yes that does work. It does not work in Sunshine however, and I need Sunshine, because obviously there is no Steam Link on a PS Vita.

          Obviously I tried the sunshine method out or I wouldn’t have outlined all the things I tried to fix it with otherwise.