[Spice-devel] Mouse disappears in multi monitor setup / spice-vdagent issues

Andrew Cathrow acathrow at redhat.com
Sat Mar 31 23:39:57 PDT 2012



----- Original Message -----
> From: "Matteo Cerutti" <matteo.cerutti at hotmail.co.uk>
> To: spice-devel at lists.freedesktop.org
> Sent: Saturday, March 31, 2012 3:56:18 PM
> Subject: [Spice-devel] Mouse disappears in multi monitor setup /	spice-vdagent issues
> 
> 
> 
> Dear All,
> 
> I have recently become very interested in SPICE and decided to give
> it a try and see if it could replace the NX solution that I have in
> place.
> 
> I have installed Fedora 16 KVM host, where I also upgraded the
> default spice, kvm, qemu, virt-manager etc. packages to the latest
> available at
> ftp://ftp.solnet.ch/mirror/fedora/linux//updates/16/x86_64.

> 
> I then virtualized a Fedora 16 guest where I am not running any
> spice-vdagent at the moment. However, I upgraded
> xorg-x11-server-Xorg, xorg-x11-server-comon, xorg-x11-server-Xephyr
> and xorg-x11-drv-qxl to the latest packages available at the link
> above on the virtualized guest.

have you tried with vdagent running?

> 
> Through virt-manager, I set up the virtual machine with two QXL
> devices in order to get the dual head display to work.
> 
> In the virtual guest, I then set up Xinerama via /etc/X11/xorg.conf
> as follows:
> Section "ServerFlags"
> 		Option	"Xinerama"	"true"
> 	EndSection
>         Section "Device"
>                 Identifier      "QXL0"
>                 Driver  "qxl"
> 		BusID	"PCI:0:2:0"
> 		Screen	0
>         EndSection
>         Section "Device"
>                 Identifier      "QXL1"
>                 Driver  "qxl"
> 		BusID	"PCI:0:8:0"
> 		Screen	1
>         EndSection
> 	Section "Monitor"
> 		Identifier "Monitor0"
> 	EndSection
> 	Section "Monitor"
> 		Identifier "Monitor1"
> 	EndSection
> 	Section "Screen"
> 		Identifier "screen0"
> 		DefaultDepth 24
> 		SubSection "Display"
> 			Depth 24
> 			Modes "1024x768"
> 		EndSubSection
> 		Device "QXL0"
> 		Monitor "Monitor0"
> 	EndSection
> 	Section "Screen"
> 		Identifier "screen1"
> 		Device "QXL1"
> 		DefaultDepth 24
> 		SubSection "Display"
> 			Depth 24
> 			Modes "1024x768"
> 		EndSubSection
> 		Monitor "Monitor1"
> 	EndSection
>         Section "ServerLayout"
>                 Identifier      "Default Layout"
>                 Screen	0	"screen0"
> 		Screen	1	"screen1" RightOf "screen0"
> 		Option "Xinerama" "true"
>         EndSection
> 
> I then tried to connect via spicec and I successfully got two
> windows. First results are pretty good. The primary behaves as
> primary and so does the secondary, excellent. Also, it appears that
> the screen1 is correctly set to be to the right of screen0.
> 
> The problem comes in when I try to move the cursor on the secondary
> screen. As soon as I do that the mouse disappears. If I move it out
> of the secondary window, it shows up again.. also when I move it
> back to the primary window. Additionally, if I open an application
> on the primary window and then try to move it to the secondary one,
> the secondary suddenly becomes usable (cursor becomes visible) and
> the primary becomes unusable and behaves like the secondary used to
> do at the beginning.
> 
> This also happens when running spicec in full screen mode.
> 
> As my first objective was to get a proper dual head working I did not
> install the spice-vdagentd on the guest machine intentionally.
> However, since I could not pin down where the problem lied, I went
> ahead installing spice-vdagent 0.10.1 on the guest machine.
> 
> After doing that, things started to get even worse. For example, when
> I open the Gnome menu and try to select some voices, I am no longer
> able to open anything as the mouse click appears to be broken. Also,
> voices don't get highlighted when I hover over them with the cursor
> (however, highlighting works when I use the arrow keys to move
> between them).
> 
> Could anybody shed some light on the above issues and explain to me
> if I'm doing anything wrong?
> 
> Thanks a lot for your help and please let me know if I need to
> provide more information about my issue.
> 
> Cheers,
> Matteo
> 
> 
> _______________________________________________
> 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