I was able to install the AMD drivers without crashing but upon rebooting the VM, the entire Proxmox node froze up and had to be manually reset. I figured the VM was borked but actually if I start it up and shut it down without using the 'Restart' mechanism, it works fine.
Motherboard: ASUS Sabertooth 990FX r2.0
CPU: FX-8370
So far, GPU performance seems to also be quite low compared to bare metal. I wasn't able to launch Unigine Valley due to missing MSVC...DLL's.
I could however connect to the system via Parsec which requires hardware encoding to function. The performance again wasn't what bare metal would provide though.
Code:
lspci
PCIe Slot 1: (Proxmox Server)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Caicos XTX [Radeon HD 8490 / R5 235X OEM]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Caicos HDMI Audio [Radeon HD 6450 / 7450/8450/8490 OEM / R5 230/235/235X OEM]
PCIe Slot 3: (Windows 10 VM)
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Lexa XT [Radeon PRO WX 2100]
06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device aae0
Code:
cat /etc/pve/qemu-server/104.conf
agent: 1
bios: ovmf
boot: cd
bootdisk: scsi1
cores: 8
efidisk0: SSD1:vm-104-disk-2,size=128K
ide0: local:iso/virtio-win-0.1.141.iso,media=cdrom,size=309208K
memory: 4096
name: Win10x64
net0: virtio=00:0C:29:06:F2:63,bridge=vmbr0
numa: 0
ostype: win10
scsi1: SSD1:vm-104-disk-1,size=90G
scsihw: virtio-scsi-pci
smbios1: uuid=e21f79cd-6b3a-4da0-841c-0892b92ea3b8
sockets: 1
machine: q35
hostpci0: 06:00,pcie=1,x-vga=on
Code:
cat vfio.conf
options vfio-pci ids=1002:6995,1002:aae0 disable_vga=1
Code:
lspci -n -s 01:00
01:00.0 0300: 1002:6771
01:00.1 0403: 1002:aa98
lspci -n -s 06:00
06:00.0 0300: 1002:6995
06:00.1 0403: 1002:aae0
Code:
cat blacklist.conf
#blacklist radeon //Proxmox host is still using a radeon GPU AFAIK
blacklist nouveau
blacklist nvidia
Code:
find /sys/kernel/iommu_groups/ -type l | grep 18
/sys/kernel/iommu_groups/18/devices/0000:01:00.1
/sys/kernel/iommu_groups/18/devices/0000:01:00.0
find /sys/kernel/iommu_groups/ -type l | grep 22
/sys/kernel/iommu_groups/22/devices/0000:06:00.0
/sys/kernel/iommu_groups/22/devices/0000:06:00.1
Code:
dmesg | grep -e DMAR -e IOMMU
[ 1.344032] AMD-Vi: Found IOMMU at 0000:00:00.2 cap 0x40
[ 8.728815] AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>
[ 8.728816] AMD IOMMUv2 functionality not available on this system
Code:
cat /etc/modules
...
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
Motherboard: ASUS Sabertooth 990FX r2.0
CPU: FX-8370
So far, GPU performance seems to also be quite low compared to bare metal. I wasn't able to launch Unigine Valley due to missing MSVC...DLL's.
I could however connect to the system via Parsec which requires hardware encoding to function. The performance again wasn't what bare metal would provide though.