[Spice-devel] multi-monitor configuration issues

David Mansfield spice at dm.cobite.com
Tue Jul 2 11:43:04 PDT 2013


Hi All,

I'm trying to get dual-head spice to work and having lots of problems.

- host is fully up-to-date F18 without virt preview repo.

- guest is freshly created/installed F19 (today), created with 
virt-manager, and with this option manually added to domain xml 
afterwards, as per Hans's instructions on the 'net:

   <qemu:commandline>
     <qemu:arg value='-global'/>
     <qemu:arg value='qxl-vga.revision=4'/>
   </qemu:commandline>

I have also increased the vram in the <model type='qxl' /> from 65536 to 
262144, in an attempt to fix the below problems, but nothing has changed.

- remote-viewer is being launched on the host, which has two physical 
monitors (1920x1200 resolution each) attached.

Here are the issues so far:

1) as soon as the revision=4 is put in the domain xml, the displayed 
mouse cursor location is off from "actual" by +8+8

2) Every time (except for once, see #3, #4) I change resolution in the 
guest, Xorg crashes:


  (**) spice vdagent tablet: (accel) acceleration threshold: 4
  (EE)
  (EE) Backtrace:
  (EE) 0: /usr/bin/X (OsLookupColor+0x129) [0x46e539]
  (EE) 1: /lib64/libpthread.so.0 (__restore_rt+0x0) [0x7f2321431f9f]
  (EE) 2: /lib64/libpixman-1.so.0 
(_pixman_internal_only_get_implementation+0x2ae30) [0x7f2321029e60]
  (EE) 3: /lib64/libpixman-1.so.0 
(_pixman_internal_only_get_implementation+0x2b06b) [0x7f232102a34b]
  (EE) 4: /lib64/libpixman-1.so.0 (pixman_image_composite32+0x481) 
[0x7f2320f7a841]
  (EE) 5: /usr/lib64/xorg/modules/drivers/qxl_drv.so (_init+0x430d) 
[0x7f231c1affad]
  (EE) 6: /usr/lib64/xorg/modules/drivers/qxl_drv.so (_init+0x43ff) 
[0x7f231c1b012f]
  (EE) 7: /usr/lib64/xorg/modules/drivers/qxl_drv.so (_init+0xf947) 
[0x7f231c1c6bf7]
  (EE) 8: /usr/lib64/xorg/modules/drivers/qxl_drv.so (_init+0x19c6b) 
[0x7f231c1db18b]
  (EE) 9: /usr/lib64/xorg/modules/drivers/qxl_drv.so (_init+0x16877) 
[0x7f231c1d4977]
  (EE) 10: /usr/bin/X (DamageRegionAppend+0x592) [0x5206e2]
  (EE) 11: /usr/bin/X (CompositeRegisterAlternateVisuals+0x2547) [0x4d7917]
  (EE) 12: /usr/bin/X (CompositeRegisterAlternateVisuals+0x3305) [0x4d9695]
  (EE) 13: /usr/bin/X (CompositeRegisterAlternateVisuals+0x1c0f) [0x4d689f]
  (EE) 14: /usr/bin/X (SwapConnClientPrefix+0x1c16) [0x460c66]
  (EE) 15: /usr/bin/X (MapWindow+0x105) [0x461eb5]
  (EE) 16: /usr/bin/X (ProcBadRequest+0x4e8) [0x4322c8]
  (EE) 17: /usr/bin/X (SendErrorToClient+0x3f7) [0x436e47]
  (EE) 18: /usr/bin/X (_init+0x3ab2) [0x429ae2]
  (EE) 19: /lib64/libc.so.6 (__libc_start_main+0xf5) [0x7f232006cb75]
  (EE) 20: /usr/bin/X (_start+0x29) [0x426741]
  (EE) 21: ? (?+0x29) [0x29]
  (EE)
  (EE) Segmentation fault at address 0x7f231447e000


3) I don't have additional displays (e.g. "Display 2") unless I change 
the resolution first.

4) Once I click on "Display 2" a window appears but is forever "Waiting 
for display 2"

It seems there's some fundamental mismatch between the host/guest or 
something. Is there a way to check the versions support what I'm trying 
to do here?

Thanks,
David


More information about the Spice-devel mailing list