- cross-posted to:
- linux@programming.dev
- cross-posted to:
- linux@programming.dev
Setting up Sunshine and Moonlight for high performance game streaming on Linux
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.
is the output of the log (in the sunshine configurator web page) showing any codec errors? give that a read and report back to us with more info.
i had a similar problem before and it was related to permissions and how it was installed. the sunshine packages are finnicky as fuck on linux.
It works brilliantly on my Linux host with a 7800 XT, I think you might have an unrelated issue.
I use Sunshine+moonlight to stream from my Linux desktop (7900xtx) to my Steam Deck and it works great. Even AV1 streaming works.
Sunshine should be able to do hardware encoding for that GPU, it has support for VA-API
Sunshine uses VA-API for AMD GPUs, works fine on my RX 6600
It works fine on my 7800XT.
They’re just confusing ‘This isn’t working for me’ with ‘This isn’t working for Linux’
My 7900xt works great, could Be some other issue
Can you run this headless, or do you need Wayland running?
You can. Look at “Games on Whales” github. I run it daily with that hosting in a server and streaming on my tv
Thank you, I will check this out!
… 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).
Thank you, and yes, I meant not needing to be plugged into an active monitor with mouse and keyboard running.
I think from just this discussion I’m realizing some of what I didn’t know I didn’t know/misunderstood about the whole desktop system on Linux.
This might be a time when an ignorant point of view helps, like mine. I don’t know anything about Wayland- Is it like Zululand but where the Way tribe lives? Anyway, my naive assumption is OP was wondering if you can run it on a server that does not have a display plugged in.
Duh, stream a b&w tty terminal in all of its glory! What is ssh?
I used this some time ago on a raspberry pi to steam games from my desktop to my couch and TV. It worked great. Now, I run it in my laptop and plug it to the TV from time to time. Still a great setup.






