My virtual machine with a single gpu passthrough only works for a few minutes, then works only with new machine

This page summarizes the projects mentioned and recommended in the original post on /r/VFIO

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

  • 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.

  • 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.

  • 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.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts