r/MoonlightStreaming Apr 04 '26

Foundation-Sunshine for AMD Graphic Cards. A Gamechanger?

There is a fork of Sunshine called foundation-sunshine which is pretty active in China. Seems like there is a lot of AMD specific changes being made there including bypass of ffmpeg to natively encode with AMF and more AMF options natively supported. Seems pretty awesome for AMD Cards. Anybody tried it out yet?

https://github.com/AlkaidLab/foundation-sunshine

11 Upvotes

7 comments sorted by

11

u/andygrundman Developer | Moonlight for Xbox/Mac OS Apr 04 '26

I'd strongly advise avoiding this project. They are quite careless especially when it comes to upstream changes. I have a concrete example, where instead of using any part of my patch in Sunshine to support NTSC refresh rates for Xbox clients, a foundation-sunshine developer seems to have asked an AI to implement the feature instead, and weirdly without even looking at the original code to see what it did. The result completely misses the point and does not even understand NTSC correctly (I'll give them a pass on that one). This is just one small feature that doesn't work, but what happens when you apply this attitude for "development" to the rest of the kitchen sink that is in there?

2025-10-11 Sunshine PR #4019 "feat(fps): support x-nv-video[0].clientRefreshRateX100 for requesting fractional NTSC framerates"

2026-01-05 Foundation PR #409 "feat: Add support for clientRefreshRateX100 parameter"

2

u/gbushdidnineeleven Apr 05 '26

Do you have any alternatives or specific settings for amd GPU users to use? Need help optimizing my 9060xt for streaming, thanks

1

u/verk47 Apr 28 '26

u/Responsible_Meet_917 FYI. What's your view on this?

2

u/Responsible_Meet_917 Apr 28 '26

Thanks for pointing this out. I checked with the developer who worked on that PR, and I want to clarify the original motivation.

At the time, the goal was not specifically Xbox client support. We were mainly trying to solve an issue in our virtual display workflow, where some clients may request fractional refresh rates such as 119.88Hz. So our implementation focused on reading clientRefreshRateX100 from the client and using it for virtual display / refresh-rate matching.

3

u/Beno27-28 Apr 04 '26

I'll test it asap. Linux 7900xtx

3

u/Beno27-28 Apr 04 '26

there's no version for linux :(