How to passthrough AMD R9 5900HX iGPU in PVE 7.2?

Pandaaaa906

New Member
May 15, 2022
7
1
3
it got code 43 in Device Management.
in some tutorials, they say it would be fine, after installing the gpu driver.
but when i installing AMD driver, it got Error 184


1652622868545.png1652623301822.png
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt textonly video=astdrmfb pcie_acs_override=downstream,multifuncti
on nofb nomodeset video=vesafb:eek:ff video=efifb:eek:ff video=simplefb:eek:ff"

cat /etc/modprobe.d/pve-blacklist.conf ─╯
# This file contains a list of modules which are not supported by Proxmox VE

# nidiafb see bugreport https://bugzilla.proxmox.com/show_bug.cgi?id=701
blacklist nvidiafb
blacklist radeon
blacklist nouveau
blacklist nvidia
blacklist snd_hda_intel
blacklist snd_hda_codec_hdmi
blacklist radeon
blacklist amdgpu
blacklist ccp

cat /etc/modprobe.d/kvm.conf ─╯
options kvm ignore_msrs=1

cat /etc/modprobe.d/vfio.conf ─╯
options vfio-pci ids=1002:1638,1002:1637,1022:15e3
 
I have the same problem, but have tried with the latest driver and Windows version.

DEVMGR.PNG

Does anyone have a solution to this?
 
Can you boot that VM with a Ubuntu installer LiveCD? Not to install Ubuntu, just to see if the desktop environment of the installer shows on a display connected to the GPU. Recent Ubuntu versions come with Linux drivers and should just work. That would be a good test to see if the passthrough is configured correctly.
 
  • Like
Reactions: dcsapak
Following
it seems the error 184 has nothing to do with passthrough but with outdated windows? https://www.amd.com/en/support/kb/faq/gpu-kb184

I finally solved the problem, thanks to @Naunter from other forum

the most important key is the bios supports gpu passthrough or not, my device is Morefine s500+
and the next key is vbios file, as attached.
extract the rom file and copy to pve host /usr/share/kvm/cezanne.rom

*** even it seem worked, but it still has vendor reset problem ***
i cannot individually reboot that win10 vm, which will cause whole host break down

PS: In "/etc/default/grub",Not sure that every option is useful, some might be outdated options

u could check this video it's chinese but might help
【PVE7 AMD 5700G 核显直通 (iGPU Passthrough)-哔哩哔哩】 https://b23.tv/xcrFq1F

1670763951898.png

1670764101158.png
1670764300343.png
 

Attachments

  • cezanne.zip
    33.8 KB · Views: 56
  • Like
Reactions: leesteken
I finally solved the problem, thanks to @Naunter from other forum

the most important key is the bios supports gpu passthrough or not, my device is Morefine s500+
and the next key is vbios file, as attached.
extract the rom file and copy to pve host /usr/share/kvm/cezanne.rom

*** even it seem worked, but it still has vendor reset problem ***
i cannot individually reboot that win10 vm, which will cause whole host break down

PS: In "/etc/default/grub",Not sure that every option is useful, some might be outdated options

u could check this video it's chinese but might help
【PVE7 AMD 5700G 核显直通 (iGPU Passthrough)-哔哩哔哩】 https://b23.tv/xcrFq1F

View attachment 44356

View attachment 44357
View attachment 44358
i have a ryzen 7 5800h on a trigkey mini pc. would this work on 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!