I have been working on GPU passthrough for a month now
Still have no luck getting it to work properly even following TechHut's step-by-step tutorial.
VM kept on freezing unexpectedly only on GPU passed-through VM
After running the above code, it returns the following:
Now I am clueless since the graphic card isn't in the same IOMMU group with other devices apart from the Audio
However, I noticed that Proxmox does not show the full name of the Nvidia Graphic Card
(ex: VGA compatible controller [0300]: NVIDIA Corporation GA104 [GeForce RTX 3070])
Does it have an impact on the performance?
Secondly, I also noticed that the GPU-passthrough VM is somehow more stable on drives where Proxmox is installed (HDD) than on other media (NVME SSD)
PC build as follows:
Still have no luck getting it to work properly even following TechHut's step-by-step tutorial.
VM kept on freezing unexpectedly only on GPU passed-through VM
Code:
for d in /sys/kernel/iommu_groups/*/devices/*; do n=${d#*/iommu_groups/*}; n=${n%%/*}; printf 'IOMMU group %s ' "$n"; lspci -nns "${d##*/}"; done
After running the above code, it returns the following:
IOMMU group 0 00:00.0 Host bridge [0600]: Intel Corporation Device [8086:4c53] (rev 01)
IOMMU group 10 00:1d.0 PCI bridge [0604]: Intel Corporation Device [8086:43b0] (rev 11)
IOMMU group 11 00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:4387] (rev 11)
IOMMU group 11 00:1f.3 Audio device [0403]: Intel Corporation Device [8086:43c8] (rev 11)
IOMMU group 11 00:1f.4 SMBus [0c05]: Intel Corporation Device [8086:43a3] (rev 11)
IOMMU group 11 00:1f.5 Serial bus controller [0c80]: Intel Corporation Device [8086:43a4] (rev 11)
IOMMU group 12 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:2488] (rev a1)
IOMMU group 12 01:00.1 Audio device [0403]: NVIDIA Corporation GA104 High Definition Audio Controller [10de:228b] (rev a1)
IOMMU group 13 02:00.0 Non-Volatile memory controller [0108]: Kingston Technology Company, Inc. Device [2646:500f] (rev 03)
IOMMU group 14 04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05)
IOMMU group 1 00:01.0 PCI bridge [0604]: Intel Corporation Device [8086:4c01] (rev 01)
IOMMU group 2 00:14.0 USB controller [0c03]: Intel Corporation Device [8086:43ed] (rev 11)
IOMMU group 2 00:14.2 RAM memory [0500]: Intel Corporation Device [8086:43ef] (rev 11)
IOMMU group 3 00:14.3 Network controller [0280]: Intel Corporation Device [8086:43f0] (rev 11)
IOMMU group 4 00:15.0 Serial bus controller [0c80]: Intel Corporation Device [8086:43e8] (rev 11)
IOMMU group 5 00:16.0 Communication controller [0780]: Intel Corporation Device [8086:43e0] (rev 11)
IOMMU group 6 00:17.0 SATA controller [0106]: Intel Corporation Device [8086:43d2] (rev 11)
IOMMU group 7 00:1b.0 PCI bridge [0604]: Intel Corporation Device [8086:43c4] (rev 11)
IOMMU group 8 00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:43bc] (rev 11)
IOMMU group 9 00:1c.7 PCI bridge [0604]: Intel Corporation Device [8086:43bf] (rev 11)
IOMMU group 10 00:1d.0 PCI bridge [0604]: Intel Corporation Device [8086:43b0] (rev 11)
IOMMU group 11 00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:4387] (rev 11)
IOMMU group 11 00:1f.3 Audio device [0403]: Intel Corporation Device [8086:43c8] (rev 11)
IOMMU group 11 00:1f.4 SMBus [0c05]: Intel Corporation Device [8086:43a3] (rev 11)
IOMMU group 11 00:1f.5 Serial bus controller [0c80]: Intel Corporation Device [8086:43a4] (rev 11)
IOMMU group 12 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:2488] (rev a1)
IOMMU group 12 01:00.1 Audio device [0403]: NVIDIA Corporation GA104 High Definition Audio Controller [10de:228b] (rev a1)
IOMMU group 13 02:00.0 Non-Volatile memory controller [0108]: Kingston Technology Company, Inc. Device [2646:500f] (rev 03)
IOMMU group 14 04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05)
IOMMU group 1 00:01.0 PCI bridge [0604]: Intel Corporation Device [8086:4c01] (rev 01)
IOMMU group 2 00:14.0 USB controller [0c03]: Intel Corporation Device [8086:43ed] (rev 11)
IOMMU group 2 00:14.2 RAM memory [0500]: Intel Corporation Device [8086:43ef] (rev 11)
IOMMU group 3 00:14.3 Network controller [0280]: Intel Corporation Device [8086:43f0] (rev 11)
IOMMU group 4 00:15.0 Serial bus controller [0c80]: Intel Corporation Device [8086:43e8] (rev 11)
IOMMU group 5 00:16.0 Communication controller [0780]: Intel Corporation Device [8086:43e0] (rev 11)
IOMMU group 6 00:17.0 SATA controller [0106]: Intel Corporation Device [8086:43d2] (rev 11)
IOMMU group 7 00:1b.0 PCI bridge [0604]: Intel Corporation Device [8086:43c4] (rev 11)
IOMMU group 8 00:1c.0 PCI bridge [0604]: Intel Corporation Device [8086:43bc] (rev 11)
IOMMU group 9 00:1c.7 PCI bridge [0604]: Intel Corporation Device [8086:43bf] (rev 11)
Now I am clueless since the graphic card isn't in the same IOMMU group with other devices apart from the Audio
However, I noticed that Proxmox does not show the full name of the Nvidia Graphic Card
(ex: VGA compatible controller [0300]: NVIDIA Corporation GA104 [GeForce RTX 3070])
Does it have an impact on the performance?
Secondly, I also noticed that the GPU-passthrough VM is somehow more stable on drives where Proxmox is installed (HDD) than on other media (NVME SSD)
PC build as follows:
- Intel(R) Core(TM) i5-11400
- Nvidia RTX 3070
- Proxmox is installed on an 8TB HDD
- VM's are installed on a 512GB M.2 NVME SSD