-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with bridge mode with remote desktop #84
Comments
The bridge script assumes that it runs on the same device as the app and therefore has access to the same clock (this is the case we have with ChromeOS where the bridge is needed because the app has no access to USB). It's possible to get rid of this assumption by using the I think with the Thanks for the detailed description of your setup, it sounds interesting. |
This does help indeed thanks. Here is the stack trace
|
There is no implementation for "simple" updateLag. The workaround is to comment out the call to either What sync accuracy are you getting? |
Thanks this works. Loss of clock accuracy seems to be around 3ms when averaged. |
For reference, here is my current diff: |
To be able to test our devices which doesn't have USB host, we are using pywalt bridge mode, and forward the mort using adb reverse.
This needed to change the IP in APK source code to 127.0.0.1
Doing this, we hit some clock issues.
Checking the drift, or forcing re-sync of clocks doesn't seem to raise anything. Latency is always around 120us.
This has been tested on an Android 5.1 phone, both in USB Host mode and adb reverse bridged mode.
USB host mode works properly, adb reverse bridged mode raises negative dt, all events are dropped because of this.
Sometimes we notice small abs(dt) like -20, but sometimes it looks like the dt is coming from previous tap.
For instance if we wait ~ 15s between two taps, we notice a ~15s dt.
Have you got some ideas on where to look at?
The text was updated successfully, but these errors were encountered: