AMD RX6600 GPU passthrough works with Windows 11 driver but I can’t install AMD Adrenalin driver

YAGA

Renowned Member
Feb 15, 2016
76
8
73
58
Hi there,

My setup: Asrock B550 ITX/AX with Ryzen 5950x + Asus RX 6600 with PVE 8.1.4 and Windows 11 with GPU passthrough.

Windows 11 device manager recognizes AMD Radeon RX 6000 and 32-core AMD 5950x (Qemu with CPU host and numa=1 parameters.

Everything seems to work properly with 3D acceleration based on Windows 11 RX 6600 driver.

I’m unable to install AMD Adrenalin driver because the driver didn’t recognise AMD hardware.

With 3DMark Time Spy, the CPU is not recognised but the demo works properly with good 3D results. I can’t upgrade 3DMark to latest version because my CPU is recognised as a non-SSSE3 compatible.

What is wrong in my setup?

dmesg | grep -e DMAR -e IOMMU
[ 0.799812] pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported
[ 0.801102] pci 0000:00:00.2: AMD-Vi: Found IOMMU cap 0x40
[ 0.801430] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).
[ 6.676473] AMD-Vi: AMD IOMMUv2 loaded and initialized

dmesg | grep 'remapping'
[ 0.480953] x2apic: IRQ remapping doesn't support X2APIC mode
[ 0.801109] AMD-Vi: Interrupt remapping enabled

/etc/modules
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd

/etc/modprobe.d/blacklist.conf
blacklist radeon
blacklist nvidia

/etc/modprobe.d/pve-blacklist.conf
blacklist nvidiafb

/etc/modprobe.d/vfio.conf
options vfio-pci ids=1002:73ff,1002:ab28 disable_vga=1

extract of /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt initcall_blacklist=sysfb_init"

extract of /etc/pve/qemu-server/200.conf
...
agent: 1
balloon: 0
bios: ovmf
cores: 32
cpu: host
hostpci0: 0000:08:00,pcie=1
machine: pc-q35-8.1
memory: 32768
numa: 1
ostype: win11
vga: none
...

Any advice is welcome.
Kind regards,
YAGA
 
Hi,

Haven't had a response yet. Should I consider that it is common not to be able to install the AMD Adrenalin driver with GPU passthrough?

Kind regards,
YAGA
 
In the past AMD drivers did not work for me with Machine Version 8.1 but did work with 7.2. I don't know how Windows 11 responds to such a change (backup or clone it) but you might want to give it a try.
Thanks @leesteken, I've tried machine pc-q35-7.2 but without success, 3D acceleration still working with Windows driver for RX 6600 but I can't install AMD Adrenalin driver (AMD hardware is not recognised).
 
I had the same issue but with the rx560. Originally, I used "non-whql-radeon-software-adrenalin-2020-21.2.3-win10-64bit-feb22" which would work with Spice. But I could not install any newer drivers nor Arenaline.
My solution was :
  1. VM > Hardware > Display > Graphic Card: none
  2. Install AMD Adrenaline (amd-software-adrenalin-edition-24.4.1-minimalsetup-240423_web) using a physical monitor
  3. Shutdown the VM
  4. VM > Hardware > Display > Graphic Card: VMware compatible
    1. Memory: 36 (Optional)
    2. Clipboard: Default
AMD Adrenaline does not work with Spice. I hope this is helpful.
-----------
ASRock X570 Taichi | Ryzen 3700x | Kingston KSM32ED8/16HD-DDR4-16 GB (x2) | Kingston KSM26ED8/16ME-DDR4-16 GB (x2)
MSI Radeon RX 560 4GT LP OC GPU | Hauppauge 1229 WinTV-HVR-2255 | LSI SAS9207-8e 8-Port External HBA | Lenovo SA120
-----------
OS: Proxmox VE 8.2.2 x86_64
Kernel: 6.8.4-3-pve
Shell: bash 5.2.15
CPU: AMD Ryzen 7 3700X (16) @ 3.600GHz
GPU: AMD ATI Radeon RX 560
Memory: 64214MiB
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!