Single-GPU-Passthrough VS wslg

Compare Single-GPU-Passthrough vs wslg and see what are their differences.

wslg

Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios (by microsoft)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Single-GPU-Passthrough wslg
207 141
1,382 9,655
- 1.5%
3.4 6.1
2 months ago 3 days ago
Shell C++
- MIT License
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.

Single-GPU-Passthrough

Posts with mentions or reviews of Single-GPU-Passthrough. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-17.
  • Beginner questions re: running Windows in a virtual machine (linux host)
    2 projects | /r/VFIO | 17 Jun 2023
  • How to disable nvidia drivers?
    2 projects | /r/VFIO | 13 May 2023
    Im assuming you're on a single gpu setup and, as such are trying to do single gpu passthrough with a single nvidia card. so you'll likely have to run some libvirt hooks or smth to run scripts to unbind your gpu once you start your vm. In which case id suggest going through these two guides 1 2 which go over completely passing through your single gpu when you start your vm
  • Windows on Btrfs
    5 projects | news.ycombinator.com | 21 Apr 2023
  • GPU virtualization, RTX 3000, Nvidia, and KVM?
    2 projects | /r/VFIO | 9 Apr 2023
  • Does anyone know of a tutorial for doing single GPU(Nvidia) passthrough on Fedora 37?
    3 projects | /r/VFIO | 16 Feb 2023
    I used this tutorial before for Arch linux and it works https://github.com/joeknock90/Single-GPU-Passthrough. However I am using Fedora now and I'm trying to make sense of what I need to change or if I should follow a different tutorial.
  • GPU Passthrough
    4 projects | /r/Proxmox_BR | 29 Jan 2023
    Pci passthrough https://github.com/mbilker/vgpu_unlock-rs https://github.com/DualCoder/vgpu_unlock https://github.com/DualCoder/vgpu_unlock/issues/91 https://gitlab.com/polloloco/vgpu-proxmox https://github.com/joeknock90/Single-GPU-Passthrough https://gitlab.com/YuriAlek/vfio#start-here https://www.reddit.com/r/homelab/comments/b5xpua/the_ultimate_beginners_guide_to_gpu_passthrough/ https://forum.level1techs.com/t/single-gpu-passthrough-with-proxmox/113282/2 https://forum.proxmox.com/threads/problem-with-gpu-passthrough.55918/
  • GPU Passthough works but not the teardown.
    2 projects | /r/VFIO | 6 Dec 2022
    I used the script/tutorial form here The startup to VM works but the teardown doesn't. I experimented with other peoples teardown scripts like this one - edited to my system and as i said above, it does come back to the desktop but with an issue.
  • SUCCESS - Identical GPU passthrough, One of Fedora host, another for Windows 11 guest
    5 projects | /r/VFIO | 29 Nov 2022
    QaidVoid and Joeknock - VFIO hooks for Single GPU passthrough
  • My virtual machine with a single gpu passthrough only works for a few minutes, then works only with new machine
    2 projects | /r/VFIO | 20 Nov 2022
    Hello, I tried to make virtual machine with a single GPU passthrough for general gaming purposes. I followed this guide and this one and this is what my setup looks like: using Arch Linux as my OS, grub parameters look like this: `GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 amd_iommu=on iommu=pt video=efifb:off iommu=1"`, enabled iommu in bios (iommu groups look like that), installed those packages - `virt-manager qemu vde2 ebtables iptables-nft nftables dnsmasq bridge-utils ovmf kvm`, changed user and group in /etc/libvirt/qemu.conf to my username and my username's group (also added to kvm and libvirt group to my username), set up win 10 virtual instance with virt-manager, changed bios to UEFI (/usr/share/edk2-ovmf/x64/OVMF_CODE.fd), set topology to 1 socket 6 cores 2 threads, passed my usb mouse,keyboard and microphone to it, passed GPU and audio controller as PCI (tried using rom file for both of those, with or without - the same problem occurs), first I was trying to use risingprismtv's script for starting up and reverting vm and this The Libvirt Hook Helper with my own scripts for the start and revert states.
  • Virtualization software detected, it's new ?
    3 projects | /r/apexlegends | 26 Oct 2022
    Last year my pc has 2 graphic cards (a small geforce and and rtx 2070) i was using qemu and can switch between linux and windows easyli. Since 4 month i use now one graphic card and can't switch like before (when windows is in use, I need to shutdown to get back to linux). But it's really work. You can use passthrough with one graphic card. Tuto : https://github.com/joeknock90/Single-GPU-Passthrough

wslg

Posts with mentions or reviews of wslg. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-28.
  • FreeRDP: A Remote Desktop Protocol Implementation
    10 projects | news.ycombinator.com | 28 Sep 2023
    WSLg(Windows Subsystem for Linux GUI) uses RDP and FreeRDP to work: https://github.com/microsoft/wslg

    I haven't tried it yet, but I'm hopeful the experience is better than last time I tried Hyper-V enhanced linux experience. I imagine this use case is getting FreeRDP way more attention.

    For years I've developed in a Linux VM on a Windows host via VirtualBox. The typing lag on this, particularly in IDEs like VSCode and Rider, finally got to me. So, I moved over to WSL and have to say; the experience is amazing.

  • Wayland Is Pretty Good
    4 projects | news.ycombinator.com | 29 Jun 2023
    This is running in WSL?

    Microsoft has some wayland stuff already for WSL, though I think internally there's RDP involved: https://github.com/microsoft/wslg

  • I tried
    11 projects | /r/pcmasterrace | 11 Jun 2023
    What are you talking about? Its free forever https://github.com/microsoft/wslg
  • The world if Windows was POSIX compliant
    2 projects | /r/ProgrammerHumor | 24 May 2023
    Actually, you can https://github.com/microsoft/wslg
  • Ask HN: Windows 10-based devs, are you upgrading to Windows 11?
    3 projects | news.ycombinator.com | 3 May 2023
    Apparently, WSLg does away with the need for a separate X server, making things "easy" to use:

    https://github.com/microsoft/wslg

  • Graphics in c++ but in wsl
    2 projects | /r/cpp | 28 Apr 2023
    There's two completely different aspects to your question. 1) How to manage libraries in c++ without dying from cringe? I'd suggest you use cmake as the build system and grab library sources directly from GitHub using this tool: https://github.com/cpm-cmake/CPM.cmake 2) How to get apps that run under WSL to display windows-native windows? I'm not sure, but it's probably this: https://github.com/microsoft/wslg
  • How Can I Scale GUI Applications on WSL2.
    2 projects | /r/bashonubuntuonwindows | 24 Apr 2023
  • Your php dev workflow on Windows while using Docker
    3 projects | /r/PHP | 15 Feb 2023
    Install WSL2, install docker there and phpstorm, use x410 or any xserver or microsoft one https://github.com/microsoft/wslg.
  • Free from the Apple jail
    2 projects | /r/thinkpad | 11 Jan 2023
    It actually works with native apps. It has also opengl acceleration normally: https://github.com/microsoft/wslg
  • Updated Install Instructions Dec 2022
    3 projects | /r/bashonubuntuonwindows | 1 Dec 2022
    If you're new to WSL as I am, you'll marvel at graphical apps "just working", appearing as normal windows getting along like any other app. Under the hood, this isn't entirely unlike running a VM in "seamless mode". There are a few paths WSLG can take to make this happen, some better than other. If you have a linux GUI app running and open the windows "Task view" (by pressing Windows + Tab or whatever), if you see a "WARN: COPY MODE" label atop your linux apps, WSLG is being forced to use a slow path to render areas to screen. The exact reasons why escape me. An older ticket recommended installing an updated Mesa package to get to Mesa 21.x, but new WSL 2 installs are already there. Nonetheless, I followed those steps, ended up with Mesa 22.2.4, restarted WSL and the warning went away, replaced by a much higher refresh rate for linux windows (easy to check if you just drag a linux window around.) Notably, the warning came back once later, with scary logs in /mnt/wslg/weston.log about shared_memory errors, but restarting Windows made things better again.. YMMV.

What are some alternatives?

When comparing Single-GPU-Passthrough and wslg you can also consider the following projects:

macOS-Simple-KVM - Tools to set up a quick macOS VM in QEMU, accelerated by KVM.

GWSL-Source - The actual code for GWSL. And some prebuilt releases.

WSL2-Linux-Kernel - The source for the Linux kernel used in Windows Subsystem for Linux 2 (WSL2)

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

sway - i3-compatible Wayland compositor

WSL - Issues found on WSL

OSX-KVM - Run macOS on QEMU/KVM. With OpenCore + Monterey + Ventura + Sonoma support now! Only commercial (paid) support is available now to avoid spammy issues. No Mac system is required.

forcefully-remove-bootfb - releases memory areas used for BOOTFB for linux/kvm/vfio/pci-passthrough

i3 - A tiling window manager for X11

gvt-linux

GPU-Passthrough-Arch-Linux-to-Windows10 - GPU Passthrough and virt-manager walkthrough