Setting up Sunshine and Moonlight for high performance game streaming on Linux

  • g0nz0li0@piefed.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    21 days ago

    Sunshine worked brilliantly under Windows 11, but unfortunately on Linux it lacks the ability to encode the video stream using my RX 7800 XT and microstutters like crazy.

    • inclementimmigrant@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      21 days ago

      I guess the question is did you set up VA-API and do you have an processor with integrated graphics?

      When I set my instance up, I had to do just a bit of ID’ing since my processor/MB has a iGPU at device 0 that was for debugging purposes and wasn’t going to be up to snuff for encoding.

    • ferret@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      0
      ·
      21 days ago

      … what exactly do you intend to stream without a display server running? Yes you can run it headless, but you still need x11 or wayland obviously.

      • panda_abyss@lemmy.ca
        link
        fedilink
        arrow-up
        0
        ·
        21 days ago

        I’m relatively new to Linux and this is deeper than a usual topic into a stack I don’t know.

        I have a server, it has a graphics card, and I already have steam running with GameScope so the whole app renders into a single frame buffer.

        I just don’t know how the graphics/app pipeline plumbing needs to work to be able to run that headlessly and stream it, which would be my ideal situation.

        • Nibodhika@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          21 days ago

          For this to work you need a display to send through the network, but that display needs not be a physical one. So depending on your definition it can be run headless. If you meant without it being plugged to a display then yes, if you meant without having graphical stack installed then no (there would be no point to streaming display without a display).