loki-47-6F-64 / sunshine

Host for Moonlight Streaming Client
GNU General Public License v3.0
1.77k stars 154 forks source link

Keyboard and mouse click lag when using AMF/VCE encodig. #211

Open arixoneth opened 3 years ago

arixoneth commented 3 years ago

The issue is when I'm using the AMF encoder with my RX570 everything works fine accept for a slight lag when typing on the keyboard and when clicking with the mouse, but if I switch back to software encoding the keyboard/mouse lag disappears. Anyone experiencing the same issue? A small thing to know is that I'm running sunshine inside a virtual machine and passing the gpu trough.

loki-47-6F-64 commented 3 years ago

Does the latency in general increase? Or is the what you described all that's affected?

arixoneth commented 3 years ago

No, interestingly the latency stays the same the problem is only when I click with the mouse or type something. It takes almost half a second for the keypress to be recognized on the remote pc.