Hey there! I have had partial success in passing through my 5700g to a PopOS VM. However I am running two issues.
1. The plugged in monitor freezes on the guest UEFI boot screen
2. On subsequent reboots of the VM, the monitor shows the loading bar of the UEFI boot screen and nothing else
I suspect the second issue is due to the vendor-reset bug, but looking for support on resolving both. Below are my settings / process.
1. I followed https://github.com/isc30/ryzen-gpu-passthrough-proxmox - extracting the GPU .dat / audio .rom and passing them through
VM conf
GPU are in isolated iommu groups
cat /etc/default/grub
cat /etc/modprobe.d/blacklist.conf
cat /etc/modprobe.d/vfio.conf
1. The plugged in monitor freezes on the guest UEFI boot screen
2. On subsequent reboots of the VM, the monitor shows the loading bar of the UEFI boot screen and nothing else
I suspect the second issue is due to the vendor-reset bug, but looking for support on resolving both. Below are my settings / process.
1. I followed https://github.com/isc30/ryzen-gpu-passthrough-proxmox - extracting the GPU .dat / audio .rom and passing them through
VM conf
Code:
args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=NV43FIX,kvm=off,-hypervisor'
balloon: 0
bios: ovmf
boot: order=scsi0;ide2;net0
cores: 8
cpu: host,hidden=1,flags=+pcid
efidisk0: local-lvm:vm-100-disk-0,efitype=4m,size=4M
hostpci0: 0000:11:00.0,x-vga=1,pcie=1,romfile=vbios_1638.dat
hostpci1: 0000:11:00.1,pcie=1,romfile=AmdGopDriver.rom
ide2: local:iso/pop-os_22.04_amd64_nvidia_42.iso,media=cdrom,size=3005824K
machine: q35
memory: 28672
meta: creation-qemu=8.1.5,ctime=1726335849
name: PopOS
net0: virtio=BC:24:11:EB:51:60,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: local-lvm:vm-100-disk-1,iothread=1,size=256G
scsihw: virtio-scsi-single
smbios1: uuid=a2d60c80-a379-45e2-bf39-1fca1deaf087
sockets: 1
vga: none
vmgenid: d8e49c2d-1205-4426-8f1a-60bfdf472ec0
GPU are in isolated iommu groups
Code:
IOMMU group 31 11:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1638] (rev c8)
IOMMU group 32 11:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller [1002:1637]
cat /etc/default/grub
Code:
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="amd_iommu=on iommu=pt initcall_blacklist=sysfb_init nomodeset video=vesafb:off"
GRUB_CMDLINE_LINUX=""
cat /etc/modprobe.d/blacklist.conf
Code:
blacklist radeon
blacklist nouveau
blacklist nvidia
blacklist amdgpu
cat /etc/modprobe.d/vfio.conf
Code:
options vfio-pci ids=1002:1638,1002:1637 disable_vga=1