Quick and dirty notes on installing V540 in Windows VM, running on Proxmox hypervisor.
Host platform shouldn't matter much, but needs to have decent IOMMU support. On desktop boards it's hit or miss. For display adapter, any vendor is fine, we only need it for Proxmox installation. If using discreet card, better connect it to secondary PCIe x16 slot.
Enable IOMMU in BIOS.
Proxmox installer
I suggest configuring static IP for host, to simplify access.
After completing installation, login to Proxmox via Web browser, click on your host in left pane, then in middle pane Updates>Repositories, disable Enterprise repo, add No-Subscription repo.
Open shell on host, run:
Code:
apt update
apt dist-upgrade
nano /etc/default/grub
edit:
Code:
GRUB_CMDLINE_LINUX_DEFAULT="quiet nomodeset"
add:
Code:
vfio
vfio_iommu_type1
vfio_pci
Code:
nano /etc/modeprobe.d/pve-blacklist.conf
add:
Code:
update-initramfs -u -k all
reboot
Create Windows VM - detailed steps are beyond scope of this post.
Guest OS - MS Windows
Version - depending on your ISO, Pro/Enterprise version strongly recommended due to RDP support.
Graphics - Default
Machine - q35
BIOS - OVMF
Add EFI Disk
Pre-enroll keys yes
Qemu Agent yes
Add TPM yes
Disks - add OS disk to IDE or SATA bus, check Advanced > SSD Emulation yes
CPU - cores as needed, Type - host
Memory - as needed, Ballooning device no
Network - Model Intel E1000
Finish Windows setup, enable RDP, install VirtIO drivers:
Shutdown VM.
For better performance, now we can connect OS disk to VirtIO SCSI bus, and change network to VirtIO adapter.
Start VM, verify that OS boots and RDP access works. Shutdown VM.
In VM Hardware:
set display to none
add PCI device
Raw Device - look for Navi12 with lower bus-id
Primary GPU yes
Advanced
ROM-bar yes
PCI-Express yes
Vendor ID: 0x1002
Device ID: 0x7362
Sub-Vendor ID: 0x1002
Sub-Device ID: 0x1a34
Start VM, from now only access is by RDP. Manually install drivers for V540 via Device Manager. From my experience, these are most stable:
If you need virtual display for streaming, use these drivers:
Add virtual monitors to your windows 10/11 device! Works with VR, OBS, Sunshine, and/or any desktop sharing software. - itsmikethetech/Virtual-Display-Driver
github.com
For good gaming performance, I recommend Sunshine/Moonlight combo. Other streaming apps should also be fine. GPU hardware encoding is working.