Ah yes, after trial and error, 3 takes recording this, I finally got my Windows virtual machine to take the AMD GPU with PCI passthrough. These are the steps I took and the guide I followed. This guide should work for both AMD and NVIDIA dedicated graphics cards.
NOTE: If you're using an AMD GPU you may run into some issues as I did. For me the fix was disabling CMS in the bios. Also IOMMU needs to be enabled in bios no matter your hardware.
📖RESOURCES AND MENTIONS
Guide*: https://www.reddit.com/r/homelab/comments/b5xpua/the_ultimate_beginners_guide_to_gpu_passthrough/
*There are some additional steps and information in this video that are not included in the guide. Primarily during the VM setup process because of minor changes with Windows 11.
If you're still having issues these are helpful resources:
AMD Error Code 43: https://forum.proxmox.com/threads/pci-passthrough-error-code-43.56462/post-302985
AMD Reset Bug: https://www.nicksherlock.com/2020/11/working-around-the-amd-gpu-reset-bug-on-proxmox/
Downloads:
Proxmox: https://www.proxmox.com/en/downloads
VertIO Drivers: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.217-2/
👏SUPPORT TECHHUT
YOUTUBE MEMBER: https://bit.ly/members-techhut
BECOME PATREON: https://bit.ly/patreon-techhut
DONATE PAYPAL: https://bit.ly/paypal-techhut
$100 LINODE CREDIT: https://bit.ly/linode-techhut
🏆FOLOW TECHHUT
JOIN DISCORD: https://bit.ly/discord-techhut
TWITTER: https://bit.ly/twitter-techhut
MASTODON: https://bit.ly/mastodon-techhut
INSTAGRAM: https://bit.ly/personal-insta
📷MY GEAR (PAID LINKS)
ASUS ROG M16: https://amzn.to/3t8Xgpo
DeepCool MATREXX 40: https://amzn.to/3q3K8Qn
AMD 3700x: https://amzn.to/31AKX9N
ASRock B550M: https://amzn.to/3qeymTv
G.Skill Trident Z Neo: https://amzn.to/3JRbeSF
Radeon RX 580: https://amzn.to/3n7Ax9g
Cannon M50: https://amzn.to/3xLfhuA
Lights: https://amzn.to/3OdeWHU
00:00 - My Hardware
01:42 - Bios Setup
02:36 - Install Proxmox
04:03 - Initial Setup (GRUB/Modules)
05:41 - Remapping/Blacklisting Drivers
06:38 - Adding the GPU
08:33 - Setting up the Virtual Machine
11:01 - VM Configuration
12:00 - Adding PCI Device to VM
13:00 - Windows Install (VirtIO Drivers)
15:30 - Ethernet and Remote Desktop
17:30 - RPD and Display
18:40 - Installing Drivers
19:53 - Testing Drivers!