Noob help - PCI passthrough

Discussion in 'Virtualized Computing' started by Xa3phod, Feb 18, 2019.

  1. Xa3phod

    Xa3phod Limp Gawd

    Sep 19, 2012
    Hey folks. I have Ubuntu on an X58 system. I would like to run Windows in a virtual machine and be able to access my GTX 1060 instead of using the virtualized graphics system which you cannot game on. I know a lot of games work in Linux, mine does not unfortunately.

    For the uninitiated, how do you set it up so you can pass through the GPU to the virtual machine?

    Thanks for the help.
  2. dr.stevil

    dr.stevil [H]ardForum Junkie

    Sep 26, 2008
    If I'm not mistaken, I believe you'd need to run a bare-metal OS hyper-visor like ESXi to get pass-through PCI-E up and running. Perhaps someone else can correct me on that.

    I'm interested in learning about this as well for MacOS virtualization (with hardware acceleration enabled). Wish I could be more help.
  3. danswartz

    danswartz 2[H]4U

    Feb 25, 2011
    I believe kvm supports pass through...
  4. x3sphere

    x3sphere 2[H]4U

    Dec 8, 2007
    Are you sure your board supports IOMMU? I don't believe all X58 motherboards did

    This is fairly straightforward guide:

    I run a passthrough setup with my Threadripper 1950X build, if you have any specific questions I'll try to answer. Figuring out if your board supports IOMMU is key though, since that's crucial to getting it working. Nearly all modern boards support it now, but it wasn't as standard back then.
  5. Angry

    Angry Limp Gawd

    Feb 27, 2006
    If it's going to work on x58, you need a Xeon cpu, with Vt-d, and not all x58 boards will work.
    I've tried it on a Gigabyte x58-udr3 with no luck.
    x3sphere likes this.