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

cannot click on screen with lenovo p11 #3171

Closed
2 tasks done
hien4990 opened this issue Apr 7, 2022 · 9 comments
Closed
2 tasks done

cannot click on screen with lenovo p11 #3171

hien4990 opened this issue Apr 7, 2022 · 9 comments

Comments

@hien4990
Copy link

hien4990 commented Apr 7, 2022

  • I have read the FAQ.
  • I have searched in existing issues.

Environment

  • OS: windows 10 20h2
  • scrcpy version: 1.23
  • installation method: download zip file and extract
  • device model: lenovo p11
  • Android version: 11

Describe the bug
cannot click on screen with lenovo p11
it keep showing the line:
"Ignore touch event, it was generated for a different device size " everytime i try to click and nothing happen on app.

@rom1v
Copy link
Collaborator

rom1v commented Apr 7, 2022

See #2031.

scrcpy version: 1.12.3

This version does not exist 😄

@hien4990
Copy link
Author

hien4990 commented Apr 7, 2022

sorry my mistake

See #2031.

scrcpy version: 1.12.3

This version does not exist 😄

sorry my mistake
additional information: i tried it with another app like midroid and Vysor and it give the same result (can cast screen but cannot click) i think it more like mechanism of this tablet, still need professionals to solve this.

@rom1v
Copy link
Collaborator

rom1v commented Apr 7, 2022

See #2031 for the solution: reduce the definition.

@hien4990
Copy link
Author

hien4990 commented Apr 8, 2022

See #2031 for the solution: reduce the definition.

i tried that method before i created this thread, doesnt work either

@rom1v
Copy link
Collaborator

rom1v commented Apr 8, 2022

What is the console output when you run scrcpy (especially the lines with "Initial texture" and "New texture")?

@hien4990
Copy link
Author

hien4990 commented Apr 9, 2022

thaks for reply this is the image i tested:
[](https://imgur.com/a/6vDXOPP)

@rom1v
Copy link
Collaborator

rom1v commented Apr 9, 2022

Scrcpy requests to the encoder a size of 1920×1152, but the encoder unexpectedly produces 1920×1080 frames.

Try to lower the definition so that the encoder does not do that.

For example:

scrcpy -m1800

@hien4990
Copy link
Author

thank you so much it finally work
btw is there a way to make the cmd auto type the command so i dont need to type it by myself every time i this great app

@rom1v
Copy link
Collaborator

rom1v commented Apr 10, 2022

btw is there a way to make the cmd auto type the command so i dont need to type it by myself every time i this great app

Create a batch script (myscrcpy.bat), a simple text field containing the command:

scrcpy -m1800

https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#command-line-on-windows

@rom1v rom1v closed this as completed Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants