vfio VS Sunshine

Compare vfio vs Sunshine and see what are their differences.

vfio

A script for easy pci and usb passthrough along with disks, iso's and other useful flags for quick tinkering with less of a headache. I use it for VM gaming and other PCI/LiveCD/PXE/VM/RawImage testing given the script's accessibility. (by ipaqmaster)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
vfio Sunshine
32 430
175 12,589
- 7.7%
7.0 9.7
about 2 months ago 5 days ago
Shell C++
GNU General Public License v3.0 only GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

vfio

Posts with mentions or reviews of vfio. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-02.
  • How hard is it to set up a Single GPU Passthrough Win10 VM
    3 projects | /r/VFIO | 2 Apr 2023
    If you love wasting time you could give my script a shot as well from a terminal with your gpu as the -pci argument, but you'll also want to give it your USB controllers too.
  • AMD 7950X3D a VFIO Dream CPU?
    1 project | /r/VFIO | 8 Jan 2023
    In my script I have -name main,debug-threads=on in my qemu command which helps me find which child thread is the iothread. I do my pinning using the same debug thread name discovery method.
  • tired of virt-manager
    1 project | /r/VFIO | 22 Dec 2022
    Yeah my script is public and can be found here. I've thought about making an actual link post here a few times in the past but I guess the time to do so never really came up.
  • I Gave up VFIO due to I/O problems causing stutter in any VM - Unsuccessful/Unpopular Story
    2 projects | /r/VFIO | 2 Dec 2022
    These boot arguments allow me to give my VM cores 3,11 to my guest while my host continues to operate (and handle any IOThreads I may have running for the guest) on the remaining cores 0(thread0,12), core1(thread1,13) and core3 (thread2,14). Personally, I handle my pinning dynamically with a bash script I wrote and still today find myself adding features and making improvements to. It can be found here if you want to give it a shot for your use case.
  • Easiest GPU Passthrough [GPU Passthrough Manager]
    1 project | /r/VFIO | 15 Nov 2022
    How does this compare to /u/ipaqmaster's script which accepts one-liners for single or dual and you're set?
  • Archcraft single gpu passthrough
    1 project | /r/VFIO | 5 Sep 2022
    You'll get further posting here by detailing what exactly is going wrong when you try and any configuration and scripts you tried to do it with. There are also scripts which try to be the everyman and do it all for you such as this vfio bash script written by one of the members here.
  • QEMU/KVM with VFIO passthrough kinda slow
    2 projects | /r/VFIO | 10 Jun 2022
    You may wish to try my vfio script which handles all of that automatically. Could be worth a try.
  • Single GPU issues (Arch Linux)
    2 projects | /r/VFIO | 18 May 2022
    I've missed no opportunity to plug it lately, but the slew of people using hardcoded scripts copy-pasted from some guide or youtube video has never felt right to me. I made my own dynamic script which handles most vfio problems on the fly rather than hardcoding start.sh/stop.sh scripts per configuration. It could be worth checking out given I made it for Archlinux (my desktop) and you seem to be running that too.
  • All of a sudden Win10 guest is unplayably laggy
    1 project | /r/VFIO | 18 Apr 2022
    I use this script to help start the qemu VM (there were no recent changes to the script) (I can paste the full qemu_system_x86_64 command if that would help) https://github.com/ipaqmaster/vfio
  • Fan Speed at 100% when VM offline
    1 project | /r/VFIO | 15 Mar 2022
    Well, if you'd be willing to give it a test drive just for fun I made and use this for my daily VFIO ease of access if you'd want to give it a try.

Sunshine

Posts with mentions or reviews of Sunshine. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-27.
  • Show HN: A Vulkan-Video-based game streaming tool for Linux
    3 projects | news.ycombinator.com | 27 Apr 2024
    > Would the Swift UI also work on an iPad?

    Yes, but probably not for the first version.

    > Do you have any comparisons with other tools (eg steam streaming, moonlight)

    Steam streaming just doesn't really work on linux. Moonlight is somewhat similar in terms of direction, and has an established client base. I know of at least two projects to build servers for the Moonlight protocol[1][2].

    The Moonlight protocol is a bit weird, because it's an open-source reverse engineering of a dead NVIDIA project, GeForce now. There are fundamental limitations to the protocol, for example that the cursor must be rendered in-stream or simulated. Using my tool, the cursor is rendered locally, and custom cursor images can actually be pushed to the client, for a seamless experience. This sounds like a minor detail but it matters a lot for subjective latency. I'm also working on employing tricks like hierarchical coding using FEC in the protocol, because I hate VBR encoding for games (it makes text blurry and breaks immersion). Those tricks aren't really possible in Moonlight.

    All of the Linux solutions I know about have significantly higher latency compared to Magic Mirror, although I don't have numbers for exactly how much higher. (I have a benchmark to test the latency of my tool, but the others don't.) I'd encourage you to try them out and get a feel for the difference.

    Finally, I think Magic Mirror is the easiest to install and get going on the server. It has almost zero runtime library or service dependencies (there's a pesky dynamic link against libxkbcommon which I haven't managed to remove), so you don't need to mess with pipewire or docker or anything - it's completely self-contained.

    All that said, the existing tools have the advantage of a larger user and contributor base, whereas Magic Mirror is just me on a mission so far :) So they're likely to be much more stable and usable.

    [1]: https://github.com/LizardByte/Sunshine

  • Why is remote desktop slow when host monitor is off unless HDMI cable is used?
    4 projects | news.ycombinator.com | 10 Apr 2024
    RDP as a regular or quick solution is actually really decent in this respect.

    (1) https://app.lizardbyte.dev/Sunshine

  • AMD Funded a Drop-In CUDA Implementation Built on ROCm: It's Open-Source
    23 projects | news.ycombinator.com | 12 Feb 2024
  • How do I stream games from PC to Nvidia shield with an AMD card?
    1 project | /r/nvidiashield | 10 Dec 2023
  • Microsoft launches Windows App for accessing PCs in the cloud from any device
    2 projects | news.ycombinator.com | 16 Nov 2023
    Moonlight + Sunshine for a self hosted solution, works with every OS

    server: https://github.com/LizardByte/Sunshine/

    client: https://github.com/moonlight-stream

  • KDE Plasma 6.0 Is Enabling Wayland by Default
    4 projects | news.ycombinator.com | 11 Nov 2023
    You could use sunshine (https://github.com/LizardByte/Sunshine) + moonlight (https://github.com/moonlight-stream/moonlight-qt). To be honest, at least for me, it works better than most of the RDP/VNC stuff.
  • Give Moonlight a chance if you haven't tried it lately
    2 projects | /r/SteamDeck | 3 Nov 2023
    EDIT: Just checked again, original was released early 2020, current maintained project started 2022.
  • RG353VS Moonlight
    1 project | /r/ANBERNIC | 29 Oct 2023
    On your pc, install Sunshine. It's an open source moonlight server. There's a good walk through on the sunshine github page. Connect your handheld to the wifi running the server & open moonlight. Should work.
  • Introduction
    9 projects | dev.to | 28 Oct 2023
    I discovered the moonlight client and sunshine server a few months ago. These are open source solutions to provide remote gaming/desktop capabilities with built in input and audio passthrough. I tried NoMachine, but I wasn't able to get audio to work. This looks like a known issue on arch. On sunshine, I didn't have to do any extra tweaking! This allowed me to game on my desktop pc without having to sit at my desk. This was especially helpful while watching my 2nd son. I was really impressed by the performance, I could stream my host's display at high resolutions and frame rates with low latency despite my desktop being in the basement using WiFi. I was getting some instability with WiFi, so I wanted to try connecting my desktop to the router via Ethernet. I decided to go with a headless solution because that gives me more flexibility on the placement of the desktop; I ended up moving my desktop upstairs closer to my router. I figured out a way to stream my hosts display headless by using Nvidia TwinView to create the virtual display. This means I don't need to buy any HDMI/DP dummy plugs. I wrote a Linux Guide for sunshine on how to set this up. If you have any feedback on this guide, let me know! I haven't tried this, but wolf is an interesting docker alternative to sunshine.
  • Sunshine vO.21.0 released!
    1 project | /r/cloudygamer | 18 Oct 2023

What are some alternatives?

When comparing vfio and Sunshine you can also consider the following projects:

Complete-Single-GPU-Passthrough - Single GPU VFIO Passthrough Guide

rustdesk - An open-source remote desktop, and alternative to TeamViewer.

seabios - Mirror of git.qemu.org/seabios.git

openstream-server

vfio-pci-bind - Automatically bind a PCI device and all of it's IOMMU group members to vfio-pci

vita-moonlight - NVIDIA Gamestream client for PlayStation Vita, based on moonlight-embedded

gpu-passthrough-tutorial

parsec - A monadic parser combinator library

WOA-Drivers - Windows Drivers for Qualcomm Snapdragon platforms

switch-remote-play - Let the switch remotely play PC games (similar to steam link or remote play)

LEDs-single-gpu-passthrough - Single GPU passthrough guide 单显卡直通教程资源

nvidia-patch - This patch removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs.