<div dir="ltr"><br clear="all"><div><div style>All,</div></div><div style><br></div><div style>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?</div>
<div style><br></div><div style><div style="font-family:arial,sans-serif;font-size:13px">1) Testing multiple monitor support with a CentOS 6.4 guest</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div>
<div style="font-family:arial,sans-serif;font-size:13px">Summary: I could not get the guest to support the second monitor.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
Server:</div><div style="font-family:arial,sans-serif;font-size:13px">qemu-kvm 0.12.1.2 (also tried qemu-kvm 0.15)</div><div style="font-family:arial,sans-serif;font-size:13px">spice-0.12.2</div><div style="font-family:arial,sans-serif;font-size:13px">
spice-protocol-0.12.5</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">qemu-kvm command line:</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">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 <span class="" style="background-color:rgb(255,255,204)">yuval</span>- 64-centos -spice port=5600,disable-ticketing</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Client:</div><div style="font-family:arial,sans-serif;font-size:13px">Windows running virt-viewer 0.5.3 (from <a href="http://spice-space.org/" target="_blank">spice-space.org</a>)</div>
<div style="font-family:arial,sans-serif;font-size:13px">with two monitors, identical resolution</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
Guest:</div><div style="font-family:arial,sans-serif;font-size:13px">Centos 6.4</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Result:</div>
<div style="font-family:arial,sans-serif;font-size:13px">- Only one monitor is supported</div><div style="font-family:arial,sans-serif;font-size:13px">- 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)</div>
<div style="font-family:arial,sans-serif;font-size:13px">- virt-viewer offers just "Display 0" in the View | Displays menu</div><div style="font-family:arial,sans-serif;font-size:13px">- 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)</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">2) Testing multiple monitor support with xf86-video-qxl-0.0.17, spice-vdagent-0.14.0</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">Summary: both built but appear to not run correctly on Fedora 14; don't build on CentOS 6.4<br></div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">Fedora 14:</div><div style="font-family:arial,sans-serif;font-size:13px">- I am able to build both (after installing xorg-x11-server-devel)</div><div style="font-family:arial,sans-serif;font-size:13px">
- After replacing the original qxl_drv.so with the 0.0.17 version I built the guest appears to use it without a problem.</div><div style="font-family:arial,sans-serif;font-size:13px">- I failed to get vdagent to start up properly: </div>
<div style="font-family:arial,sans-serif;font-size:13px">   I configured it with "./configure -prefix=/usr", built it, then installed it, then rebooted the guest</div><div style="font-family:arial,sans-serif;font-size:13px">
   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 </div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
<div>CentOS 6.4:</div><div><br></div><div>- xf86-video-qxl-0.0.17 build fails:</div><div><div>uxa.c: In function 'uxa_close_screen':</div><div>uxa.c:434: warning: assignment from incompatible pointer type</div><div>
uxa.c:450: warning: passing argument 1 of 'pScreen->CloseScreen' makes pointer from integer without a cast</div><div>uxa.c:450: note: expected 'ScreenPtr' but argument is of type 'int'</div><div>
uxa.c:450: error: too many arguments to function 'pScreen->CloseScreen'</div><div>uxa.c: In function 'uxa_driver_init':</div><div>uxa.c:540: warning: assignment from incompatible pointer type</div><div>
uxa.c:561: warning: assignment from incompatible pointer type</div><div>uxa.c:562: warning: assignment from incompatible pointer type</div><div><br></div><div>- spice-vdagent configuration fails, autoconf is 2.63 and version 2.65 is required</div>
</div><div><br></div><div style>Regards,</div><div style>Jikku Venkat</div></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div></div>
</div>