Windows 11 Spice (Three Monitors) "Error 12" in device manager.

versed.perception

New Member
Aug 14, 2023
6
4
3
Just like the title summaries, for windows Guests spice's additional VGA heads are throwing "out of resources" error 12 in device manager.

There is nothing advanced on these VMs (no IOMMU groups and such), the only thing I can think of is the "sub QXL" devices are trying to share the same DMA memory ranges? Spice works fine for display0, its just these additional heads that are failing and preventing a multi monitor setup.

Any ideas?

PVE is 7.4.-1
Linux 5.15.131-2-pve
pve-manager/7.4-17/513c62be

Target VM's config file:
Code:
audio0: device=ich9-intel-hda,driver=spice
bios: ovmf
boot: order=sata0;net0;ide2
cores: 4
efidisk0: smb-vms:100/vm-100-disk-1.qcow2,efitype=4m,pre-enrolled-keys=1,size=528K
ide2: smb-datastore:iso/virtio-win-0.1.229.iso,media=cdrom,size=522284K
machine: pc-q35-6.2
memory: 8192
meta: creation-qemu=7.1.0,ctime=1688775016
name: VDI01
net0: e1000=B2:2F:86:B8:0D:61,bridge=vmbr0,firewall=1,tag=311
numa: 0
ostype: win11
sata0: smb-vms:100/vm-100-disk-0.qcow2,size=180G
scsihw: virtio-scsi-single
smbios1: uuid=327cab55-3702-4e62-8305-b5badf2cf9f5
sockets: 1
spice_enhancements: videostreaming=all
tpmstate0: smb-vms:100/vm-100-disk-0.raw,size=4M,version=v2.0
vga: qxl3,memory=128
vmgenid: 89e68733-58f2-4a9f-8172-19420cdc934b

Screenshot from above VM showing QXL 2 and 3 in error 12 state.

1707021770585.png

Spice Agents are installed from the bundle, Spice Client is using the remote-viewer and calling the *.vv that comes down from proxmox's WebGUI.

We can see that Spice's remote-viewer thinks there are up to three displays available
1707021971302.png

But display 2+ just goes to a blank screen

1707022031338.png
 
Last edited:
I just ran into this myself; it was very sensitive to the memory I allocated to memory/framebuffer for QXL. The default 128MB resulted in 1 working monitor of 3. Wouldn't boot at all with 32MB or 256MB. 64MB did the trick and I had all 3 working. That ideal number may be graphics card and resolution specific.

Edit: see also https://www.spice-space.org/multiple-monitors.html
 
Last edited:

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!