[vfio-users] [PATCH 2/2] input: linux evdev support

Jonathan Scruggs j.scruggs at gmail.com
Sun Jan 24 13:46:15 UTC 2016


Okky, I was trying to recreate your situation because Gerd updated the
patches with a flag to set auto-repeat on/off. I tried Dota 2 with it off
and with it on, but never got your results. I set my Dota 2 up with your
settings of controlling all your charaters at once just to try to reproduce
the situation. I was holding down the CTRL key like you did and also
right-clicking a lot. Then I went mad and started to hold down several keys
at once, talk about rapid fire, one of them being CTRL, then I tried three
keys at once. The repeat keys would have been generated and handled by the
system. I alternated left and right clicks as well. Maybe now you can use
repeating events again?

Gerd, It could be that repeat now works with qemu 2.5 and not slow anything
down? Have you heard of any other test cases I could do?

Thilbaut, what GNU/Linux distro do you use? That will answer your question
on how to use the patches. :)

-Jon

On 24 January 2016 at 11:59, Okky Hendriansyah <okky at nostratech.com> wrote:

> > On Jan 24, 2016, at 17:47, Jonathan Scruggs <j.scruggs at gmail.com> wrote:
> >
> > Hi Okky,
>
> Hi Jon,
>
> > I'm having trouble reproducing your results with Dota 2. I turned on
> Network stats which gives me a constant 112 FPS.
> >
> > My setup is now Kernel 4.1.15 with Qemu 2.5 with with all of Gerds
> latest patches, except for one. The new patch enables repeat to be turned
> on and off. The passthroughed (new word I guess) keyboard and mouse are
> registered as a PS/2 device instead of USB. That's the default that qemu
> wanted.
>
> This event happened quite some time ago, and if I recall correctly Gerd
> was rapidly updating his patches after my initial feedbacks and it was
> already resolved in his following patches, I forgot which of his emails
> though.
>
> > In your setup, is the keyboard/mouse on USB or PS/2?
>
> I actually had redundancy on my setup so I plugged PS/2 keyboard and a USB
> mouse dedicated to Linux host, and another pair of USB keyboard and mouse
> dedicated to Windows guest for use with Gerd's patches.
>
> > When I tried the Lone Druid, I selected Demo instead of an actual play.
> Would this affect it?
> > Also, when I summon the bear companion, holding down CTRL doesn't select
> the whole group. I manually select the whole group and then holding down
> CTRL lets me move the Druid only.
>
> I think it was the same, though I did not try it on demo. I manually
> change the Ctrl button to let me control all of my hero's minions (bear,
> boar, eagle, etc). It's just purely preferences.
>
> > Can you provide a detailed game play so I can try to reproduce?
>
> I haven't tried mapping the Ctrl button to other "neutral" button, since
> Gerd's already released another patch for it and resolved the issue.
>
> > Or is it just your hardware? Were you running Qemu 2.4 before and now
> using 2.5? Could you try the new patches with repeat on compiled into 2.5
> and see if the trouble remains?
>
> Seemed like the issue was something related to repeating or holding
> button, that in the following sequences like it stops registering the
> input. As per why I had this flickery display I had no clue.
>
> > For me, I don't loose a single frame holding down multiple keys at a
> time and spamming the right-click.
> >
> > Thanks,
> > Jon
>
> Yes, I think Gerd's latest patches already covered this "bug".
>
> Best regard,
> Okky Hendriansyah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20160124/d6c1ace5/attachment.htm>


More information about the vfio-users mailing list