vfio VS gamescope

Compare vfio vs gamescope 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)

gamescope

SteamOS session compositing window manager (by ValveSoftware)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
vfio gamescope
32 56
173 2,652
- 6.0%
7.0 9.7
about 1 month ago 2 days ago
Shell C++
GNU General Public License v3.0 only GNU General Public License v3.0 or later
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.

gamescope

Posts with mentions or reviews of gamescope. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-19.
  • The Linux graphics stack in a nutshell, part 1
    3 projects | news.ycombinator.com | 19 Dec 2023
    I think your information is quite outdated. The HWC overlay planes are heavily used, you can see this trivially just doing a 'dumpsys SurfaceFlinger' or grabbing a systrace/perfetto trace. When it falls back to GPU composition it's very obvious as there's a significant hit to latency and more GPU contention.

    The overlay capabilities of the modern Snapdragons are also quite absurd. They support like upwards of a dozen overlays now and even have FP16 extended sRGB support. Some HWCs (like the one in the steam deck) even have per plane 3D LUTs for HDR tone mapping (ex https://github.com/ValveSoftware/gamescope/blob/master/src/d... )

    The composition is bandwidth heavy of course, but for static scenes there's a cache after the HWC in the form of panel self refresh.

  • Gamescope -- How do I get this to work on Endeavouros?
    1 project | /r/linux_gaming | 6 Dec 2023
  • Firefox Is Going to Try and Ship with Wayland Enabled by Default
    3 projects | news.ycombinator.com | 15 Nov 2023
    One of the unfortunate things about Wayland is every compositor will have its own quality of implementation affecting things like latency.

    With XOrg, especially in the pre-compositing days, you could choose whatever WM you want and it wouldn't have any impact on the rendering performance of X clients. Once the Composite extension was added and everyone started running composited X desktops, that started to change, and the increased latency already started appearing - in an arguably worse architecture than Wayland because there were often three processes involved with lots of IPC per draw: X-Client->X-Server->X-Compositor->X-Server->CRTC. At least in Wayland it's more like Wayland-Client->Wayland-Compositor->CRTC.

    If you're unhappy with the rendering latency of your Wayland sessions, it may be worth trying alternative compositors... they likely vary significantly. The Valve/Steam folks have made a minimal one specifically optimized for games/low-latency [0]. I doubt the SteamDeck would be seeing as much success as it is if Wayland were so problematic in this department.

    [0]: https://github.com/ValveSoftware/gamescope

  • BG3 splitscreen on two monitors?
    1 project | /r/linux_gaming | 29 Oct 2023
    Use gamescope.
  • Help needed to confirm two 3.5 bugs
    2 projects | /r/SteamDeck | 24 Sep 2023
    While streaming from the Deck to another device (phone with Steam Link app or another PC running steam), taking a screenshot on the Deck (hold the steam or ... button, and press R1) crashes the session (https://github.com/ValveSoftware/gamescope/issues/961). This one also impacts Decky Recorder. If you're recording the screen or have replay mode on and take a screenshot, you'll have a crash.
  • I haven't seen much posted about it here, so I wanted to point out Valve's gamescope micro-compositor (Linux Gaming)
    1 project | /r/linux | 21 Sep 2023
  • Gamescope adds support for Reshade effects
    1 project | /r/ReShade | 17 Sep 2023
    1 project | /r/linux_gaming | 17 Sep 2023
  • Force V-Sync or limit fps in proton games
    4 projects | /r/linux_gaming | 5 Sep 2023
    Mangohud (GOverlay), libstrangle, gamescope. Pick your poison.
  • FYI on video corruption in cmd and terminal windows
    1 project | /r/EryingMotherboard | 20 Aug 2023
    Hey folks. I've got a 11900H motherboard and use the iGPU and stock Intel graphics drivers that I keep current. Even at baseline (so without overclocking of any kind, with good Corsair memory sticks configured without XMP and regardless of voltage), I would be able to use Windows 11 and the CMD or Terminal programs without issue but after some time they would be corrupt and unreadable. The fix was in Terminal, go into Settings, then Render, and turn on Software Rendering. I hope this helps someone else. FYI the corruption was very much like other Intel UHD graphics samples reported in this link: https://github.com/ValveSoftware/gamescope/issues/356

What are some alternatives?

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

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

gamescope-session - ChimeraOS session on Gamescope - Own personal repository, issues and forks should be made on ChimeraOS/gamescope-session

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

gamemode - Optimise Linux system performance on demand

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

holoiso - SteamOS 3 (Holo) archiso configuration

gpu-passthrough-tutorial

MangoHud - A Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more. Discord: https://discordapp.com/invite/Gj5YmBb

WOA-Drivers - Windows Drivers for Qualcomm Snapdragon platforms

sway - i3-compatible Wayland compositor

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

LatencyFleX - Vendor agnostic latency reduction middleware. An alternative to NVIDIA Reflex.