Ryzen/NV GPU Passthrough works only on 6.5.3


Recommended Posts

Can you please setup a VM without any devices like GPU or sound/mouse/keyboard, only VNC? Basic install, nothing else. Enable RDP or install Teamviewer or Nomaschine and make sure you can connect to the VM. After that shut down the VM, add your GPU + GPU audio and start it up. 

Link to comment

So, set up a VM, installed fresh Win10 over VNC. No problem, worked fine.

After shutting down and adding GPU+dumped.rom —> again nothing, black screen

Last line in VM Log:

2019-05-12T16:12:50.015631Z qemu-system-x86_64: vfio: Unable to power on device, stuck in D3
2019-05-12T16:12:50.015828Z qemu-system-x86_64: vfio: Unable to power on device, stuck in D3

LibVirt Log:

2019-05-12 16:23:04.891+0000: 2996: info : libvirt version: 5.1.0
2019-05-12 16:23:04.891+0000: 2996: info : hostname: HOTSERVER
2019-05-12 16:23:04.891+0000: 2996: warning : qemuDomainObjTaint:7986 : Domain id=1 name='Windows 10 3' uuid=d65ff948-f0de-1ef1-ba42-d014e792fd1f is tainted: high-privileges
2019-05-12 16:23:04.891+0000: 2996: warning : qemuDomainObjTaint:7986 : Domain id=1 name='Windows 10 3' uuid=d65ff948-f0de-1ef1-ba42-d014e792fd1f is tainted: host-cpu
2019-05-12 16:23:58.120+0000: 2996: error : virPCIGetHeaderType:3238 : internal error: Unknown PCI header type '127'
2019-05-12 16:23:58.120+0000: 2996: error : virHostdevReAttachPCIDevices:1071 : Failed to reset PCI device: internal error: Unknown PCI header type '127'
2019-05-12 16:23:58.120+0000: 2996: error : virPCIGetHeaderType:3238 : internal error: Unknown PCI header type '127'
2019-05-12 16:23:58.120+0000: 2996: error : virHostdevReAttachPCIDevices:1071 : Failed to reset PCI device: internal error: Unknown PCI header type '127'
2019-05-12 16:24:01.405+0000: 3000: error : virPCIGetHeaderType:3238 : internal error: Unknown PCI header type '127'

 

Edited by Jimmy235
Link to comment

Please add the the pci ids of your card to your syslinux config so unraid won't pickup the card and restart the server. Go to main tab and click "Flash". There you find the config. 

 

Example of my entry for the default boot option without pci ids:

append isolcpus=8-15,24-31 pcie_aspm=off initrd=/bzroot

and with ids added:

append vfio-pci.ids=10de:1b06,10de:10ef isolcpus=8-15,24-31 pcie_aspm=off initrd=/bzroot

image.png.f2b0c37d53043b9daaa2aba3ef4fa653.png

 

If you are on 6.7 you can also try the new method with BIND instead.

 

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.