[Spice-devel] 4-display windows guest problems

Marian Krcmarik mkrcmari at redhat.com
Fri Nov 15 15:13:35 PST 2013



----- Original Message -----
> From: "Jonathon Jongsma" <jjongsma at redhat.com>
> To: spice-devel at freedesktop.org
> Sent: Friday, November 15, 2013 10:43:59 PM
> Subject: [Spice-devel] 4-display windows guest problems
> 
> I'm trying to understand a bug I encountered in virt-viewer.
> 
> I set up a windows 7 guest with 4 QXL devices.  When I connect to this guest
> with virt-viewer, it gets 4 display channels, and virt-viewer offers to let
> me enable 4 displays (via toggling 'View > Dislays > Display N').  However,
> display #2 consistently doesn't work for me.
> 
> If I enable display 2 (via 'View > Displays' menu), the display just waits
> forever with 'Waiting for displays 2' message.  Enabling displays 3 or 4
> works as expected.
> 
> If you approach the problem from the other end and open the guest display
> configuration tools (e.g. right-click on desktop and click 'Screen
> Resolution'), it only shows 3 available monitors (instead of 4). Assuming
> that you are starting with just a single display open, if you use the guest
> configuration tool to enable display #2, virt-viewer opens its own display
> #3 in response. Similarly, enabling display #3 in the guest tools results in
> virt-viewer opening its display #4.
> 
> If I remove one of the QXL devices (so there is a maximum of 3 displays),
> things work fine -- I can open all 3 displays as expected.
> 
> So I'm trying to figure out in which component the bug exists.  I did a
> little bit of preliminary investigation, but didn't find anything obvious.
> The fact that only 3 displays show up in the guest configuration tool makes
> me suspect that it's not an issue in the spice client, but would appreciate
> more input from those with more experience with the server/agent side of
> things.
This (or something similar) happens to me If I assign to all qxl devices >=512MB (seabios limitation) of ram and vram altogether. Be sure you do not go over that limit, you can set it at qemu cli, i.e.:
-vga qxl -global qxl-vga.ram_size=67108864 -global qxl-vga.vram_size=33554432 -device qxl,ram_size=67108864,vram_size=33554432 ....
or in libvirt, i.e.:
<video>
  <model type='qxl' ram='65536' vram='32768' heads='1'/>
  <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video>
<video>
  <model type='qxl' ram='65536' vram='32768' heads='1'/>
  <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
</video>
....

Which are defaults for oVirt.
> 
> Jonathon
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
> 


More information about the Spice-devel mailing list