Proxmox Windows 11 VM

twhiterust

New Member
Sep 5, 2025
10
0
1
hey
So this is the first time posting on Proxmox forum so tell me if ive made any mistakes.
I am trying to make a win11 vm on my server pc (7900x cpu and a 7900xtx gpu) I have made the vm and added the gpu through pcie pass through but when I get through windows install to windows nothing shows in task manager and device manger has a code 43 for the gpu. If I try to install drivers they do install but after restarting they don't even show in device manager. Then when I try to install and drivers again I get an error 173. This is on a fresh install of the latest version of Proxmox with only 1 lxc running off it.

Thanks for any time spent on this
Thomas
 
I don't think anyone can answer without knowing what dmesg and your settings are.

We recommend attaching long logs as files, as people will not want to read something that is difficult to read.

It is easier for people to read short settings if you paste them as code into the main text.

Code:
dmesg
lspci -nnk
cat /etc/kernel/cmdline
cat /etc/default/grub
cat /etc/modules
cat /etc/modprobe.d/*
cat /etc/pve/qemu-server/<vmid>.conf
cat /var/lib/vz/snippets/*
 
Last edited:
And add on your report, witch changes you make on the bios settings!
Not every (no) mainboard will work out of stock.
 
  • Like
Reactions: UdoB
Ah thanks for suggestions.

cat /etc/default/grub
https://pastebin.com/GYiBQQ2e

cat /etc/modules
https://pastebin.com/p9AaaKJc

cat /etc/modprobe.d/*
https://pastebin.com/vMZdvfds

cat /etc/pve/qemu-server/110.conf
https://pastebin.com/tt5vtuJM
Bios Changes
CSM: Disabled
Above 4G Decoding: Enabled
Resizable BAR Support: Disabled
SR-IOV: Enabled

Thanks for the suggestions

EDIT: I followed this guide to make the vm (https://www.reddit.com/r/Proxmox/comments/15kbmyh/comment/jv72la2/)
I might of now followed it correctly though
 
Last edited:
I feel like what you are referring to is outdated information.

nofb video=vesafb:off video=efifb:off video=simplefb:off

I believe this is using the pve7.1 procedure.

I see that you have multiple settings that are the same, so why don't you clean everything up and then try the following?

There have been reports of success, so please consider using that option.
I have a feeling that this procedure also includes unnecessary settings, but if you want it to work, I think you can just set it up as is.

 
Last edited:
Man you are awesome. But now when I try to boot it says the "press any key to boot from cd or dvd" and when I press a key it just reboots and goes back to the boot from cd screen
 
Still when I boot the vm the press any key to boot comes up and then it still says no bootable option or device was found.
any other idea?
thanks
 
That probably means that scsi0 is unbootable. Can you check what you see if scsi0 is your only boot option?
 
Last edited:
If you have made changes, we need the information again because we cannot know without the settings after the changes have been made.
If the key doesn't work on the virtual console, you may need to check if the USB is not passed through somewhere.
 
So ive changed the vm config to this
balloon: 4096
bios: ovmf
boot: order=ide2;scsi0;ide0;net0
cores: 12
cpu: kvm64,flags=+hv-tlbflush;+aes
efidisk0: NVMEMASS:110/vm-110-disk-0.qcow2,efitype=4m,pre-enrolled-keys=1,size=528K
hostpci0: 0000:03:00,pcie=1,rombar=0,romfile=navi31.rom,x-vga=1
ide0: local:iso/virtio-win-0.1.271.iso,media=cdrom,size=709474K
ide2: local:iso/Win11_24H2_EnglishInternational_x64.iso,media=cdrom,size=5695402K
machine: pc-q35-10.0,viommu=intel
memory: 16384
meta: creation-qemu=10.0.2,ctime=1757144159
name: Win11
net0: virtio=BC:24:11:1F:1D:96,bridge=vmbr0,firewall=1
numa: 0
ostype: win11
scsi0: NVMEMASS:110/vm-110-disk-1.qcow2,size=256G
scsihw: virtio-scsi-pci
smbios1: uuid=f151d61f-91c3-432b-84da-45ace30de0db
sockets: 1
tpmstate0: NVMEMASS:110/vm-110-disk-2.raw,size=4M,version=v2.0
vga: std
vmgenid: 5a35f87f-5aa5-4222-aa7b-282226e32980
And here's the hardware menu
1757233630853.png
The vm defo gets my keystrokes it just docent do anything after that
 
Last edited:
So I have got it to boot, but now the console is just black, and if I stop the vm I have to restart the host for the vm to start again. I get the error
error writing '1' to '/sys/bus/pci/devices/0000:03:00.0/reset': Inappropriate ioctl for device
failed to reset PCI device '0000:03:00.0', but trying to continue as not all devices need a reset
swtpm_setup: Not overwriting existing state file.
kvm: ../hw/pci/pci.c:1803: pci_irq_handler: Assertion `0 <= irq_num && irq_num < PCI_NUM_PINS' failed.
stopping swtpm instance (pid 261430) due to QEMU startup error
TASK ERROR: start failed: QEMU exited with code 1

bios: ovmf
boot: order=scsi0;ide2;ide0;net0
cores: 12
cpu: kvm64,flags=+hv-tlbflush;+aes
efidisk0: NVMEMASS:120/vm-120-disk-0.qcow2,efitype=4m,pre-enrolled-keys=1,size=528K
hostpci0: 0000:03:00,pcie=1,romfile=Asus.RX7900XTX.24576.221129.rom,x-vga=1,rombar=0
ide0: local:iso/virtio-win-0.1.271.iso,media=cdrom,size=709474K
ide2: local:iso/Win11_24H2_EnglishInternational_x64.iso,media=cdrom,size=5695402K
machine: pc-q35-9.0
memory: 16384
meta: creation-qemu=10.0.2,ctime=1757234791
name: Win11Dev
net0: virtio=BC:24:11:C0:D8:53,bridge=vmbr0,firewall=1
numa: 0
ostype: win11
scsi0: NVMEMASS:120/vm-120-disk-1.qcow2,size=256G
scsihw: virtio-scsi-pci
smbios1: uuid=30d3d19d-62f9-4607-8155-649b811ce471
sockets: 1
tpmstate0: NVMEMASS:120/vm-120-disk-2.raw,size=4M,version=v2.0
vga: std
vmgenid: 51d5e957-26f3-428e-9b2c-fa1b794f2c83
args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=NV43FIX,kvm=off'
 
Thank you so much for helping me, the boot problem didnt get fixed i just booted off my pxe server.
Then i could just remote in to the VM