Assistance with Passing Through Ryzen 5 5600G Integrated GPU to VM/Linux Mint

usrad

New Member
Feb 10, 2024
1
0
1
I am seeking assistance with passing through the integrated GPU from a Ryzen 5 5600G to either a VM with several LXC containers or directly to a Linux Mint VM. I have successfully passed through an AMD RX 580 GPU to a Windows 11 VM, and it works flawlessly. However, I'm encountering issues with the integrated GPU passthrough.

Host System Configuration:

CPU: Ryzen 5 5600G with integrated GPU
Motherboard: Steel Legend B550
Proxmox VE Version: 8.1.4
Additional PCI Devices: AMD RX 580 GPU (successfully passed through to Windows 11 VM)

Steps Taken:

Enabled IOMMU in BIOS/UEFI settings, with amd_iommu=on and iommu=pt set in GRUB configuration.
Identified the IOMMU group for the Ryzen 5 5600G integrated GPU using lspci -nnv. The GPU appears under 07:00.0.
Attempted Passthrough Configuration for the integrated GPU by adding hostpci0: 07:00.0,pcie=1,x-vga=on to the VM's configuration file (/etc/pve/qemu-server/<vmid>.conf).
VM Startup Issues: Encountered errors when starting the VM, specifically: kvm: ../hw/pci/pci.c:1637: pci_irq_handler: Assertion '0 <= irq_num && irq_num < PCI_NUM_PINS' failed. start failed: QEMU exited with code 1.

Troubleshooting Steps:

Ensured all system and Proxmox packages are up to date.
Verified and tried different machine types (q35 and i440fx).
Checked for any conflicting BIOS/UEFI settings that might affect passthrough.
Attempted to isolate the GPU passthrough issue by excluding the audio component of the integrated GPU.
Despite these efforts, the integrated GPU passthrough to the VM/Linux Mint has not been successful. I am looking for guidance on how to properly configure the passthrough for the Ryzen 5 5600G's integrated GPU, or any insights into potential issues with my current setup.

Any advice, suggestions, or shared experiences with similar hardware would be greatly appreciated. Thank you in advance for your assistance.
 
I just recently managed to pass trough my 5600g iGPU to a windows VM.

I have exactly the same motherboard.
Have used the ACS overide before to passtrough a SAS controller from the second PCI-ex16 slot.

Am using a windows 10 VM, UEFI, q35 and CPU=host.

Ran into code 43 after driver install. Adding ROM file from somewhere on this forum for a 5600g fixed it for me.
Now works fine but run into AMD reset bug.

Took me a while to get this far, but glad it works.
 

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!