-
-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
Ignore touch event, it was generated for a different device size #1645
Comments
Ah, great, it was a good idea to add the log a973757 The reason is that on some devices, the video encoder on the device does not respect the requested size, and we can't detect this change on the server side. To avoid the problem, check the first lines in scrcpy output:
And limit the size to what the encoder actually produces. Here:
(take the greatest value of the second line) |
(please post output as text instead of a screenshot) Then just run |
Sorry!! And Thank you very much Sir. |
thank you so much, master. it works for my oppo F7 hihi |
Same issue on MI9SE. How to know which value to use please ? [server] INFO: Device: Xiaomi Mi 9 SE (Android 10)INFO: Renderer: opengl Merci |
@skivox52 If you don't have two lines like this immediately on start:
then this is not the same problem. What do you observe? What error messages do you have? |
I do not have these two lines. I do not get any error message, but the mouse event doesn't work. Sorry if I posted in the wrong thread. |
Thanks a lot, going to check this EDIT : Thank you bro, it works very fine now :) |
how to set it permanently?? |
You could create a script: https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#command-line-on-windows (currently, there is no config file) |
@rom1v How to set this in the Mac OS? |
Create a file #!/bin/bash
scrcpy -m1920 Make it ewecutable ( |
I'm encountering a similar problem on a lenovo tablet. For some reasons the encoder returned a smaller texture no matter what values of -m were supplied. Native resolution:
With -m800
My work-around is to crop the few pixels off the edge of the screen with --crop=592:1024:0:0 |
thanks |
Ignore touch event, it was generated for a different device size

-v 1.15 not recognizing my click as touch on screen
please help me
The text was updated successfully, but these errors were encountered: