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

Does the latency of scrcpy is related to whether the screen of mobile phone is damaged #1456

Closed
YxGHB opened this issue May 29, 2020 · 7 comments

Comments

@YxGHB
Copy link

YxGHB commented May 29, 2020

My device is mi8se(miui11,android 10,1080x2240)

There are three situations when using scrcpy:

  1. When the undamaged mobile screen is installed on the mobile phone, scrcpy can display smoothly without delay, and the resolution is 1080x2240
  2. When the damaged mobile screen is installed on the mobile phone, there will be a big delay in scrcpy (using "scrcpy-m" or other parameters still exist), and the resolution is still 1080x2240
  3. When the screen is unplugged from the phone, there will be no delay in running scrcpy directly, but only a part of the screen can be displayed at this time

I wonder why this happens?

@rom1v
Copy link
Collaborator

rom1v commented May 29, 2020

Does the latency of scrcpy is related to whether the screen of mobile phone is damaged

Yes, it seems so: #1285 #1353

@YxGHB
Copy link
Author

YxGHB commented May 30, 2020

Does the latency of scrcpy is related to whether the screen of mobile phone is damaged

Yes, it seems so: #1285 #1353

I'm just a user to scrcpy and like this app ,thank you for your reply! by the way, can i change the resolution of above situation of third to 1080x2240 manually?

@YxGHB
Copy link
Author

YxGHB commented Jun 2, 2020

I've been resolved the problem for the situation three (Initial texture:640x480).
type the following command in adb:
adb shell wm size 512x960
adb shell wm density 256
scrcpy
Now ,i can smoothly using it without latency when the screen is unplugged from my phone,and hope that this may be helpful to you who have the same problem

@YxGHB YxGHB closed this as completed Jun 2, 2020
@ShantanuNair
Copy link

Does the latency of scrcpy is related to whether the screen of mobile phone is damaged

Yes, it seems so: #1285 #1353

Hey @rom1v, really appreciate you being so active on issues. Any idea why screen damage would impact? Seems like as my (broken) screen became progressively worse, my scrcpy has also become unusable.

@rom1v
Copy link
Collaborator

rom1v commented Jul 2, 2020

Any idea why screen damage would impact?

No, I don't know.

@ShantanuNair
Copy link

Any idea why screen damage would impact?

No, I don't know.

I see. Very interestingly, after about 2 weeks of not working well at all (not even in a screen recording, <1fps while reporting in the app fps counter ~11fps), it seems that it is now working perfectly again. I was starting to think it might have been something to do with the dependency version but now it seems more likely something to do with circumstance such as the screen damage i guess?

@rom1v
Copy link
Collaborator

rom1v commented Sep 12, 2021

#1285 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants