-
-
Notifications
You must be signed in to change notification settings - Fork 10.5k
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
Scrcpy freezes at first frame using wi-fi connection (device disconnected) #3014
Comments
If you run |
Yes, I have tested this with 1.22 version.
and Logcat shows these updates and, after, closes when Scrcpy closes (sorry for the long text):
|
OK, so it looks like the adb server crashes on the device. It's a device bug. |
Ok, maybe there's something that I can do do debug and fix this? Thanks! |
Environment
Describe the bug
With Scrcpy 1.22
Trying to connect to a Lenovo Tab M10 HD device using a wi-fi connection a first frame of the device is shown on the screen but immediately after Scrcpy stops receiving screen updates from the device. The remote too, control with mouse and keyboard, is completely disabled (nothing happens to the device if I click on the device screen image on Scrcpy). After 1 minute or so Scrcpy close with a Device disconnected warning:
With Scrcpy 1.18
The only difference is that with 1.18 most attempts to run Scrcpy end without even the first frame being shown on the screen: Scrcpy stops responding after second INFO line is put on the DOS consolle and after his minute of lag exits with same disconnection warning (and no sign of connection at all with my Lenovo):
Using a different framerate, resolution or switching to the opengl renderer doesnt fix it.
If I try to connect to the Lenovo device with USB connection Scrcpy does his job perfectly (screen updates very fast and I am able to control the device from my PC without problems).
Finally, in the same PC I can display and control, with both versions of Scrcpy, a Meberry M6 Android Tablet, with USB cable and with adb over wi-fi connection too, always without problems.
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: