GPU passthrough error

May 1, 2023
6
0
1
Hello team

I am currently trying to use the GPU in VM .

VM os is Debian Bullseye and GPU is NVIDIA graphics card .

If using BIOS type as OVMF and machine type q35 . I am getting following error on installation of NVIDIA graphics card drivers .

On checking NVIDIA-SMI getting this error .

NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.


If using BIOS type as SEABIOS and machine type as default . Getting following error .

I get the “No devices were found” error when I typ “nvidia-smi -a”
 
Sometimes NVidia GPUs need additional work-aroudns. There is also an work-around needed when it is the boot (or only) GPU. Lots of threads about this on this forum. Maybe you can find one about your NVidia card.
 
Hi @leesteken

Yes I did go through many of the threads in the forum . But still I was not able to resolve the issue . Let me know if I have to share any technical details so that we can narrow down the issue .

Thanks & regards
Shivaraj S S
 
Yes I did go through many of the threads in the forum . But still I was not able to resolve the issue . Let me know if I have to share any technical details so that we can narrow down the issue .
I have no experience with NVidia GPUs, but maybe you can please share what NVidia GPU you are using so someone else can help you?
Please also share your motherboard IOMMU groups: cat /proc/cmdline; for d in /sys/kernel/iommu_groups/*/devices/*; do n=${d#*/iommu_groups/*}; n=${n%%/*}; printf 'IOMMU group %s ' "$n"; lspci -nns "${d##*/}"; done. Sharing the VM configuration (file or qm config) will also help.