Re: keypress-delay issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I worked directly with Victor to test out his patch and wanted to report back to the mailing list on my results.  I set  SPICE_KEYPRESS_DELAY=10 and saw an improvement in the response time when I was typing.  I was using Fedora 21 in the client with Gnome 3 and tried typing in LibreOffice Writer and in the Gmail web mail client on Firefox on my Fedora 22 VM as the SPICE server.  The lag is somewhat noticeable with the keypress delay set to 100, such that when I compare typing on a physical machine vs a SPICE session I can definitely feel the difference.  I say somewhat noticeable because it is not a huge difference; I can just feel a lag when typing.  With the 10 ms delay it felt more like real-time.

I'm wondering where to go from here.  Victor did submit a patch for the environment variable, so that will be available as a workaround for those who know about it.  I guess it is up to you the developers if you want to make configuration or fix something more mainstream.  There were a couple complaints about it on the mailing list that I dug up, but it doesn't sound like there's been much public outcry to fix it.  Nevertheless, since I am presenting it as an issue, I'd be happy to do any further testing if anyone is interested in looking into it a bit further, as I would recommend it as something that should be addressed.

Thanks again for considering this and especially to Victor for taking it on so I could test out a user-configurable value.

Regards,
Jared Kwek

On Thu, Jun 18, 2015 at 3:41 AM, Victor Toso <victortoso@xxxxxxxxxx> wrote:
Hey,

Currently doing a scratch build for spice-gtk for Fedora 21.
After it is finished, you should be able to download, install and test
the patch. The link for koji is:

http://koji.fedoraproject.org/koji/taskinfo?taskID=10133624

Best,

On Thu, Jun 18, 2015 at 12:20:26PM +0200, Victor Toso wrote:
> Hey,
>
> On Wed, Jun 17, 2015 at 01:19:40PM -0700, Jared Kwek wrote:
> > Hi all,
> >
> > 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?
>
> You could use this PATCH to play with keypress-delay. Here the default
> is 100ms so, maybe 10ms could improve in your case.
>
> I don't think this is patch should go upstrem tho, I would like to
> understand the root problem of your problem to have a proper fix for it.
>
> To change the keypress-delay value to 10, do:
> export SPICE_KEYPRESS_DELAY=10
>
> And then run spicy or remote-viewer.
>
> Cheers,
> Victor Toso
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]