Jump to content

Hello,

 

I'm having issues getting GPU passthrough to work properly in an Unraid VM.

 

I make the VM and assign the GT 1030. I then install Windows and everything is good. But as soon as the display driver is installed the vm crashes and then has a blank screen and is on a boot loop and eventually boots into recovery which doesn't fix the problem. To get the system to boot I have to change the GPU to the VNC to remove the drivers.
I read somewhere that the Nvidia driver refuses to load if it detects that it is running in a virtualized environment. Is this true? I've tried older drivers and all have the same problem.

 

At this point I am completly stuck so if anyone is able to help me out here that would be appreciated. Thanks.

Link to comment
https://linustechtips.com/topic/1438912-gpu-passthrough-in-unraid/
Share on other sites

Link to post
Share on other sites

1 hour ago, AKS_Adrian said:

Hello,

 

I'm having issues getting GPU passthrough to work properly in an Unraid VM.

 

I make the VM and assign the GT 1030. I then install Windows and everything is good. But as soon as the display driver is installed the vm crashes and then has a blank screen and is on a boot loop and eventually boots into recovery which doesn't fix the problem. To get the system to boot I have to change the GPU to the VNC to remove the drivers.
I read somewhere that the Nvidia driver refuses to load if it detects that it is running in a virtualized environment. Is this true? I've tried older drivers and all have the same problem.

 

At this point I am completly stuck so if anyone is able to help me out here that would be appreciated. Thanks.

I guess a more useful question is, why are you trying to pass it a GT 1030? Just so you can have hardware display output from it? Does the VM actually need a GPU? 
 

But to answer the question. What hardware are you on? If Intel, is vt-d supported by the mobo and CPU, and is it enabled in BIOS? 

Rig: i7 13700k +Contact Frame - - Asus Z790-P Wifi - - RTX 4080 - - 4x16GB 6000MHz - - Samsung 990 Pro 2TB NVMe Boot + Main Programs - - Crucial P3 2TB NVMe for photo work - - Corsair RM850x - - Sound BlasterX EA-5 - - Corsair XC8 JTC Edition - - Corsair GPU Full Cover GPU Block - - PTM 7950 - - XT45 X-Flow 420 + UT60 280 rads externally mounted - - EK XRES RGB PWM - - Fractal Define S2 - - DellAlienware AW3423DWF 34" -- Logitech Pro X Superlight - - Logitech G710+ - - LTT Northern Lights Deskpad

 

Headphones/amp/dac: Schiit Bifrost Multibit - -  Schiit Lyr 3 - - Fostex TR-X00 - - Sennheiser HD 6xx

 

Homelab/Media Server: Proxmox VE host - - 512 NVMe Samsung 980 RAID Z1 for VM's/Proxmox boot - - Xeon e5 2660 V4- - Supermicro X10SRF-i - - 128 GB ECC 2133 - - 10x8TB WD Red RAID Z2 - - 2x 800 GB SAS SSD’s (1 SLOG, 1 L2Arc) - - 45 HomeLab HL15 15 Drive 4U - - Corsair RM650i - - LSI 9305-16i HBA - - TreuNAS + many other VM’s

 

Unifi UDM Pro in front of full unifi network infrastructure

 

iPhone 17 Pro - - MacBook Air M3

Link to post
Share on other sites

9 hours ago, LIGISTX said:

I guess a more useful question is, why are you trying to pass it a GT 1030? Just so you can have hardware display output from it? Does the VM actually need a GPU? 
 

But to answer the question. What hardware are you on? If Intel, is vt-d supported by the mobo and CPU, and is it enabled in BIOS? 

Yeah, I just want a hardware display output.

Motherboard: Gigabyte X99-UD3P-CF, CPU: Intel Xeon E5-2620 V3, Memory: 96GB (3x32gb).

Vt-d is supported and enabled in the BIOS.

9 hours ago, manikyath said:

what does event log have to say about the gpu driver?

 

last i heard the vm incompatibility was removed from drivers, i've also beed running a gt640 in one of my vm's for like a year or so.

I can't seem to find anything that specifically mentions Nvidia but the crashes have been logged. "The previous shutdown was unexpected", "The system has rebooted without cleanly shutting down first." and "The computer has rebooted from a bugcheck".

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×