Hello and a happy new year!
Has anyone managed to passthrough the iGPU of a 5600G?
My settings are:
cat /proc/cmdline
initrd=\EFI\proxmox\6.5.11-7-pve\initrd.img-6.5.11-7-pve root=ZFS=rpool/ROOT/pve-1 boot=zfs quiet amd_iommu=on iommu=pt initcall_blacklist=sysfb_init pcie_acs_override=downstream,multifunction textonly video=simplefb
ff video=vesafb
ff video=efifb
ff video=vesa
ff disable_vga=1 vfio_iommu_type1.allow_unsafe_interrupts=1 kvm.ignore_msrs=1
cat /etc/kernel/cmdline
root=ZFS=rpool/ROOT/pve-1 boot=zfs quiet amd_iommu=on iommu=pt initcall_blacklist=sysfb_init pcie_acs_override=downstream,multifunction textonly video=simplefb
ff video=vesafb
ff video=efifb
ff video=vesa
ff disable_vga=1 vfio_iommu_type1.allow_unsafe_interrupts=1 kvm.ignore_msrs=1
/etc/modprobe.d/vfio.conf
options vfio-pci ids=1002:1638,1002:1637,1002:1636 disable_vga=1
softdep radeon pre: vfio-pci
softdep amdgpu pre: vfio-pci
softdep snd_hda_intel pre: vfio-pci
I have also tried with just the first line of code
/etc/modprobe.d/blacklist.conf
blacklist amdgpu
blacklist radeon
blacklist snd_hda_intel
blacklist ccp
and with nothing blacklisted
lspci -nnks 06:00
06:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1638] (rev c9)
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1636]
Kernel driver in use: vfio-pci
Kernel modules: amdgpu
06:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller [1002:1637]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller [1002:1637]
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel
/etc/pve/qemu-server/106.conf
bios: ovmf
boot: order=ide1;ide0;ide2;net0
cores: 4
cpu: host,hidden=1
efidisk0: local-zfs:vm-106-disk-0,efitype=4m,pre-enrolled-keys=1,size=1M
hostpci0: 0000:06:00.0,pcie=1,romfile=vbios_1638.dat
ide0: local:iso/virtio-win-0.1.240.iso,media=cdrom,size=612812K
ide1: local-zfs:vm-106-disk-1,discard=on,size=128G,ssd=1
ide2: local:iso/en-us_windows_10_consumer_editions_version_22h2_updated_dec_2023_x64_dvd_3045f975.iso,media=cdrom,size=>machine: pc-q35-8.1
memory: 4096
meta: creation-qemu=8.1.2,ctime=1704478634
name: win10
net0: virtio=BC:24:11:0A:49:F5,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
scsihw: virtio-scsi-single
smbios1: uuid=f71b4d72-3c4d-416b-bec2-8c3d26512246
sockets: 1
vga: none
vmgenid: 9f4ba1c7-b21c-4930-9637-04dfc370a850
The romfile was extracted from the manufacturer's bios file. I also tried
this one but the VM doesn't boot
I have also created a fix_gpu_pass.sh like this:
fix_gpu_pass.sh
#!/bin/bash
echo 1 > /sys/bus/pci/devices/0000\:06\:00.0/remove
echo 1 > /sys/bus/pci/rescan
Any help would be greatly appreciated