Scrcpy: Ignore touch event, it was generated for a different device size

Created on 7 Aug 2020  路  3Comments  路  Source: Genymobile/scrcpy

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
Screenshot (423)

input events

Most helpful comment

_(please post output as text instead of a screenshot)_

Then just run scrcpy -m1920 as I explained above.

All 3 comments

Ah, great, it was a good idea to add the log a973757fd141fc07ef81314d350bd4f4de64f59c
See https://github.com/Genymobile/scrcpy/issues/1518#issuecomment-655517010

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:

INFO: Initial texture: 1080x2336
INFO: New texture: 888x1920

And limit the size to what the encoder actually produces. Here:

scrcpy -m1920

(take the greatest value of the second line)

_(please post output as text instead of a screenshot)_

Then just run scrcpy -m1920 as I explained above.

Sorry!! And Thank you very much Sir.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SuryaElavazhagan picture SuryaElavazhagan  路  4Comments

cutoseo picture cutoseo  路  4Comments

npes87184 picture npes87184  路  3Comments

sennight picture sennight  路  3Comments

udit7395 picture udit7395  路  4Comments