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

ERROR: Could not parse display id: [mDisplayId #19

Open
ksgwxfan opened this issue Apr 3, 2024 · 0 comments
Open

ERROR: Could not parse display id: [mDisplayId #19

ksgwxfan opened this issue Apr 3, 2024 · 0 comments

Comments

@ksgwxfan
Copy link

ksgwxfan commented Apr 3, 2024

I think this used to work a few years ago for me; even on this same laptop I'm using. But FWIW, it is a different (newer) phone. It has Android 13 and my older phone had A11

But when I attempt to run this (using the powershell), I get the following output (with error):

[ startscreen.ps1 ]: Binary (adb) found in bin folder.
[ startscreen.ps1 ]: Binary (scrcpy) found in bin folder.
[ startscreen.ps1 ]: Waiting for a device...
[ startscreen.ps1 ]: Automatic screen resolution doesnt work thanks to powershell being bad
[ startscreen.ps1 ]: Automatic screen dpi doesnt work thanks to powershell being bad
scrcpy 2.4 <https://github.com/Genymobile/scrcpy>
ERROR: Could not parse display id: [mDisplayId
payload/stage1.sh: 1 file pushed, 0 skipped. 2.4 MB/s (881 bytes in 0.000s)
payload/stage2.sh: 1 file pushed, 0 skipped. 2.8 MB/s (1247 bytes in 0.000s)

Id     Name            PSJobTypeName   State         HasMoreData     Location             Command
--     ----            -------------   -----         -----------     --------             -------
1      ConnectionSt... BackgroundJob   Running       True            localhost            ...
[ startscreen.ps1 ]: -----------------------------------------------------
[ startscreen.ps1 ]: |                                                   |
[ startscreen.ps1 ]: |  Please unlock the phone once the screen appears  |
[ startscreen.ps1 ]: |                                                   |
[ startscreen.ps1 ]: -----------------------------------------------------
[ startscreen.ps1 ]: SCRCPY ended unexpectedly. Ending...


PS C:\scrcpy-desktop-main> Unknown input method com.wparam.nullkeyboard/.NullKeyboard cannot be enabled for user #0
Unknown input method com.wparam.nullkeyboard/.NullKeyboard cannot be selected for user #0

It gives an error that it could not parse the display ID.

Any ideas?

Things I tried:

  • Ran Powershell as an administrator
  • Tried 32-bit and 64-bit versions of scrcpy (and multiple versions: v2.1.1.1 and v2.4)

Thanks in advance for any possible remedies

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

1 participant