LEDs-single-gpu-passthrough VS Single-GPU-Passthrough

Compare LEDs-single-gpu-passthrough vs Single-GPU-Passthrough and see what are their differences.

LEDs-single-gpu-passthrough

Single GPU passthrough guide (by ledisthebest)
Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • OPS - Build and Run Open Source Unikernels
LEDs-single-gpu-passthrough Single-GPU-Passthrough
4 145
64 888
- -
2.9 3.6
28 days ago 10 months ago
Shell Shell
- -
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.

LEDs-single-gpu-passthrough

Posts with mentions or reviews of LEDs-single-gpu-passthrough. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-05-17.

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 2022-01-04.
  • Single GPU Passthrough Troubleshooting
    1 project | reddit.com/r/VFIO | 23 Jan 2022
    I followed the guide in this post to get started and mixed it with some instructions from This GitHub page, but now I'm thinking there's something else I'm missing. It does feel like I'm pretty close to getting this whole thing working though.
  • Gaming on a Windows VM on Linux
    1 project | reddit.com/r/linux_gaming | 21 Jan 2022
  • Sicherheitsupdates vom Januar 2022 mit massiven Kollateralschäden in Windows
    1 project | reddit.com/r/de | 13 Jan 2022
    Google liefert z.B. das https://github.com/joeknock90/Single-GPU-Passthrough
  • Can you see any issues in these logs why X would not be loading?
    1 project | reddit.com/r/archlinux | 11 Jan 2022
    Yes I did single gpu passthrough as per this.
  • Switching NVidia GPU on-the-fly with Dual-Graphics
    1 project | reddit.com/r/VFIO | 10 Jan 2022
  • No GPU Output via KVM Passthrough
    1 project | reddit.com/r/VFIO | 8 Jan 2022
    I followed this guide: https://github.com/joeknock90/Single-GPU-Passthrough and everything seemed to work.
  • Is it possible to do GPU passthrough with only 1 GPU?
    2 projects | reddit.com/r/linux_gaming | 4 Jan 2022
  • Does single gpu passthrough work on openSUSE?
    1 project | reddit.com/r/openSUSE | 1 Jan 2022
  • Libvirt hooks and possible AMD reset bug.
    1 project | reddit.com/r/VFIO | 29 Dec 2021
    I've semi-successfully passed my RX480 to a Windows VM by a single-gpu setup. Using this and this guide, I setup my libvirt hooks and after some difficulty I finally boot into Windows. My hooks are setup very similar to those guides using the same directory structure. My VM start hook script is as follows: #!/bin/bash set -x # Stop display manager systemctl stop lightdm.service # Unbind VTconsoles echo 0 > /sys/class/vtconsole/vtcon0/bind echo 0 > /sys/class/vtconsole/vtcon1/bind # Unbind EFI-Framebuffer echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind # Avoid race condition by waiting sleep 5 # Unload AMD drivers modprobe -r amdgpu # Unbind GPU from display driver virsh nodedev-detach pci_0000_09_00_0 virsh nodedev-detach pci_0000_09_00_1 # Load VFIO kernel module modprobe vfio-pci and my VM shutdown hook script: #!/bin/bash set -x # Unload VFIO-PCI Kernel Driver modprobe -r vfio-pci modprobe -r vfio_iommu_type1 modprobe -r vfio # Rebind GPU virsh nodedev-reattach pci_0000_09_00_0 virsh nodedev-reattach pci_0000_09_00_1 # Rebind VTconsoles echo 1 > /sys/class/vtconsole/vtcon0/bind echo 1 > /sys/class/vtconsole/vtcon1/bind # Rebind EFI framebuffer echo "efi-framebuffer.0" > /sys/bus/platform/drivers/efi-framebuffer/bind # Load AMD driver modprobe amdgpu # Restart Display Manager systemctl start lightdm.service I successfully got the VM to boot a handful of times; could never successfully get it to gracefully shut down which I'm assuming is due to the AMD gpu reset bug (host gets black screen and never goes back into desktop and will also not respond through ssh, forcing me to manually shutdown). Looking through the libvirt logs reveals some errors executing the libvirt hooks: Dec 29 16:47:40 hTux libvirtd[2545]: libvirt version: 6.5.0 Dec 29 16:47:40 hTux libvirtd[2545]: hostname: hTux Dec 29 16:47:40 hTux libvirtd[2545]: End of file while reading data: Input/output error Dec 29 16:47:41 hTux libvirtd[2545]: internal error: Child process (LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/snapd/snap/bin /etc/libvirt/hooks/qemu Windows10 prepare begin -) unexpected exit status 139: + systemctl stop lightdm.service /etc/libvirt/hooks/qemu: line 30: 2666 Segmentation fault "/etc/libvirt/hooks/qemu.d/Windows10/prepare/begin/start.sh" Windows10 prepare begin - Dec 29 16:47:41 hTux libvirtd[2545]: Hook script execution failed: internal error: Child ⠀process (LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/snapd/snap/bin /etc/libvirt/hooks/qemu Windows10 prepare begin -) unexpected exit status 139: + systemctl stop lightdm.service /etc/libvirt/hooks/qemu: line 30: 2666 Segmentation fault "/etc/libvirt/hooks/qemu.d/Windows10/prepare/begin/start.sh" Windows10 prepare begin - Dec 29 16:47:41 hTux libvirtd[2545]: unsupported configuration: pci backend driver 'default' is not supported Dec 29 16:47:41 hTux libvirtd[2545]: Failed to allocate PCI device list: unsupported configuration: pci backend driver 'default' is not supported Dec 29 16:47:41 hTux libvirtd[2545]: Unable to find device 000.000 in list of active USB devices Dec 29 16:47:41 hTux libvirtd[2545]: Unable to find device 000.000 in list of active USB devices Dec 29 16:48:40 hTux audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=libvirtd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Seems that for some reason the display manager will not stop; I've also tried sudo -u to try running as a different user to no avail. The rest of the script seems to run successfully as manually stopping the DM and starting the VM with virsh boots the VM fine. Doing this method also returns me back into the (Manjaro) Linux host desktop upon shutdown (so also seems to fix gpu reset issue?). Has anyone else had this issue? Any ideas how to proceed?
  • Has anybody got Single GPU pass through to work ? im at my wits end.
    2 projects | reddit.com/r/pop_os | 29 Dec 2021
    I am guessing you are using this guide? Have you checked this guide out as well?

What are some alternatives?

When comparing LEDs-single-gpu-passthrough and Single-GPU-Passthrough you can also consider the following projects:

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

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

WSL - Issues found on WSL

vendor-reset - Linux kernel vendor specific hardware reset module for sequences that are too complex/complicated to land in pci_quirks.c

single-gpu-passthrough

gvt-linux

gpu-passthrough-tutorial

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

rom-parser

wslg - Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios

vgpu_unlock - Unlock vGPU functionality for consumer grade GPUs.

macOS-KVM - Streamlined macOS QEMU KVM Hackintosh configuration using OpenCore and libvirt