AMD ryzen 7900 onboard GPU passthough possible?

letalis

New Member
Jun 12, 2023
1
0
1
All,

been digging on these forums for a few day's now, but so far I did not end up with a positive result.

What I would like to accomplish is to attach a monitor to my Proxmox VE server that shows the output of a windows VM. I don't want to install an extra VGA card, only want to use the onboard.

Is this possible? Any tips will be appreciated!

Resources that I have found/tried:
Video of someone who used an AMD 5700G
https://www.bilibili.com/video/BV11...tag=s_i&timestamp=1670455877&unique_k=xcrFq1F

https://forum.proxmox.com/threads/how-to-passthrough-amd-r9-5900hx-igpu-in-pve-7-2.109572/

https://forum.proxmox.com/threads/problem-with-gpu-passthrough.55918/page-2#post-478351


My configurion is the following:
CPU(s) 24 x AMD Ryzen 9 7900 12-Core Processor (1 Socket)
Kernel Version Linux 5.15.102-1-pve #1 SMP PVE 5.15.102-1 (2023-03-14T13:48Z)
PVE Manager Version pve-manager/7.4-3/9002ab8a


My IOMMU groups:
IOMMU Group 0: 0000:00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14da] IOMMU Group devices: IOMMU Group 1: 0000:00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14db] IOMMU Group devices: IOMMU Group 2: 0000:00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14da] IOMMU Group devices: IOMMU Group 3: 0000:00:02.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14db] IOMMU Group devices: IOMMU Group 4: 0000:00:02.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14db] IOMMU Group devices: IOMMU Group 5: 0000:00:03.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14da] IOMMU Group devices: IOMMU Group 6: 0000:00:04.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14da] IOMMU Group devices: IOMMU Group 7: 0000:00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14da] IOMMU Group devices: IOMMU Group 8: 0000:00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14dd] IOMMU Group devices: IOMMU Group 9: 0000:00:08.3 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:14dd] IOMMU Group devices: IOMMU Group 10: 0000:00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 71) 0000:00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51) IOMMU Group devices: IOMMU Group 11: 0000:00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e0] 0000:00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e1] 0000:00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e2] 0000:00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e3] 0000:00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e4] 0000:00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e5] 0000:00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e6] 0000:00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Device [1022:14e7] IOMMU Group devices: IOMMU Group 12: 0000:01:00.0 Non-Volatile memory controller [0108]: Shenzhen Longsys Electronics Co., Ltd. Device [1d97:1602] (rev 01) IOMMU Group devices: IOMMU Group 13: 0000:02:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f4] (rev 01) IOMMU Group devices: IOMMU Group 14: 0000:03:00.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01) 0000:04:00.0 Non-Volatile memory controller [0108]: Shenzhen Longsys Electronics Co., Ltd. Device [1d97:1602] (rev 01) IOMMU Group devices: IOMMU Group 15: 0000:03:08.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01) IOMMU Group devices: IOMMU Group 16: 0000:03:09.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01) 0000:06:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8161] (rev 15) IOMMU Group devices: IOMMU Group 17: 0000:03:0a.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01) 0000:07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05) IOMMU Group devices: IOMMU Group 18: 0000:03:0b.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01) IOMMU Group devices: IOMMU Group 19: 0000:03:0c.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01) 0000:09:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f7] (rev 01) IOMMU Group devices: IOMMU Group 20: 0000:03:0d.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f5] (rev 01) 0000:0a:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] Device [1022:43f6] (rev 01) IOMMU Group devices: IOMMU Group 21: 0000:0b:00.0 Non-Volatile memory controller [0108]: Shenzhen Longsys Electronics Co., Ltd. Device [1d97:1602] (rev 01) IOMMU Group devices: [B]IOMMU Group 22: 0000:0c:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:164e] (rev c4)[/B] IOMMU Group devices: IOMMU Group 23: 0000:0c:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:1640] IOMMU Group devices: IOMMU Group 24: 0000:0c:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] VanGogh PSP/CCP [1022:1649] IOMMU Group devices: IOMMU Group 25: 0000:0c:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15b6] IOMMU Group devices: IOMMU Group 26: 0000:0c:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15b7] IOMMU Group devices: IOMMU Group 27: 0000:0c:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller [1022:15e3] IOMMU Group devices: IOMMU Group 28: 0000:0d:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Device [1022:15b8]

The last grub:
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt pcie_acs_override=downstream,multifunction initcall_blacklist=sysfb_init video=simplefb:off video=vesafb:off video=efifb:off video=vesa:off disable_vga=1 vfio_iommu_type1.allow_unsafe_interrupts=1 kvm.ignore_msrs=1 modprobe.blacklist=radeon,nouveau,nvidia,nvidiafb,nvidia-gpu,snd_hda_intel,snd_hda_codec_hdmi,i915

Or previous grub:
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt textonly disable_vga=1 initcall_blacklist=sysfb_init pcie_acs_override=downstream,multifunction video=efifb:off"

My vmconfig (also have an other with UEFI bios):
boot: order=ide0;ide2;net0 cores: 4 cpu: host hostpci0: 0000:0c:00.0,pcie=1,rombar=0,romfile=vbios_164E.dat,x-vga=1 ide0: local-zfs:vm-100-disk-0,size=32G machine: pc-q35-6.2 memory: 4092 meta: creation-qemu=7.2.0,ctime=1686323105 name: TestWin net0: e1000=A2:44:2F:B7:8C:3B,bridge=vmbr0,firewall=1 numa: 0 ostype: win10 scsihw: virtio-scsi-single smbios1: uuid=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx sockets: 2 vga: none vmgenid: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

The bios extracted with UBU:
vbios_164E.zip

The error message in de VM:
1686576228157.png
 

Attachments

  • 1686576239078.png
    1686576239078.png
    224.2 KB · Views: 9
  • vbios_164E.zip
    vbios_164E.zip
    24.1 KB · Views: 5
Last edited:
So Proxmox 8 will not install through ASRock IPMI and I'm pretty surry it is in fact the unstable IPMI but the host is trying to blame Proxmox for being to legacy to be installed With Ryzen 7900
 
It is impossible. I have tried for weeks now.
and I have been successful with other configs. just not AMD iGPU Ryzen Raphael.
 
As suspected, host was wrong. Installed and created a custom cpu. So far, so good:cool:

Ryzen 9 7900 12 Core 24 Threads 128GB DDR5

I had to install in debug mode and every thing went fine. Not Seeing the Ryzen in the CPU list when creating VM I added the custom file and set up a Custom Ryzen 7900. So far everything is fine and it's really fast but I haven't had much time after creatng a VM to play with it much.

Hopefully there won't be too many issues as I get to test more!

I think I seen some instructions for the GPU pass through with the Custom CPU build but I don't remember if it was the actual Proxmox docs that had it.
 

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!