Bug 1035181 - mouse in server mode is erratic over remote protocols
Summary: mouse in server mode is erratic over remote protocols
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: spice
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Default Assignee for SPICE Bugs
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-27 09:05 UTC by mazhang
Modified: 2016-09-20 04:39 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-10 11:32:22 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description mazhang 2013-11-27 09:05:31 UTC
Description of problem:
mouse not comply user's action in win7 guest with qxl

Version-Release number of selected component (if applicable):

host:
qemu-kvm-1.5.3-19.el7.x86_64
kernel-3.10.0-57.el7.x86_64

guest:
win7-64/32
qxl-win-0.1-19

How reproducible:
100%

Steps to Reproduce:
1.cli:
/usr/libexec/qemu-kvm \
-M pc \
-cpu Opteron_G1,check \
-m 4G \
-smp 4,sockets=2,cores=2,threads=1,maxcpus=16 \
-enable-kvm \
-name win7 \
-uuid 990ea161-6b67-47b2-b803-19fb01d30d12 \
-smbios type=1,manufacturer='Red Hat',product='RHEV Hypervisor',version=el6,serial=koTUXQrb,uuid=feebc8fd-f8b0-4e75-abc3-e63fcdb67170 \
-k en-us \
-rtc base=localtime,clock=host,driftfix=slew \
-nodefaults \
-monitor stdio \
-qmp tcp:0:6666,server,nowait \
-boot menu=on \
-bios /usr/share/seabios/bios.bin \
-vga qxl \
-spice port=5900,disable-ticketing \
-global PIIX4_PM.disable_s3=0 \
-global PIIX4_PM.disable_s4=0 \
-drive file=/home/win7-64.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,cache=none,werror=stop,rerror=stop,aio=threads \
-device virtio-blk-pci,scsi=off,bus=pci.0,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 \
-netdev tap,id=hostnet0,fd=7 7<>/dev/tap7 \
-device virtio-net-pci,netdev=hostnet0,id=net0,mac=4e:5d:ac:10:26:dc \

2.In desktop, Press and hold the left mouse button then draft it from left top to right bottom, like select all icons use mouse in desktop.
3.

Actual results:
Mouse not comply with user's action, like someone drag it from reverse, mouse move with shake while draft it.

Expected results:
Mouse move smoothly.

Additional info:
Change vga to cirru/std this problem gone, Downgrade qxl to qxl-win-0.1-17.

Comment 2 Marc-Andre Lureau 2014-03-05 16:13:58 UTC
Which client do you use?

I can't reproduce with virt-manager. Both mouse in client or server mode works fine.

Comment 3 mazhang 2014-03-06 01:48:55 UTC
virt-viewer-0.5.4-3.fc18.x86_64

Comment 7 mazhang 2014-03-07 02:49:20 UTC
Just found use virt-viewer-0.5.7-7.el7.x86_64 on rhel7 desktop, works well. 
if connect rhel7 by ""ssh -X hostname" from fc18, got problem.

Comment 8 Marc-Andre Lureau 2014-03-07 11:44:54 UTC
(In reply to mazhang from comment #7)
> Just found use virt-viewer-0.5.7-7.el7.x86_64 on rhel7 desktop, works well. 
> if connect rhel7 by ""ssh -X hostname" from fc18, got problem.

Ok, changing bug title.

That makes sense. The client uses gdk_display_warp_pointer(), which isn't working over remote protocols. If your guest is configured correctly, you have mouse in client mode. For that to work, you need a working usb-tablet and/or a spice-vdagent.

I am tempted to close this bug as WONTFIX, since this is more a configuration issue and technical limitation.

Could you try with a guest using usb tabler & running vdagent?
thanks

Comment 9 mazhang 2014-03-10 03:04:39 UTC
This problem gone with using usb tabler and vdagent.
Please close this bug, thanks.


Note You need to log in before you can comment on or make changes to this bug.