Single GPU Lost After Shutting Down Windows 11 VM


Go to solution Solved by rook,

Recommended Posts

Unraid 6.12.8

GTX970, only GPU in the system. 

I have it allocated to a Windows 11 VM; my Unreal Engine build box.  

GPU is NOT allocated in any way to any other VMs or Dockers.  (I have one other VM (Debian no GUI, and two tiny dockers with no GUI)

Windows 11 VM options has Graphics Card set to the card.  The other VM has VNC.

Open Terminal, run "nvidia-smi", returns normally.

 

Spin up the Windows 11 VM.  Everything works fine on Unraid side and VM side. 

CPU usage is flat when expected, heavy when expected. 

Shut down Windows. 

VM fully stops.

CPUs in Unraid dashboard start to get busy.  Seems like probing the system for the GPU.  It is now missing.

Open Terminal, run "nvidia-smi" it returns "No devices were found".

Cpu usage across one, two, or three cores go to 100% for a few seconds, falls flat, then one, two, or three cores go to 100% for a few seconds.  This appears to be the probing.  This goes on infinitely until I reboot.  

 

Here is what gets posted to the log just after shutting down Windows 11 and VM stops:

Mar 24 23:17:54 mymachinename kernel: br0: port 3(vnet1) entered disabled state
Mar 24 23:17:54 mymachinename kernel: device vnet1 left promiscuous mode
Mar 24 23:17:54 mymachinename kernel: br0: port 3(vnet1) entered disabled state
Mar 24 23:17:54 mymachinename kernel: vfio-pci 0000:2d:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=none
Mar 24 23:17:54 mymachinename kernel: nvidia 0000:2d:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none

****** this is where it repeats over and over

Mar 24 23:18:01 mymachinename kernel: NVRM: GPU 0000:2d:00.0: RmInitAdapter failed! (0x11:0x45:2706)
Mar 24 23:18:01 mymachinename kernel: NVRM: GPU 0000:2d:00.0: rm_init_adapter failed, device minor number 0
Mar 24 23:18:06 mymachinename kernel: NVRM: GPU 0000:2d:00.0: RmInitAdapter failed! (0x11:0x45:2706)
Mar 24 23:18:06 mymachinename kernel: NVRM: GPU 0000:2d:00.0: rm_init_adapter failed, device minor number 0
Mar 24 23:18:11 mymachinename kernel: NVRM: GPU 0000:2d:00.0: RmInitAdapter failed! (0x11:0x45:2706)
Mar 24 23:18:11 mymachinename kernel: NVRM: GPU 0000:2d:00.0: rm_init_adapter failed, device minor number 0
Mar 24 23:18:16 mymachinename kernel: NVRM: GPU 0000:2d:00.0: RmInitAdapter failed! (0x11:0x45:2706)
Mar 24 23:18:16 mymachinename kernel: NVRM: GPU 0000:2d:00.0: rm_init_adapter failed, device minor number 0
Mar 24 23:18:21 mymachinename kernel: NVRM: GPU 0000:2d:00.0: RmInitAdapter failed! (0x11:0x45:2706)
Mar 24 23:18:21 mymachinename kernel: NVRM: GPU 0000:2d:00.0: rm_init_adapter failed, device minor number 0
Mar 24 23:18:26 mymachinename kernel: NVRM: GPU 0000:2d:00.0: RmInitAdapter failed! (0x11:0x45:2706)

 

I am very competent.  Just tell me what you need from me, I shall do/supply it.  

Link to comment

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.