16 votes

Have any of you set up GPU passthrough for a virtual machine?

Right now I dual boot windows 10 and fedora, windows for gaming, fedora for everything else. I'm considering running linux as my only native operating system, and running windows in a virtual machine for gaming. This will be more convenient than restarting my pc every time I want to play a game, and I'll feel better about having windows sandboxed in a VM than running natively on my computer.

To get gaming performance out of a virtual machine, I'm planning to have two gpus. One for linux to use, and one reserved exclusively for the virtual machine.

Have any of you set up a computer like this before? What was your experience like? How was the performance?

6 comments

  1. [3]
    Comment deleted by author
    Link
    1. clone1 Link Parent
      What gpus do you use?

      What gpus do you use?

      2 votes
    2. clone1 Link Parent
      Is there ever any input lag when using synergy?

      Is there ever any input lag when using synergy?

      2 votes
  2. pseudolobster Link
    I can help if you run into issues. I've been playing with this off and on for ~6 months. I haven't got it working on my laptop, but my laptop is a bit of an odd duck. In the process I've learned a...

    I can help if you run into issues. I've been playing with this off and on for ~6 months. I haven't got it working on my laptop, but my laptop is a bit of an odd duck. In the process I've learned a lot about everything that can possibly go wrong. If you run into Code43, give me a shout.

    2 votes
  3. Luca Link
    I've done this before, works really well. Especially with 3 screens, it was easy to pass 2 over to the VM and keep one on Linux. Since then, though, I've sold my second GPU. When I have more free...

    I've done this before, works really well. Especially with 3 screens, it was easy to pass 2 over to the VM and keep one on Linux.

    Since then, though, I've sold my second GPU. When I have more free time, I'm planning to try it again, but this time with a single GPU. This does complicate things a fair bit more, but I think it can be done.

  4. Luna Link
    I've been trying to, but I haven't had much success. I always get kernel panics when I go to start the VM with the GPU passed through. My motherboard is a Gigabyte GA-H170N-Wifi, and I have an...

    I've been trying to, but I haven't had much success. I always get kernel panics when I go to start the VM with the GPU passed through.

    My motherboard is a Gigabyte GA-H170N-Wifi, and I have an i5-6600 CPU, R9-270 GPU. Anyone have any guides they would recommend?