[TUTORIAL] Windows 11 VM for gaming setup guide

I'm a little lost, if anyone has any ideas. I followed the steps as best I could but my Windows 10 (I know, not 11) VM still won't boot. It's getting stuck pre-boot in proxmox:

Code:
error writing '1' to '/sys/bus/pci/devices/0000:01:00.0/reset': Inappropriate ioctl for device
failed to reset PCI device '0000:01:00.0', but trying to continue as not all devices need a reset
swtpm_setup: Not overwriting existing state file.
kvm: type=1,vendor=American Megatrends Inc.,version=P3.10,date=10/24/2018: Could not open 'type=1,vendor=American Megatrends Inc.,version=P3.10,date=10/24/2018': No such file or directory
stopping swtpm instance (pid 6775) due to QEMU startup error
TASK ERROR: start failed: QEMU exited with code 1

My args:
Code:
args: -cpu host,-hypervisor,kvm=off,-smbios type=1,vendor="American Megatrends Inc.",version=P3.10,date="10/24/2018"

From my dmidecode:

Code:
Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
        Vendor: American Megatrends Inc.
        Version: P3.10
        Release Date: 10/24/2018

This post implies that the PCI errors may not be a problem: https://forum.proxmox.com/threads/w...ckages-broke-my-pci-passthrough.156848/page-3

and I changed the -smbios parameter to type 1 as that is what's reflected in the web GUI for proxmox ("SMBIOS settings (type 1)") under the options tab for the VM.

Do I need to generate a bios file or something before I can boot? I'm not sure how to proceed with troubleshooting this.

This post here solved this for me: https://forum.proxmox.com/threads/gpu-passthrough-issues-after-upgrade-to-7-2.109051/post-469855
 
So having an interesting issue.. followed this tutorial to a T.. except using windows 11. and, the gaming VM works perfect.. except. randomly now the VM will power off (not shutdown) but like someone pulled the cord from the wall. No IO Pressure stall, No CPU pressure stall.. No resets I can see. and its random too.. like it will shutoff the VM instantly (not cleanly) while playing Disney Dreamlight or some other small game (Minecraft) randomly mid-game. But, play AC Shadows or AC Valhalla on ultra for hours without issue. CPU, RAM, GPU do not spike from what I can see in logs and in proxmox. and, the VM will start up fine.. only affects the windows vm.. all other VMs will continue to run without issue. Any thoughts?
 
@AusKee make sure you have rebar/rombar disabled in your BIOS. I saw weird stuff in dmesg and in the end it was rebar (it might also be the split lock detection im not sure anymore)

i only use:

Code:
cpu: host,flags=+aes
args: -cpu host,hv_passtrough

and also ive set:

Code:
cat /etc/kernel/cmdline
root=ZFS=rpool/ROOT/pve-1 boot=zfs intel_iommu=on iommu=pt split_lock_detect=off video=efifb:off pcie_acs_override=downstream pci=realloc=off pci=nocrs

but for some reason i only see more than 40-50% GPU usage in vulkan games. ill try next to get rebar to work (proxmox forum) maybe that helps a bit

edit: i might add, in furmark it goes up to 70% and with furmark vulkan 100%. in games both are more or less the same
 
Last edited: