Howdy,
I’ve been trying to get sunshine setup on my arch (btw) install and things aren’t going the smoothest. My PC has a 4080 and is hardwired to my wifi 7 router and the device I’m streaming to is an AYN Thor. All of those should be relatively beefy devices so there shouldn’t be any bottlenecks there. When I begin streaming a game however, my Thor displays my incoming framerate from the network as, at most, ~30ish FPS. This is despite the fact I can see the game running on my PC at 120+ FPS. Doing some googling it looks like the most likely culprit is just Wayland’s compositor, I guess? It was suggested to try in x11, but Jesus I would hate having to log out of my Wayland instance and into x11 just to stream games.
Anyone stream games on their Linux install? Can anyone think of anything else I can try to increase the framerate? Would really like for this just to work and not need to have a whole process to stream something basic like Xcom or something. Thanks for your guys’ insight!
EDIT: Following in this guy’s footsteps, uninstalling the AUR’s sunshine and instead using the latest build from GitHub seems to have fixed the issue.
I believe this is an issue with Nvidia’s more recent drivers and sourcing various libraries. See this issue here to get a sense of whether this is your problem or not, and try to get some log output to confirm and helps debug. That issue is not going to solve your problem, just help in debugging.
It would also be good to get a comparison from a different streaming kit to rule out networking issues. If you have Steam, try running a few games through Remote Play and see what happens there, or try Apollo and see if there is any difference.
Have you tried both Apollo and Sunshine? If so, do you prefer Apollo more?
It just has some QoL automations centered around resolution config creation and Virtual Displays/Desktops. The internal bits and pieces are the same otherwise.
Ah, sweet, thanks for the info. Having to unplug my ultrawide so it uses my secondary monitors 16:9 aspect ratio would be a nice issue to avoid, I’ll try out Apollo.
Yeah it might be the same issue but not sure if it’ll be applicable. The OP mentions he’s running windows 11 so idk if the issue is the same. Unfortunately as far as I can tell remote play was just broken last time I tried it on arch hence when I’m trying sunshine. And Apollo doesn’t support Linux yet which is a bummer because I guess it’s better than sunshine?
Apollo very much runs on Linux. It’s a fork of Sunshine: https://docs.lizardbyte.dev/projects/sunshine/latest/#️-system-requirements
Isn’t that just the sunshine documentation? On the Apollo GitHub page you linked it says Linux version is in the works
It is a fork…of Sunshine.
Build and run it the same way you would run Sunshine.
But that’s not the whole point of my post. Run ANYTHING else and get a comparison or some logging output. Right now you’re just assuming it’s a problem with Linux or your system as a whole, and you have no comparison to prove that. More info gets you better steps to solving your problem.
Ah I see. This is my first Linux install so wasn’t aware I could just build it and run it. When googling people were just saying it wasn’t available on the AUR so I thought it was just a no go. I’ll try seeing if I can get something else to run
Try Parsec. If it works as expected, then you have something wrong with your Sunshine config, or your available libraries. Post logs from Sunshine if Parsec works fine.
Well, I got steam remote play working and was able to get it working flawlessly. Ran Avalon Tainted Grail (relatively demanding game) at 120ish on both the local machine and streamed to my remote device. So it should just be something with Sunshine. Do you think I should just uninstall Sunshine and make a build of Apollo and see how that goes? I dug through Sunshine’s settings again and not seeing anything screaming out to me saying it’s wrong. Unfortunately I’m away from my PC right now so can’t get logs but I can post those later once I’m home.
I have an extremely similar setup and I’m about to make the move to linux (& wayland). Would love to hear any tips you’ve learned or issues you’ve encountered!
Fixed the issue, read my edit!
Appreciate it, bossman 🙏
Well if I can get it fixed I’ll let you know haha. Theoretically it should be possible, I just streamed some games at 120FPS on steam remote play flawlessly. So now just need to get it working on sunshine. Check back in a week or so haha
I haven’t done it, but the first thing that I’d be inclined to suspect is the wireless network, not Wayland; you don’t know what else is also transmitting on those frequencies.
I’d check to see whether your machine is maxing out the CPU (
top) or GPU (nvidia-smi) and whether changing the streaming resolution affects the framerate.I haven’t monitored system resources yet because the games I was testing I knew wouldn’t stress the system (Hades or something) and it worked perfectly on my windows build. I’ll try checking it out now though just to see.
What would you suggest for checking the network? Are you talking about like actual RFI or like a packet sniffer kind of thing?
What would you suggest for checking the network?
Well, on the Linux side, something like
bwm-ngwill tell you the total throughput through an interface, and if you can transfer a file across the two, you can probably get a feel for how much bandwidth is practically available to do.If you’ve been able to move that much over the network before, though, that’s a fair argument that that’s not the cause.
I run Sunshine on Arch-KDE-Wayland with a 4070Ti and stream at 1440 to another PC running the same thing. I haven’t checked frame rates in a while but it seems to be running fine for me.
Does the Thor run Linux with the standard Moonlight client? If you haven’t looked yet, double check Moonlight’s settings and make sure the frame rate, resolution, and other settings look ok.
If you’re streaming a Steam game, also make sure Steam doesn’t have it’s recording enabled. I think Valve enabled it by default some time ago and that tanked my frame rate at the time. There’s a “Game Recording” section in Steam’s settings where you can turn it off.
Sunshine also has logs in the Troubleshooting section on its web client. Maybe see if there’s anything fishy in there too.
Glad to hear that it should work, gives me some hope at least. The Thor is an android based handheld but yeah it should support higher framerates easy. Double checked all settings so it should just work. What I didn’t try is turning off game recording, will give that a go. Thanks!



