Yes I know, another GPU passthrough post...
Well, hello everyone, first time with proxmox, I'm trying to setup GPU passthrough on an AMD platform and following multiple guides/video/wiki I still cannot manage to make it work...
Server detail :
Goal : Windows 10 VM with GPU passthrough
Useful outputs:
My GPU is 0000:43:00 (.0 for the GPU itself and .1 for the audio) and if I read/understand the output correctly, it belongs to its own IOMMU group 31.
I was not sure where to put this blacklist, depending on the tuto the information varies. But I guess all .conf files are loaded at boot so it should not matter.
For info, if I add cpu: host, hidden=1 Windows crashed at the very beginning with a BSOD
What I get with this configuration :
When I boot up proxmox I lose the video (the server is connected to my TV now), which is normal I understand.
When I boot the W10 VM I get the proxmox logo, 2 QEMU lines telling me that the disk is found and it will boot, but it's stuck here, RAM goes 95% usage, CPU 30% and the screen looks like it's shattered. I don't know exactly how to describe it but if you google image "faulty GPU screen" it looks like this.
However the GPU is not faulty, since at the beginning I installed only a W10 OS (not a VM) to test everything and it's OK.
I also tried to change the PCI slot the card is plugged in. No change.
Any help is appreciated and I can perform more test if needed, there is nothing running on proxmox yet...
Thanks guys !

Well, hello everyone, first time with proxmox, I'm trying to setup GPU passthrough on an AMD platform and following multiple guides/video/wiki I still cannot manage to make it work...
Server detail :
- AMD Ryzen Threadripper 1920x (AMD-v and AMD-vi available)
- Asrock X399 MB with IOMMU enabled and CSM disabled (so full UEFI)
- AMD Radeon R9 290
- And all the other usual stuff which don't matter for this issue
- Proxmox : 6.1-8
- Windows image : 1909 (latest from windows website at the time of writing)
Goal : Windows 10 VM with GPU passthrough
Useful outputs:
root@proxmox:~# lspci
43:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii PRO [Radeon R9 290/390]
43:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii HDMI Audio [Radeon R9 290/290X / 390/390X]
43:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii PRO [Radeon R9 290/390]
43:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Hawaii HDMI Audio [Radeon R9 290/290X / 390/390X]
root@proxmox:~# find /sys/kernel/iommu_groups/ -type l
/sys/kernel/iommu_groups/31/devices/0000:43:00.0
/sys/kernel/iommu_groups/31/devices/0000:43:00.1
/sys/kernel/iommu_groups/31/devices/0000:43:00.0
/sys/kernel/iommu_groups/31/devices/0000:43:00.1
My GPU is 0000:43:00 (.0 for the GPU itself and .1 for the audio) and if I read/understand the output correctly, it belongs to its own IOMMU group 31.
root@proxmox:~# cat /etc/modprobe.d/blacklist.conf
blacklist radeon
blacklist nouveau
blacklist nvidia
root@proxmox:~# 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 nouveau
blacklist radeon
blacklist nvidia
blacklist radeon
blacklist nouveau
blacklist nvidia
root@proxmox:~# 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 nouveau
blacklist radeon
blacklist nvidia
I was not sure where to put this blacklist, depending on the tuto the information varies. But I guess all .conf files are loaded at boot so it should not matter.
root@proxmox:~# lspci -n -s 43:00
43:00.0 0300: 1002:67b1
43:00.1 0403: 1002:aac8
43:00.0 0300: 1002:67b1
43:00.1 0403: 1002:aac8
root@proxmox:~# cat /etc/modprobe.d/vfio.conf
options vfio-pci ids=1002:67b1,1002:aac8 disable_vga=1
options vfio-pci ids=1002:67b1,1002:aac8 disable_vga=1
root@proxmox:~# cat /etc/default/grub
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Proxmox Virtual Environment"
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on video=vesafb: off,efifb: off"
#GRUB_CMDLINE_LINUX_DEFAULT="textonly video=astdrmfb video=efifb: off"
GRUB_CMDLINE_LINUX="root=ZFS=rpool/ROOT/pve-1 boot=zfs"
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Proxmox Virtual Environment"
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on video=vesafb: off,efifb: off"
#GRUB_CMDLINE_LINUX_DEFAULT="textonly video=astdrmfb video=efifb: off"
GRUB_CMDLINE_LINUX="root=ZFS=rpool/ROOT/pve-1 boot=zfs"
root@proxmox:~# cat /etc/pve/qemu-server/103.conf
bios: ovmf
bootdisk: scsi0
cores: 8
hostpci0: 43:00,pcie=1,x-vga=1
ide0: local:iso/virtio-win-0.1.173.iso,media=cdrom,size=384670K
ide2: local:iso/WINDOWS_10_3en1_1909__18363.720__FR_X64__DREAM_TEAM_CUSTOM_OS_.iso,media=cdrom
machine: q35
memory: 8192
name: W10-OVMF
net0: virtio=02:6C:80:E4:B1:0B,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
scsi0: VM-OS:vm-103-disk-0,size=100G
scsihw: virtio-scsi-pci
smbios1: uuid=f42051a2-d52b-4853-9945-6fc0f2152c7f
sockets: 1
vmgenid: 9416e428-8594-479b-8803-df1767695805
bios: ovmf
bootdisk: scsi0
cores: 8
hostpci0: 43:00,pcie=1,x-vga=1
ide0: local:iso/virtio-win-0.1.173.iso,media=cdrom,size=384670K
ide2: local:iso/WINDOWS_10_3en1_1909__18363.720__FR_X64__DREAM_TEAM_CUSTOM_OS_.iso,media=cdrom
machine: q35
memory: 8192
name: W10-OVMF
net0: virtio=02:6C:80:E4:B1:0B,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
scsi0: VM-OS:vm-103-disk-0,size=100G
scsihw: virtio-scsi-pci
smbios1: uuid=f42051a2-d52b-4853-9945-6fc0f2152c7f
sockets: 1
vmgenid: 9416e428-8594-479b-8803-df1767695805
For info, if I add cpu: host, hidden=1 Windows crashed at the very beginning with a BSOD
What I get with this configuration :
When I boot up proxmox I lose the video (the server is connected to my TV now), which is normal I understand.
When I boot the W10 VM I get the proxmox logo, 2 QEMU lines telling me that the disk is found and it will boot, but it's stuck here, RAM goes 95% usage, CPU 30% and the screen looks like it's shattered. I don't know exactly how to describe it but if you google image "faulty GPU screen" it looks like this.
However the GPU is not faulty, since at the beginning I installed only a W10 OS (not a VM) to test everything and it's OK.
I also tried to change the PCI slot the card is plugged in. No change.
Any help is appreciated and I can perform more test if needed, there is nothing running on proxmox yet...
Thanks guys !