Windows 10 VM with laptop discrete GPU passthrough success

Hello there! I don’t know if i used the right tags so I apologize in advance.
I was able to pass a RTX A1000 GPU to a qemu-kvm guest (Dell Precision 3571) so I wanted to share my experience and document the steps I made for making it work.
Looking-Glass works too! (OS Arch Linux)

Initial VM setup in virt-manager

I just followed one of the many guides that you can find here or in various blog post over the internet.

Nvidia drivers installation

Here’s a critical step that caused me headaches: if I passed the gpu and let Windows pick its drivers it doesn’t work. I had to hunt down drivers for my specific laptop on Dell website. When executing the wizard it’s necessary to do Advanced => clean installation. Fiddling with DDU didn’t help unfortunately.

IddSamplerDriver installation

This driver is necessary for tricking the gpu into thinking it has a minitor connected to it. I just followed the procedure described there.

Extending displays and making the dummy one the main one

Unfortunately the way I was able to making it work was by extending the second monitor and not mirroring it. The process is extremely frustrating because windows kept opening the setting page on the “invisible” display and I had no way to drag back. I recommend using NVIDIA RTX Desktop Manager.

Installing Looking-Glass

I just followed the procedure on the official documentation and modified looking-glass.ini as follow:

[app]
capture=dxgi

[dxgi]
output=2

I don’t know if it is necessary but it works with just a few minor glitches here and there.

Hope this is useful for someone. Peace and Love

1 Like