[Spice-devel] Testing Linux multi-monitor functionality

Jikku Venkat jikku at vbridges.com
Thu Apr 18 16:36:07 PDT 2013


All,

We are trying to test the Linux multi-monitor functionality that has been
recently announced by Hans and having some trouble. I am assuming that we
are doing something wrong or testing the wrong versions of spice, qxl, etc.
Below is a summary. Can someone provide guidance on the right versions of
software that are intended to work together?

1) Testing multiple monitor support with a CentOS 6.4 guest

Summary: I could not get the guest to support the second monitor.

Server:
qemu-kvm 0.12.1.2 (also tried qemu-kvm 0.15)
spice-0.12.2
spice-protocol-0.12.5

qemu-kvm command line:

qemu-system-x86_64 -enable-kvm -L /usr/lib/verde/etc/pc-bios -rtc
base=localtime,clock=host,driftfix=slew -clock unix -usb -usbdevice tablet
-monitor stdio -m 1024 -M pc -cpu qemu64 -balloon none -tb-size 2 -drive
if=none,id=ide1-cd0,media=cdrom,snapshot=off,aio=native -device
ide-drive,drive=ide1-cd0,bus=ide.1,unit=0,ver=0.12.1 -boot c -vga qxl
-device qxl -global qxl-vga.vram_size=33554432 -device virtio-serial
-chardev spicevmc,name=vdagent,id=vdagent -device
virtserialport,chardev=vdagent,name=com.redhat.spice.0 -drive
if=none,id=ide0-hd0,file=/path/GUEST.IMG,cache=unsafe,aio=native,snapshot=off
-device ide-drive,drive=ide0-hd0,bus=ide.0,unit=0,ver=0.12.1 -drive
if=none,id=ide0-hd1,file=/path/USER.IMG,cache=unsafe,aio=native,snapshot=off
-device ide-drive,drive=ide0-hd1,bus=ide.0,unit=1,ver=0.12.1 -device
intel-hda,id=sound0 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0
-net nic,model=virtio -net user -net nic,model=virtio -serial /dev/null
-parallel none -vnc unix:/path/vnc.socket -name yuval- 64-centos -spice
port=5600,disable-ticketing

Client:
Windows running virt-viewer 0.5.3 (from spice-space.org)
with two monitors, identical resolution

Guest:
Centos 6.4

Result:
- Only one monitor is supported
- xrandr in the guest reports qxl-0 connected, and qxl-1 through qxl-3 as
disconnected (it is unclear to me why there are four rather than two
screens)
- virt-viewer offers just "Display 0" in the View | Displays menu
- other than the missing second display qxl and vdagent appear to be
working well (e.g. copy/paste works, guest screen resolution is
automatically resized to match the client display size)

2) Testing multiple monitor support
with xf86-video-qxl-0.0.17, spice-vdagent-0.14.0

Summary: both built but appear to not run correctly on Fedora 14; don't
build on CentOS 6.4

Fedora 14:
- I am able to build both (after installing xorg-x11-server-devel)
- After replacing the original qxl_drv.so with the 0.0.17 version I built
the guest appears to use it without a problem.
- I failed to get vdagent to start up properly:
   I configured it with "./configure -prefix=/usr", built it, then
installed it, then rebooted the guest
   spice-vdagent runs (two processes, one running as gdm and one as the
logged-in user) but spicy reports "agent: no" in the status bar

CentOS 6.4:

- xf86-video-qxl-0.0.17 build fails:
uxa.c: In function 'uxa_close_screen':
uxa.c:434: warning: assignment from incompatible pointer type
uxa.c:450: warning: passing argument 1 of 'pScreen->CloseScreen' makes
pointer from integer without a cast
uxa.c:450: note: expected 'ScreenPtr' but argument is of type 'int'
uxa.c:450: error: too many arguments to function 'pScreen->CloseScreen'
uxa.c: In function 'uxa_driver_init':
uxa.c:540: warning: assignment from incompatible pointer type
uxa.c:561: warning: assignment from incompatible pointer type
uxa.c:562: warning: assignment from incompatible pointer type

- spice-vdagent configuration fails, autoconf is 2.63 and version 2.65 is
required

Regards,
Jikku Venkat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20130418/825a43fc/attachment.html>


More information about the Spice-devel mailing list