A gamer plays on a TV as glowing icons show a PC streaming fantasy gameplay through a router, day or night.
Streaming PC games to a living-room TV with Sunshine and Moonlight needs no HDMI run from the PC to the TV, but it isn't magic. The PC does all the rendering and the TV only decodes a video stream. This guide covers the setup, the settings worth testing, and the places it tends to go wrong.

MakeUseOf's walkthrough uses a Linux gaming PC and an Android TV device. The same approach works on other hosts, and the steps below note where the Linux details change.

A gamer plays on a TV as glowing icons show a PC streaming fantasy gameplay through a router, day or night. How it works: the host renders, the TV decodes​

  • Sunshine runs on the gaming PC. Moonlight is essentially a client for Sunshine, which is a self-hosting service that streams your games and desktop to another display.
  • Moonlight runs on the TV or a box attached to it. XDA-Developers describes the pairing as a server program on the PC and a streaming client on the Android TV. The Moonlight client can be found in the Play Store.
  • Nothing runs natively on the TV. The picture and the controller input travel over your network.

"Without a single cable" therefore means no video cable between the PC and the TV. Both ends still need a network connection, and a wired link at one or both ends is recommended.

Which PCs can host​

Sunshine's documentation says it supports AMD, Intel, and Nvidia GPUs for hardware encoding, and software encoding is also available. Its published binaries cover FreeBSD, Linux, macOS and Windows. So this isn't a Linux-only trick, and Windows gaming PCs are the most common host.

Sunshine's overview page lists these minimum requirements, and warns that the tables are a work in progress and not a basis for buying hardware:

  • Windows: Windows 11 or later.
  • Linux: Debian 13, Fedora 43 or Ubuntu 22.04 and newer.
  • macOS: 14.2 or later.
  • GPU: an AMD, Intel or Nvidia GPU with a supported hardware encoder.
  • Network: 5 GHz 802.11ac on both host and client, as the minimum.

Moonlight's own setup guide is older and its version list differs, so check Sunshine's current docs for your OS.

Step 1: Install Sunshine on the host PC​

Windows: use the installer. Sunshine's docs call the MSI installer the recommended route. They also tell you to choose carefully among the optional components and not to install or enable features blindly. Moonlight's guide adds that your PC may need a reboot to finish setup and for controller emulation to work.

Linux: the MakeUseOf example uses sudo pacman -S sunshine, which is Arch-specific. Sunshine's documentation says LizardByte publishes DEB and RPM packages, and Arch users can use LizardByte's pacman repository. If you build from the AUR instead, an Nvidia GPU needs the CUDA Toolkit installed before the build. The prebuilt LizardByte Arch package already includes CUDA support.

To start Sunshine at login on Linux, the docs give this command:

systemctl --user --now enable app-dev.lizardbyte.app.Sunshine

The docs also note that the service is aliased to sunshine.service. The shorter name in the article should therefore work on current builds. If it doesn't, use the full name.

Linux input is a common failure point. The docs say that to create virtual keyboards, mice and gamepads you must add your user to the input group. They also say that if inputs don't work after connecting, this is the first thing to check on FreeBSD and Linux.

Step 2: Create the web UI login​

Sunshine's configuration page is at [url]https://localhost:47990[/url] by default. You can swap in the PC's internal IP address to reach it from another device on the LAN. Your browser will warn that the site is not secure. The docs say to ignore this, because the certificate is self-signed.

Moonlight's setup guide stresses that the first-run username and password matter. Anyone with access to that interface can add new clients that reach your computer remotely. Pick a strong password and keep it.

Step 3: Install Moonlight and pair​

  1. Install Moonlight on the TV. MakeUseOf says it's available from the Play Store on virtually any modern Android TV-enabled device. Treat that as "check yours". Roundups of TV setups list Google TV, Fire TV and Apple TV as official routes. LG webOS goes through a community port.
  2. Put the TV and PC on the same network.
  3. Open Moonlight. Your PC should appear automatically on the same local network. If not, use the Plus icon and enter the PC's IP address manually.
  4. Select the PC. Moonlight shows a PIN.
  5. On the PC, open the Sunshine web UI, go to the PIN section, enter the code and name the device. Sunshine's docs say you should get a success message.
  6. In Moonlight, pick an application. Sunshine's Applications list includes a Desktop entry, which streams the whole desktop instead of one app. The docs say Steam can be added as an application. They warn that launching Steam as a non-detached command can make the stream fail straight away.

Pair on your home network first. Moonlight's guide recommends getting local streaming working before you try the internet.

Settings worth testing​

MakeUseOf's suggested Moonlight settings are the author's starting points, not official requirements:

  • Native game resolution.
  • A frame rate matching the TV's refresh rate (60 or 120 Hz).
  • V-Sync on.
  • Fullscreen GUI mode.

If the stream stutters, drop the resolution or bitrate before anything else. One setup guide suggests proving the setup at 1080p60 first. That is a community recommendation, not official guidance.

On the GPU side, MakeUseOf's advice is to match the capture and encode method to your GPU:

  • Linux with open-source drivers (AMD, Intel): VA-API or Vulkan capture.
  • Linux with Nvidia: the latest proprietary drivers and the Nvidia-specific capture method.
  • Windows: the same idea, with AMD and Intel using their own separate encoders.

Sunshine's compatibility tables show that capture and encoder combinations are not interchangeable on Linux. For example, NvFBC capture works only with the NVENC (CUDA) encoder.

AV1 and higher bitrates may give a sharper picture, but only if the host encoder, TV decoder and network all support them. HDR is also conditional:

  • Sunshine's docs say HDR streaming is officially supported on Windows hosts and experimental on Linux.
  • HDR must be active on the host.
  • The HDR option must be enabled in Moonlight, or the stream will be SDR.

Wired or wireless?​

MakeUseOf's advice is to run Ethernet to the TV if you can. Moonlight's guide is more specific. It strongly recommends 5 GHz Wi-Fi 5 or Wi-Fi 6 to the client and highly recommends a wired connection from the PC to the router. Sunshine lists CAT5e Ethernet or better on both host and client as its suggestion for 4K and HDR.

In practice:

  • Wired PC and wired TV is the safest setup.
  • Wired PC with a good 5 GHz link to the TV can work.
  • Weak signal in the TV room causes the dropped frames, interruptions and disconnects the article describes.

Ethernet is a stability recommendation, not a requirement, and results vary with your router, TV box and room.

Troubleshooting checklist​

  • PC doesn't appear in Moonlight: confirm Sunshine is running, then add the PC by IP address. Restart both apps after any firewall or network change.
  • Pairing error after entering the PIN: Moonlight's guide points to its troubleshooting page. Sunshine's Troubleshooting tab has logs.
  • No controller or mouse input on Linux: add your user to the input group.
  • Stream dies when launching Steam: run it as a detached application.
  • Black screen or wrong GPU on Windows: Sunshine uses the Desktop Duplication API, which captures only from the GPU used for display. For an eGPU, connect a display or an HDMI dummy plug to it.
  • Washed-out HDR: enable HDR on the host and in Moonlight, then calibrate.

Desktop streaming​

Moonlight can stream a whole desktop session, so the TV can also show the PC's desktop. MakeUseOf's author prefers a smaller monitor for desktop work but finds the feature handy. He also suggests it for reaching the graphical interface of a headless game server. Headless setups need extra configuration, and Sunshine has a separate guide for one.

Our view​

The setup is free and open-source, and it turns a spare Android TV box into a decent living-room front end. It is not a console replacement. Results depend on your network and on the decoder in your TV or box. Treat MakeUseOf's "relatively low latency and acceptable image quality" as a fair expectation, not a promise. Start at 1080p60 over a good link, then raise resolution, bitrate, AV1 and HDR one at a time.

 

References

  1. Your smart TV can play your PC's games without a single cable MakeUseOf 2026-11-20T17:30:17+00:00
  2. Sunshine: Getting Started docs.lizardbyte.dev
  3. How to Set Up Sunshine & Moonlight: Stream PC Games to Your TV nerdzap.com