Spice dual monitor from Windows 7 guest

alamadrid

New Member
Aug 30, 2016
12
0
1
29
Miami, FL
All,

I'm running Proxmox VE 5.3, currently trying to get dual monitor from a Windows 7 guest. I'm running virt-viewer 8.0 from Windows 10 1803.

Here is my VM info:

agent: 1
bootdisk: scsi0
cores: 1
ide2: local:iso/virtio-win-0.1.164.iso,media=cdrom,size=367806K
memory: 8192
name: ADMIN-VM
net0: virtio=22:65:84:FB:5F:DF,bridge=vmbr0
numa: 0
ostype: win7
scsi0: Storage:vm-103-disk-0,format=raw,size=100G,ssd=1
scsihw: virtio-scsi-pci
smbios1: uuid=bad940a3-4dec-480f-bcb3-7a6401273f34
sockets: 4
vga: qxl2,memory=128
vmgenid: 77eff21a-14e0-4de8-a330-f61a2a439d42

I have installed the latest version of virtio-win from:

https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-virtio/virtio-win.iso

0.1.164

I have installed the latest version of qemu-ga from:

https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/latest-qemu-ga/

100.0.0.0-3.el7ev

I have installed the latest version of spice-guest-tools from:

https://www.spice-space.org/download/windows/spice-guest-tools/spice-guest-tools-latest.exe

vdagent : 0.9.0

This also brings some virtio-win drivers bundled. However, they ship virt-win v0.1.141, current latest version is 0.1.164, what do you think about this?

As soon as I start the spice session everything seems to work Ok, except that after I'm connected to the Graphics Server everything is black.

Noticed in QEMU docs that to get this to work on Windows (Dual Monitors) the following arguments needs to passed"

-vga qxl -device qxl

I tried passing it like the following:

qm set vmID --device (But there is no --device argument)

Since Windows Guest can emulate no more than 1 monitor per controller.

Any advice will be really appreciated.

Regards,

Alvaro Lamadrid
 
Hello,

First of all, I have to inform you that my vm are based on Debian, and my host is on Windows 10 :)

In consequence, I cannot give you detailed steps since I've never been on your situation.

Did you try to follow strictly the steps of the following video : https://www.youtube.com/watch?v=thVmhIw4-jU ?
My idea is to select "SPICE" before installing Windows, and check if everything works fine.

If yes, you may after select "SPICE dual monitor" and see if it's still working...

I hope it will help you !
 
  • Like
Reactions: alamadrid
Hello,

First of all, I have to inform you that my vm are based on Debian, and my host is on Windows 10 :)

In consequence, I cannot give you detailed steps since I've never been on your situation.

Did you try to follow strictly the steps of the following video : https://www.youtube.com/watch?v=thVmhIw4-jU ?
My idea is to select "SPICE" before installing Windows, and check if everything works fine.

If yes, you may after select "SPICE dual monitor" and see if it's still working...

I hope it will help you !
I did take a look to the video, however I could not find any relevant detail to solve my case :( thank you for posting though.

Regards,

Alvaro Lamadrid
 
HERE AND ALMOST EVERYWHERE I SEE NOBODY PROVIDES A SOLUTION, WHEN IT DOESN'T WORK ALTHOUGH IT IS CONFIGURED CORRECTLY, EXCEPT THIS IS WHAT I FOUND:

In Proxmox KVM, I am doing everything properly, have spice-vdagent installed in VM Ubuntu 20.04 LTS Desktop (gnome), but still the system won't see in display settings any extra monitor, and clicking display 2 in remote-viewer doesn't do anything.

I've seen that people have had this problem with different Ubuntu versions (ranging probably to even 16.04 LTS already then), and I have encountered that this might be problem with HWE kernel, so perhaps reinstalling to GA kernel can fix the problem:

https://stafwag.github.io/blog/blog...resolution-on-a-kvm-virtual-machine-with-qxl/

https://askubuntu.com/a/1011440/702332

I haven't tried that but I will give it a shot some day in the future.



Other places where I mentioned this probable solution:


I also saw it here but don't have an account to write there:

https://access.redhat.com/discussions/1363063
 

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!