Can't get GPU to pass-through to Window 10 VM - BSOD


Recommended Posts

I have a working Windows 10 VM without a GPU.

image.png

 

I would like to pass-through an nVidia Quadro 2000 GPU to this VM.

I am using a SeaBIOS BIOS because the Quadro 2000 doesn't support UEFI.

 

This is my HW:

image.png.d6db8e11d714434354ca2b7900773bb5.png

 

I installed the GPU inside my server (after moving my SATA card to a slot with a different IOMMU so the GPU is isolated in a dedicated IOMMU).

Once installed I have the following in System Devices:

image.png

 

I enabled Binding of both above devices and rebooted server

image.png.c8db628fa3f2509f6d644534fe62e89c.png

 

I edited the existing VM by adding the GPU as a secondary Graphics Card (after existing VNC graphics card) and the Sound/Audio Card as well (including adding the ROM BIOS from Techpowerup for the exact GPU model including FW version):

 

After booting the VM I now have a new display adapter:

image.png.2a01c5827b94326826f7d62d63f09acf.png

After a couple of minutes this changes to (probably background Windows driver update):

image.png.2601472c46469f589b2caa45fdb18034.png

 

I restarted the VM and get BSOD:

image.png.b29b05210b6b318a2fe7d1916c985bb1.png

 

And after automatic restart – nvlddmkm.sys failure:

image.png.03e7e82ce5b57f2b7c21d500febd3bc2.png

 

Windows automatically restarts again and fixes the issue (probably by reverting - removing the drivers) and again I get the Microsoft Basic Display adapter.

image.png.2a01c5827b94326826f7d62d63f09acf.png

 

At no point do I get any signal on my physical monitor.

 

How can I solve this?

 

Edited by theone
Link to comment

WOW - I removed both VNC and ROM definition as got it going fine !!!

but then I wanted to see if I put back the ROM will it work and it didn't so I removed it but could get it working again.

 

I started again from the original VM (no GDU) but couldn't retrace the results - can't get it to work again.

 

The main problem when debugging is that without a VNC I don't know what is going on when I have no video signal to the monitor.

 

I do know that it is not loading (to windows) because I get no ping results.

 

Edited by theone
Link to comment

Have you taken the time to edit your vm xml to ensure both the video and audio nodes of your gpu are set to the same virtual bus and slot? UnRAID borks this and can cause to problems like you are experiencing.

 

have a look at the link in my sig for details on this and other things to try.

 

 

Link to comment
52 minutes ago, theone said:

Still not working.

Seem to have some kind of resource conflict but can't find it:

image.png.33af452233c486f047208e4b9b491a87.png

 

Any other suggestions?

 

When I try and install a clean Windows installation with only the GPU also no video to monitor.

 

Try creating a new vm again but use the windows image you have already setup windows on. so don't delete the old vm image as this will save you some time.

This may help if you have not seen it already.

Also what unraid version are you using?

 

 

Link to comment
1 hour ago, meep said:

Have you taken the time to edit your vm xml to ensure both the video and audio nodes of your gpu are set to the same virtual bus and slot? UnRAID borks this and can cause to problems like you are experiencing.

 

have a look at the link in my sig for details on this and other things to try.

 

 

I did make sure that the video and audio parts are as should be (same device different functions).

I can't get virt manager (running on unraid) to connect to the libvirt.

I tried a new VM install and got video but once the windows installation restarted I got black screen - monitor went to sleep,

don't know what is happening in the VM.

 

Link to comment
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.