Skip to content

Instantly share code, notes, and snippets.

View davealvarado's full-sized avatar

Dave Alvarado davealvarado

  • DFW, TX
  • 11:32 (UTC -05:00)
View GitHub Profile
@davealvarado
davealvarado / kvm-gpu-passthrough-on-debian-buster.md
Last active September 10, 2021 13:49
Setting up KVM with GPU passthrough in Debian Bullseye

This is forked from Dave Silva's Gist and updated for my system. Props to Dave for doing the hard research!

Here's how to set up a Windows 10 virtual machine in KVM with PCI passthrough. The VM will have access to an NVIDIA graphics card while the host machine (running Debian Bullseye) uses Intel integrated graphics. This is mostly for my own reference so I don't forget how I did it.

Hardware

  • Intel i7-6700K (an old one) with integrated graphics: this will be used as the graphics card for the host machine running Debian Bullseye
  • NVIDIA Geforce 1080: this will be used as the graphics card for the Windows 10 VM

Step 1: Enable IOMMU