Hi, I followed the following method to passthrough:
I can passthrough in both cases, but the case of windows 11, I get this:


I tried to install the AMD drivers directly from the website. Didn't worked, when I try to update the drivers they say it has the best driver available. Here's the Hardware of the VM:

Lastly, I don't give the card to both VMs, they are "gaming VMs" and will never be on at the same time, so when I want to play games that are on windows only I go on the Windows VM and when a game is on Linux I play on Ubuntu. I just remove the card from one VM and give it to the other.
Edit* The passthough works before getting to windows as the Proxmox logo appear on the screen right before windows start, then the image on the screen connected to the graphical card freeze and stays on the Proxmox logo. I can only access the VM through the console in the web interface.
Thanks in advance for the help!
Code:
-EFI Boot Systems; Add IOMMU Support-
nano /etc/kernel/cmdline
%> intel_iommu=on
- OR -
%> amd_iommu=on
Save file and close
proxmox-boot-tool refresh
-Load VFIO modules at boot-
nano /etc/modules
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
Save file and close
-Blacklist graphic drivers (optional)-
echo "options vfio_iommu_type1 allow_unsafe_interrupts=1" > /etc/modprobe.d/iommu_unsafe_interrupts.conf
echo "options kvm ignore_msrs=1" > /etc/modprobe.d/kvm.conf
echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
echo "blacklist nvidia" >> /etc/modprobe.d/blacklist.conf
-Configure GPU for PCIe Passthrough-
- Find your GPU
lspci
- Enter the PCI identifier
lspci -n -s 82:00 -v
- Copy the HEX values from your GPU here:
echo "options vfio-pci ids=####.####,####.#### disable_vga=1"> /etc/modprobe.d/vfio.conf
-Apply all changes-
update-initramfs -u -k all
--REBOOT--
I can passthrough in both cases, but the case of windows 11, I get this:


I tried to install the AMD drivers directly from the website. Didn't worked, when I try to update the drivers they say it has the best driver available. Here's the Hardware of the VM:

Lastly, I don't give the card to both VMs, they are "gaming VMs" and will never be on at the same time, so when I want to play games that are on windows only I go on the Windows VM and when a game is on Linux I play on Ubuntu. I just remove the card from one VM and give it to the other.
Edit* The passthough works before getting to windows as the Proxmox logo appear on the screen right before windows start, then the image on the screen connected to the graphical card freeze and stays on the Proxmox logo. I can only access the VM through the console in the web interface.
Thanks in advance for the help!
Last edited: