Thanks for your reply.
-----Original Message-----
From: Marc-André Lureau <mlureau@xxxxxxxxxx>
To: jkwek1 <jkwek1@xxxxxxx>
Cc: spice-devel <spice-devel@xxxxxxxxxxxxxxxxxxxxx>
Sent: Sun, May 31, 2015 2:32 pm
Subject: Re: keypress-delay issue
From: Marc-André Lureau <mlureau@xxxxxxxxxx>
To: jkwek1 <jkwek1@xxxxxxx>
Cc: spice-devel <spice-devel@xxxxxxxxxxxxxxxxxxxxx>
Sent: Sun, May 31, 2015 2:32 pm
Subject: Re: keypress-delay issue
Hi ----- Original Message ----- > Hi all, > > I've noticed a typing delay in my VM's through the SPICE protocol when typing > emails or text files. It's noticeable to the point that it is hurting my > typing speed and is contributing to more mistakes (as the letters appear > after the slight delay). I'm running Fedora 21 on the host and VM and the VM > resides locally (localhost). Searches on the matter brought me to a couple > of threads on this list where people had similar issues: > > http://lists.freedesktop.org/archives/spice-devel/2012-October/011317.html > http://lists.freedesktop.org/archives/spice-devel/2014-June/016992.html > It was discussed several time in the past, last I remember the issue is mainly with Windows guests, There are some hints to solve it in this page: http://serverfault.com/questions/624690/windows-guest-on-kvm-qemu-suffers-horrible-key-lag
Yes I saw this too when researching. However my guest is Fedora 21, not Windows.
(iirc, using a usb keyboard would solve it too)
I did see this also and played around with changing the input type of the keyboard to USB in my xml file. However it appears that QEMU creates the PS/2 keyboard regardless and thus I end up with two keyboards and not sure which it is using. I saw the same lag with this approach.
> As far as I can tell, there's no way to configure this through the various > spice clients I have available to me; the only option for me is to recompile > spice-gtk with a different value for keypress-delay. I would love to see an > option to configure this or change the code to auto-tune it to disable it on > localhost connections. Any thoughts on implementing this? I am not convinced at this point that the keypress-delay is problematic. Do you have a particular use case, or simply text typing?
Use case is any sort of regular typing in a VM, whether in gedit, vi in a terminal window, or typing an email in a browser window. It is a slight but noticeable delay when typing in the VM vs. on the physical host. The VM is running locally so I don't need there to be any delay to compensate for network conditions.
In the link from 2014 I previously posted, the person who recompiled with 10ms value for keypress-delay saw a huge improvement in the overall feel. My hope for a solution is that the keypress-delay can be auto-tuned based on network conditions or user configurable. Thank you for considering this.
thanks
Thanks,
Jared Kwek
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel