Skip to content
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

GCAdapter: Adjust libusb transfer timeout to 100ms. #12654

Merged
merged 1 commit into from Mar 22, 2024

Conversation

jordan-woyak
Copy link
Member

This is a replacement for PR #5799.

Apparently the 16ms timeout can be a little too tight for usbip.

Fixes: https://bugs.dolphin-emu.org/issues/10408
100ms is mentioned to be satisfactory.

Note that transfers are done in threads. Increasing this timeout will not slow down emulation. It will reduce the responsiveness of controllers when the higher timeouts were necessary, as opposed to entirely not working.

@AdmiralCurtiss
Copy link
Contributor

I can't imagine you'd actually get a satisfying experience on a controller with 100ms of latency, but I suppose it is better than it not working at all, yeah.

@jordan-woyak
Copy link
Member Author

I can't imagine you'd actually get a satisfying experience on a controller with 100ms of latency, but I suppose it is better than it not working at all, yeah.

Maybe it was an occasional lag spike over 16ms that was making things terrible for usbip? I'm not sure exactly.

@AdmiralCurtiss AdmiralCurtiss merged commit 4f3b447 into dolphin-emu:master Mar 22, 2024
11 checks passed
@jordan-woyak jordan-woyak deleted the gcadapter-timeout branch March 22, 2024 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants