Tutorial on VGA passthrough using kvm and OVFM / UEFI

My subjects of interest Forums Linux Virtualization Tutorial on VGA passthrough using kvm and OVFM / UEFI

This topic contains 5 replies, has 4 voices, and was last updated by Joykiller Joykiller 1 day, 19 hours ago.

  • Author
    Posts
  • #129
    Heiko Sieger
    Heiko Sieger
    Participant

    Just published a tutorial on how to create a Windows 10 virtual machine on a Linux Mint / Ubuntu PC using VGA passthrough ā€“ see Running Windows 10 on Linux using KVM with VGA Passthrough. The Windows VM has about the same performance as if it were running directly on the same hardware.

    Iā€™m using this technology now for 5 years, doing extensive photo RAW file processing in Lightroom, panorama stitching, HDR and other CPU and resource intensive tasks ā€“ everything in a Windows virtual machine.

    Life is good.

  • #220
    Heiko Sieger
    Heiko Sieger
    Participant

    Just updated the tutorial Running Windows 10 on Linux using KVM with VGA Passthrough and fixed the Troubleshooting section, Crimson driver / BSOD fix.

  • #599
    DeFu Wang
    DeFu Wang
    Participant

    Great tutorial! Works great!
    Tried some of the others you mentioned, but to no avail.
    The only thing lacking is the ability to manage it with virt-manager.
    Any hints on converting the startup script to work there?

    (I have tried launching the vm, and running virsh to try to import it, it always says my machine doesn’t exist, and that no qemu instances are running, but it happily manages my Android vm created by virt-manager.)

    Note: I am using SEABIOS, as I don’t have a UEFI machine.

  • #670
    Heiko Sieger
    Heiko Sieger
    Keymaster

    Made some major updates to the tutorial. Using modalias to assign passthru graphics card to vfio-pci driver. Changed syntax for USB device passthru, etc. etc.

    • #805
      Joykiller
      Joykiller
      Participant

      Hey, Thanks for this tutorial its helped a lot.

      However, I’m having problems with detecting drives to install/run windows from. I got vfio pci passthrough enabled for gpu and keyboard/mouse etc with my switch working fine.

      But when I go to install from disk drive for example it cant find any drives.

      I’m trying to passthrough NVMe 970 Evo Plus for windows 10 only. Got a 580 dedicated to the gpu for windows. If you could help me towards a path to get this fixed would be much appreciated.

  • #806
    Joykiller
    Joykiller
    Participant

    Actually nevermind got it working, having an issue though now maybe you might of ran across it?

    AMD RX 580, windows boots up, updates, then I created a restore point, and then tried to update AMD RX 580 drivers and when it gets to around 40-60% and the screen drivers flicker part, it just breaks. Then Blackscreen and wont allow it to boot up without a rollback.

You must be logged in to reply to this topic.