[Spice-devel] multi-monitor configuration issues
Hans de Goede
hdegoede at redhat.com
Wed Jul 3 00:24:42 PDT 2013
Hi,
On 07/02/2013 08:43 PM, David Mansfield wrote:
> 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
This is a know issue in the new kms qxl driver in F-19, which is being work on, see bug:
https://bugzilla.redhat.com/show_bug.cgi?id=974662
> 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
Yes, another unfortunate bug in the new kms qxl driver (F-18 may be a better guest atm to test
the multimonitor stuff, or try using nomodeset on the kernel cmdline). This is:
https://bugzilla.redhat.com/show_bug.cgi?id=978612
Which has updates fixing it available, if you install the latest kernel and xorg-x11-drv-qxl
from updates-testing this should be fixed. But be sure to check the bug to see you've gotten
the right versions, these fixes are very recent.
> 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"
Lets revisit these 2 when you've 2). resolved.
Regards,
Hans
More information about the Spice-devel
mailing list