Nvidia Grid K2 and Ovirt GPU Passtrough

Hello, i have tried every documentation that i found to bring GPU Passtrough with a Nvidia Grid K2 to ovirt, but i failed. I am confident that it has to run with my hardware, but i have no ideas anymore. Maybe the community can help me. Actually my VM (Win7 and Win10) crashes or hangs on startup. I have done theese steps: 1. lspci -nnk ......... 07:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK104GL [GRID K2] [10de:11bf] (rev a1) Subsystem: NVIDIA Corporation Device [10de:100a] Kernel driver in use: pci-stub Kernel modules: nouveau 08:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK104GL [GRID K2] [10de:11bf] (rev a1) Subsystem: NVIDIA Corporation Device [10de:100a] Kernel driver in use: pci-stub Kernel modules: nouveau ......... 2. /etc/default/grub ......... GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=cl/root rd.lvm.lv=cl/swap rhgb quiet pci-stub.ids=10de:11bf rdblacklist=nouveau amd_iommu=on" ........ 3. Added Line "options vfio-pci ids=10de:11bf" to nano /etc/modprobe.d/vfio.conf dmesg | grep -i vfio -> [ 11.202767] VFIO - User Level meta-driver version: 0.3 [ 11.315368] vfio_pci: add [10de:11bf[ffff:ffff]] class 0x000000/00000000 [ 1032.582778] vfio_ecap_init: 0000:07:00.0 hiding ecap 0x19@0x900 [ 1046.232009] vfio-pci 0000:07:00.0: irq 61 for MSI/MSI-X ------------------------------------------------------------------------- After assigning the GPU to the VM, the OS hangs on startup Any ideas? Best Regards Reza

Hi, Are you sure it hangs? or is just redirection of the graphics is not going to the console anymore? The second is my case, so I can ssh to the server and see it alive. But no idea how to set the graphicals properly. On 25/1/19 2:51, jarheadx@hotmail.de wrote:
Hello,
i have tried every documentation that i found to bring GPU Passtrough with a Nvidia Grid K2 to ovirt, but i failed.
I am confident that it has to run with my hardware, but i have no ideas anymore. Maybe the community can help me.
Actually my VM (Win7 and Win10) crashes or hangs on startup.
I have done theese steps:
1. lspci -nnk ......... 07:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK104GL [GRID K2] [10de:11bf] (rev a1) Subsystem: NVIDIA Corporation Device [10de:100a] Kernel driver in use: pci-stub Kernel modules: nouveau 08:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK104GL [GRID K2] [10de:11bf] (rev a1) Subsystem: NVIDIA Corporation Device [10de:100a] Kernel driver in use: pci-stub Kernel modules: nouveau .........
2. /etc/default/grub ......... GRUB_CMDLINE_LINUX="crashkernel=auto rd.lvm.lv=cl/root rd.lvm.lv=cl/swap rhgb quiet pci-stub.ids=10de:11bf rdblacklist=nouveau amd_iommu=on" ........
3. Added Line
"options vfio-pci ids=10de:11bf"
to nano /etc/modprobe.d/vfio.conf
dmesg | grep -i vfio ->
[ 11.202767] VFIO - User Level meta-driver version: 0.3 [ 11.315368] vfio_pci: add [10de:11bf[ffff:ffff]] class 0x000000/00000000 [ 1032.582778] vfio_ecap_init: 0000:07:00.0 hiding ecap 0x19@0x900 [ 1046.232009] vfio-pci 0000:07:00.0: irq 61 for MSI/MSI-X
------------------------------------------------------------------------- After assigning the GPU to the VM, the OS hangs on startup
Any ideas?
Best Regards Reza _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/7TW2DY3CSA35Y3...
-- Josep Manel Andrés Moscardó Systems Engineer, IT Operations EMBL Heidelberg T +49 6221 387-8394

Do you ever stop at the boot screen? (Windows logo screen, etc.) You can not implement a GPU display with spice. There are some engineers who have implemented this functionality through upstream kvm, but they are not fundamentally supported by ovirt.
participants (3)
-
jarheadx@hotmail.de
-
Josep Manel Andrés Moscardó
-
okok102928@dajeondata.co.kr