Check out our Monthly Survey Page to see what our users are running.
We do often include affiliate links to earn us some pennies. See more here.

Moonlight and Sunshine are projects that allow you to stream your entire PC over your network, useful if Steam Remote Play doesn't work well and as an alternative to NVIDIA GameStream. Both projects recently had major upgrades.

You would use Sunshine on the host machine, and then Moonlight on the device you wish to play on. Setup can be a little tricky depending on your Linux distro and how you're running Sunshine, so make sure you read the docs.

Moonlight PC v5.0.0 went out with these new features:

  • Custom FPS values
  • Streaming using the AV1 codec from Sunshine hosts
  • Horizontal scrolling with Sunshine hosts
  • Native multi-touch input with Sunshine hosts*
  • Controller type information is passed to Sunshine for controller type autoselection*
  • Extended features of PS4/PS5 controllers (touchpad, battery state, gyro/accelerometer motion, and RGB LED) are natively passed to Sunshine hosts*
  • Support for up to 16 gamepads with Sunshine hosts
  • Frame pacing support on Wayland
  • Host-side processing latency is now displayed in the performance overlay with Sunshine hosts
  • Window title now includes the PC name when streaming
  • Alphabetical sorting of the PC list
  • Dynamic decoder detection for improved support of custom FFmpeg builds
  • Updated Play and Stop button design to improve contrast with app box art
  • Older log files are automatically cleaned up
  • The settings page automatically scrolls to the selected element when using keyboard or gamepad navigation
  • Pressing Share+PS buttons on PS4/PS5 controllers can be used to emulate a clickpad press
  • Improved audio quality when streaming with a high bitrate from remote hosts
  • Increased mouse polling rate

*Notes only for Sunshine 0.21.0+

There's plenty of bug fixes, and a couple of tweaks to the Linux support too.

On top of that the Sunshine 0.21.0 release also went out a few days ago with these new features:

  • (Input) Add support for automatically selecting the emulated controller type based on the physical controller connected to the client
  • (Input/Windows) Add support for Applications (context menu) key
  • (Input/Windows) Implement touchpad, motion sensors, battery state, and LED control for the emulated DualShock 4 controller
  • (Input) Advertise support for new input features to clients
  • (Linux/Debian) Added Debian Bookworm package
  • (Prep-Commands) Expose connection environment variables
  • (Input/Windows) Implement pen and touch support
  • (Capture/Windows) Add standalone NVENC encoder
  • (Capture) Implement AV1 encoding
  • (Network) Implement IPv6 support
  • (Capture/Windows) Add option to disable realtime hags
  • (Graphics/NVIDIA) Add an option to decrease GPU scheduling priority to workaround HAGS video hang
  • (Capture/Linux) Add FFmpeg powerpc64le architecture for self compiling Sunshine
  • (Capture/Windows) Add support for capturing rotated displays
  • (System Tray) Implement streaming event notifications
  • (UI) Add port configuration table
  • (Applications) Added option to automatically treat launcher type apps as detached commands
  • (Input/Gamepad) Allow the Misc button to work as Guide on emulated Xbox 360 controllers

I've been testing it out today, and one annoying issue I've come across is that on KDE Plasma Wayland, the mouse cursor seems to be invisible which is quite a nuisance. This seems to be a known issue with a GitHub report giving some temporary workarounds. Hopefully a proper solution can be found and fixed. Wayland seems to add some extra complexity to many things on Linux.

Have you been using Moonlight / Sunshine? What are your thoughts on it? Any good tips to share?

Article taken from GamingOnLinux.com.
Tags: Misc, Open Source
12 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly checked on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly.
See more from me
The comments on this article are closed.
5 comments

Thibug Oct 18, 2023
QuoteHave you been using Moonlight / Sunshine? What are your thoughts on it? Any good tips to share?

I have been using both for some time (But not often as I don't have much time to play anyway), and it's quite nice being able to have access to my computer anywhere.

One tip if you have multiple screens : You can use CTRL+ALT+SHIFT and F1 to F12 to change the display used, very nice when a window don't go on the main display
rustigsmed Oct 19, 2023
Yes - I use Sunshine on a headless vm on my home server, can stream to moonlight my LG tv (with ps5 controller working), phone and of course other pcs. great for remote gaming or editing. Better than steam's remote play with the ability for 120hz and desktop use. Highly recommended.


Last edited by rustigsmed on 19 October 2023 at 12:33 am UTC
Pikolo Oct 19, 2023
Quoting: rustigsmedYes - I use Sunshine on a headless vm on my home server, can stream to moonlight my LG tv (with ps5 controller working), phone and of course other pcs. great for remote gaming or editing. Better than steam's remote play with the ability for 120hz and desktop use. Highly recommended.
How does your TV run Moonlight? Do you have a Steam Link dongle?
rustigsmed Oct 19, 2023
Quoting: Pikolo
Quoting: rustigsmedYes - I use Sunshine on a headless vm on my home server, can stream to moonlight my LG tv (with ps5 controller working), phone and of course other pcs. great for remote gaming or editing. Better than steam's remote play with the ability for 120hz and desktop use. Highly recommended.
How does your TV run Moonlight? Do you have a Steam Link dongle?

No dongle - had to put tv into developer mode and then pretty sure I went to install the WebOS Homebrew - which allows you to install a number of apps (not all working these days - but moonlight is there and works great - it's a community fork - mariotaku - github). PS5 controller i just setup through the tv. Moonlight can launch straight to steam big picture or the desktop.
Mohandevir Nov 21, 2023
Sorry! Late to the party! First time sunshine user.

Got questions... Anyone been able to use a Steam Controller on such setup? It seems to be recognized as a mouse only (Android TV client).
I also read that sunshine supports AMD GPU... Is it working well with the RX 6000 series?

Edit: Just had a look at your PC Info... RX 7900 XTX and RX 6700 XT. Seems it works well with AMD GPU.


Last edited by Mohandevir on 21 November 2023 at 2:55 pm UTC
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
The comments on this article are closed.