Hello friends!
So, I know that GPU passthrough can be done successfully - I'm writing this post on a VM with an Intel Arc A580 passed through, so I know that GPU passthrough can definitely be done.
I'm attempting to build an additional PVE node running Proxmox 9, which includes an nVidia GTX 3060. It is on an AsRock motherboard (A Phantom B550, AMD Ryzen 5 4500), with SR-IOV and IOMMU enabled. The GPU is intended to be passed through to a machine running Debian 12 (DietPi) in order to handle compute tasks for Immich.
When I attempt to start the Immich VM, the host locks up - I can't even ping the host until I hit the reset button.
Things I've tried already...
I've tried EVERY combination of "All Functions", "ROM-Bar", "PCI-Express", and "Primary GPU". I even bought a replacement motherboard, and it does the exact same thing.
Now, the GPU *does* work; I ran Immich on bare metal before virtualizing it. I also know that PCIe Passthrough works on this host in some capacity; the eagle-eyed readers here will note that the host is named 'router', because its primary purpose is to run NethSecurity as a router, performing its I/O through a quad-port Broadcom NIC, which is passed through to a different VM, and that VM can start up just fine.
So...I'm appreciative of any assistance that can be provided in helping me figure out why passing the GPU through to the Immich VM causes it to lock up. I'm agnostic about whether the VM does an actual video output on the card, as long as it works.
Thank you for reading!
So, I know that GPU passthrough can be done successfully - I'm writing this post on a VM with an Intel Arc A580 passed through, so I know that GPU passthrough can definitely be done.
I'm attempting to build an additional PVE node running Proxmox 9, which includes an nVidia GTX 3060. It is on an AsRock motherboard (A Phantom B550, AMD Ryzen 5 4500), with SR-IOV and IOMMU enabled. The GPU is intended to be passed through to a machine running Debian 12 (DietPi) in order to handle compute tasks for Immich.
When I attempt to start the Immich VM, the host locks up - I can't even ping the host until I hit the reset button.
Things I've tried already...
Code:
root@router:~# cat /etc/modprobe.d/blacklist-nvidia.conf
blacklist nouveau
blacklist nvidia
blacklist nvidiafb
blacklist rivafb
blacklist nvidia_uvm
blacklist nvidia_drm
blacklist snd_hda_intel
options nouveau modeset=0
root@router:~#
Code:
root@router:~# lspci -nnk -d 10de:
04:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA106 [GeForce RTX 3060 Lite Hash Rate] [10de:2504] (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:397d]
Kernel modules: nvidiafb, nouveau
04:00.1 Audio device [0403]: NVIDIA Corporation GA106 High Definition Audio Controller [10de:228e] (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:397d]
Kernel modules: snd_hda_intel
I've tried EVERY combination of "All Functions", "ROM-Bar", "PCI-Express", and "Primary GPU". I even bought a replacement motherboard, and it does the exact same thing.
Now, the GPU *does* work; I ran Immich on bare metal before virtualizing it. I also know that PCIe Passthrough works on this host in some capacity; the eagle-eyed readers here will note that the host is named 'router', because its primary purpose is to run NethSecurity as a router, performing its I/O through a quad-port Broadcom NIC, which is passed through to a different VM, and that VM can start up just fine.
So...I'm appreciative of any assistance that can be provided in helping me figure out why passing the GPU through to the Immich VM causes it to lock up. I'm agnostic about whether the VM does an actual video output on the card, as long as it works.
Thank you for reading!