Any chance to passthrough the iGPU with these IOMMU groups?

8192K

New Member
Apr 12, 2024
27
0
1
Hi, I have an HP Prodesk 405 G4 which has an AMD Ryzen 5 PRO 2400GE CPU with a Vega RX 11 iGPU. Before trying it, I'd like to know if setting up Proxmox on this machine for the purpose of having a VM that gets the iGPU passed through (amongst some more LXCs) is even valid as I don't think the IOMMU groups are in my favor. Please have a look:

Code:
Group 0:        [1022:1452]     00:01.0  Host bridge                              Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
                [1022:15d3] [R] 00:01.2  PCI bridge                               Raven/Raven2 PCIe GPP Bridge [6:0]
                [1022:15d3] [R] 00:01.6  PCI bridge                               Raven/Raven2 PCIe GPP Bridge [6:0]
                [1022:43bb] [R] 01:00.0  USB controller                           300 Series Chipset USB 3.1 xHCI Controller
USB:            [1d6b:0002]              Bus 002 Device 001                       Linux Foundation 2.0 root hub
USB:            [1d6b:0003]              Bus 003 Device 001                       Linux Foundation 3.0 root hub
                [1022:43b7]     01:00.1  SATA controller                          300 Series Chipset SATA Controller
                [1022:43b2]     01:00.2  PCI bridge                               Device 43b2
                [1022:43b4] [R] 02:00.0  PCI bridge                               300 Series Chipset PCIe Port
                [1022:43b4]     02:01.0  PCI bridge                               300 Series Chipset PCIe Port
                [1022:43b4]     02:04.0  PCI bridge                               300 Series Chipset PCIe Port
                [1022:43b4]     02:05.0  PCI bridge                               300 Series Chipset PCIe Port
                [1022:43b4]     02:06.0  PCI bridge                               300 Series Chipset PCIe Port
                [1022:43b4]     02:07.0  PCI bridge                               300 Series Chipset PCIe Port
                [10ec:8168] [R] 05:00.0  Ethernet controller                      RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller
                [10ec:816a]     05:00.1  Serial controller                        RTL8111xP UART #1
                [10ec:816b]     05:00.2  Serial controller                        RTL8111xP UART #2
                [10ec:816c]     05:00.3  IPMI Interface                           RTL8111xP IPMI interface
                [10ec:816d]     05:00.4  USB controller                           RTL811x EHCI host controller
USB:            [1d6b:0002]              Bus 001 Device 001                       Linux Foundation 2.0 root hub
                [8086:f1a8] [R] 09:00.0  Non-Volatile memory controller           SSD 660P Series
Group 1:        [1022:1452]     00:08.0  Host bridge                              Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
                [1022:15db] [R] 00:08.1  PCI bridge                               Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus A
                [1022:15dc] [R] 00:08.2  PCI bridge                               Raven/Raven2 Internal PCIe GPP Bridge 0 to Bus B
                [1002:15dd] [R] 0a:00.0  VGA compatible controller                Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
                [1002:15de] [R] 0a:00.1  Audio device                             Raven/Raven2/Fenghuang HDMI/DP Audio Controller
                [1022:15df]     0a:00.2  Encryption controller                    Family 17h (Models 10h-1fh) Platform Security Processor
                [1022:15e0] [R] 0a:00.3  USB controller                           Raven USB 3.1
USB:            [1d6b:0002]              Bus 004 Device 001                       Linux Foundation 2.0 root hub
USB:            [13fe:4100]              Bus 004 Device 002                       Phison Electronics Corp. Flash drive
USB:            [0bda:5411]              Bus 004 Device 003                       Realtek Semiconductor Corp. RTS5411 Hub
USB:            [05ba:000a]              Bus 004 Device 004                       DigitalPersona, Inc. Fingerprint Reader
USB:            [0bda:5411]              Bus 004 Device 005                       Realtek Semiconductor Corp. RTS5411 Hub
USB:            [046d:08e5]              Bus 004 Device 006                       Logitech, Inc. C920 PRO HD Webcam
USB:            [03f0:094a]              Bus 004 Device 007                       HP, Inc Optical Mouse [672662-001]
USB:            [046d:c31c]              Bus 004 Device 008                       Logitech, Inc. Keyboard K120
USB:            [0bda:5418]              Bus 004 Device 009                       Realtek Semiconductor Corp. BillBoard Device
USB:            [0a12:0001]              Bus 004 Device 010                       Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
USB:            [1d6b:0003]              Bus 005 Device 001                       Linux Foundation 3.0 root hub
USB:            [0bda:0411]              Bus 005 Device 002                       Realtek Semiconductor Corp. Hub
USB:            [0bda:0411]              Bus 005 Device 003                       Realtek Semiconductor Corp. Hub
                [1022:15e1] [R] 0a:00.4  USB controller                           Raven USB 3.1
USB:            [1d6b:0002]              Bus 006 Device 001                       Linux Foundation 2.0 root hub
USB:            [1d6b:0003]              Bus 007 Device 001                       Linux Foundation 3.0 root hub
                [1022:15e3]     0a:00.6  Audio device                             Family 17h/19h HD Audio Controller
                [1022:7901] [R] 0b:00.0  SATA controller                          FCH SATA Controller [AHCI mode]
Group 2:        [1022:790b]     00:14.0  SMBus                                    FCH SMBus Controller
                [1022:790e]     00:14.3  ISA bridge                               FCH LPC Bridge
Group 3:        [1022:15e8]     00:18.0  Host bridge                              Raven/Raven2 Device 24: Function 0
                [1022:15e9]     00:18.1  Host bridge                              Raven/Raven2 Device 24: Function 1
                [1022:15ea]     00:18.2  Host bridge                              Raven/Raven2 Device 24: Function 2
                [1022:15eb]     00:18.3  Host bridge                              Raven/Raven2 Device 24: Function 3
                [1022:15ec]     00:18.4  Host bridge                              Raven/Raven2 Device 24: Function 4
                [1022:15ed]     00:18.5  Host bridge                              Raven/Raven2 Device 24: Function 5
                [1022:15ee]     00:18.6  Host bridge                              Raven/Raven2 Device 24: Function 6
                [1022:15ef]     00:18.7  Host bridge                              Raven/Raven2 Device 24: Function 7

As you can see, there are only 4 IOMMU groups. For the iGPU I'd have to pass the entire group 1. I wouldn't mind passing all the USB ports or the audio devices. But I am worried about the SATA controller or the PCI bridges. Would it still work? I don't think so. Or is there a method to pass only the iGPU?
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!