<div dir="ltr"><div>Hi all,</div><div><br></div><div>Switching email addresses...I thought I'd follow up to see if there is any interest in working on this.  The only way for me to be able to play with the keypress-delay value is to recompile the code, something that users like myself are not too keen on doing.  But if this value were user configurable (at least), then users would be able to tune it based on their situation (going across the network vs. running locally).  Any thoughts or interest from the developers?</div><div><br></div><div>Thanks again,</div><div>Jared Kwek</div><div><br></div><div><br></div><div>> -----Original Message-----</div><div>> From: Jared Kwek <<a href="mailto:jkwek1@aol.com">jkwek1@aol.com</a>></div><div>> To: mlureau <<a href="mailto:mlureau@redhat.com">mlureau@redhat.com</a>></div><div>> Cc: spice-devel <<a href="mailto:spice-devel@lists.freedesktop.org">spice-devel@lists.freedesktop.org</a>></div><div>> Sent: Tue, Jun 2, 2015 11:36 pm</div><div>> Subject: Re: [Spice-devel] keypress-delay issue</div><div>></div><div>> Marc-André,</div><div>></div><div>> It seems that my mail client butchered my response to you so that it was</div><div>> hard to see my in-line comments.  I thought I would re-post a cleaned-up</div><div>> version:</div><div>></div><div>> > It was discussed several time in the past, last I remember the issue is</div><div>> > mainly with Windows guests,</div><div>> > There are some hints to solve it in this</div><div>> > page:</div><div>> ></div><div>> > <a href="http://serverfault.com/questions/624690/windows-guest-on-kvm-qemu-suffers-horrible-key-lag">http://serverfault.com/questions/624690/windows-guest-on-kvm-qemu-suffers-horrible-key-lag</a></div><div>></div><div>></div><div>> Yes I saw this too when researching. However my guest is Fedora 21, not</div><div>> Windows.</div><div>></div><div>></div><div>> > (iirc,</div><div>> > using a usb keyboard would solve it too)</div><div>></div><div>></div><div>> I did see this also and played around with changing the input type of the</div><div>> keyboard to USB in my xml file. However it appears that QEMU creates the</div><div>> PS/2 keyboard regardless and thus I end up with two keyboards and not sure</div><div>> which it is using. I saw the same lag with this approach.</div><div>></div><div>></div><div>> > I am not convinced at this point that the</div><div>> > keypress-delay is problematic. Do you have a particular use case, or</div><div>> > simply text</div><div>> > typing?</div><div>></div><div>></div><div>></div><div>> Use case is any sort of regular typing in a VM, whether in gedit, vi in a</div><div>> terminal window, or typing an email in a browser window. It is a slight but</div><div>> noticeable delay when typing in the VM vs. on the physical host. The VM is</div><div>> running locally so I don't need there to be any delay to compensate for</div><div>> network conditions.</div><div>></div><div>> In the link from 2014 I previously posted, the person who recompiled with</div><div>> 10ms value for keypress-delay saw a huge improvement in the overall feel. My</div><div>> hope for a solution is that the keypress-delay can be auto-tuned based on</div><div>> network conditions or user configurable. Thank you for considering this.</div><div>></div><div>></div><div>> Thanks,</div><div>> Jared Kwek</div><div><br></div><div>> >>  -----Original Message-----</div><div>> >>  From: jkwek1 <<a href="mailto:jkwek1@aol.com">jkwek1@aol.com</a>></div><div>> >>  To: spice-devel <<a href="mailto:spice-devel@lists.freedesktop.org">spice-devel@lists.freedesktop.org</a>></div><div>> >>  Sent: Fri, May 29, 2015 4:29 pm</div><div>> >>  Subject: keypress-delay issue</div><div>> >> </div><div>> >>  Hi all,</div><div>> >> </div><div>> >>  I've noticed a typing delay in my VM's through the SPICE protocol when</div><div>> >>  typing emails or text files.  It's noticeable to the point that it is</div><div>> >>  hurting my typing speed and is contributing to more mistakes (as the letters</div><div>> >>  appear after the slight delay).  I'm running Fedora 21 on the host and VM</div><div>> >>  and the VM resides locally (localhost).  Searches on the matter brought me</div><div>> >>  to a couple of threads on this list where people had similar issues:</div><div>> >> </div><div>> >>  <a href="http://lists.freedesktop.org/archives/spice-devel/2012-October/011317.html">http://lists.freedesktop.org/archives/spice-devel/2012-October/011317.html</a></div><div>> >>  <a href="http://lists.freedesktop.org/archives/spice-devel/2014-June/016992.html">http://lists.freedesktop.org/archives/spice-devel/2014-June/016992.html</a></div><div>> >> </div><div>> >>  As far as I can tell, there's no way to configure this through the various</div><div>> >>  spice clients I have available to me; the only option for me is to recompile</div><div>> >>  spice-gtk with a different value for keypress-delay.  I would love to see an</div><div>> >>  option to configure this or change the code to auto-tune it to disable it on</div><div>> >>  localhost connections.  Any thoughts on implementing this?  </div><div>> >> </div><div>> >>  Thanks,</div><div>> >>  Jared Kwek</div><div>> >> </div></div>