- cross-posted to:
- linux@programming.dev
- opensource@programming.dev
- cross-posted to:
- linux@programming.dev
- opensource@programming.dev
Setting up Sunshine and Moonlight for high performance game streaming on Linux
Can you run this headless, or do you need Wayland running?
… 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.
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.
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).
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.
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.
Sunshine should be able to do hardware encoding for that GPU, it has support for VA-API
I don’t know if it’s the encoder or Wayland being Wayland, but there stutters on the stream (but not the host screen) using VA-API.
Using the same host/receiver on windows (but a different encoder) there’s no issue so not sure it’s related to VRR or framerate matching as many suggest.
Sunshine has managed to brick my displays twice on Linux. It’s wild how poor sunshine is on Linux.
Moonlight works flawlessly tho.
Like hard reset required “bricked” or dumpster bricked?


