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

[server] WARN: Unknown event type: 56 #3629

Open
2 tasks done
feuerdrachenatem opened this issue Dec 20, 2022 · 2 comments
Open
2 tasks done

[server] WARN: Unknown event type: 56 #3629

feuerdrachenatem opened this issue Dec 20, 2022 · 2 comments

Comments

@feuerdrachenatem
Copy link

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

Environment

  • OS: Windows 10 Version 21H2 (OS Build 19044.2364)
  • scrcpy version: 1,24
  • installation method: Windows release
  • device model: Google Pixel 7
  • Android version: 13 TQ1A.221205.011 (December update)

Describe the bug
I had the same issue as #3628 and have tried the solution described in #3497 (comment), however I have found a new bug in that scrcpy-server binary. Tested and confirmed, it's only after I try to scroll with my mouse's scroll wheel (scroll wheel worked fine with binary included in 1.24 Windows release). Every subsequent input (mouse or keyboard) gives the warning. I have left out the looooong list of all the warnings to keep this report short.

scrcpy 1.24 <https://github.com/Genymobile/scrcpy>
* daemon not running; starting now at tcp:5037
* daemon started successfully
C:\Users\jakef\platform-tools\scrcpy\scrcpy-server: 1 file pushed, 0 skipped. 2.5 MB/s (41159 bytes in 0.016s)
[server] INFO: Device: Google Pixel 7 (Android 13)
[server] ERROR: Could not invoke method
java.lang.NoSuchMethodException: android.content.IClipboard$Stub$Proxy.addPrimaryClipChangedListener [interface android.content.IOnPrimaryClipChangedListener, class java.lang.String, int]
        at java.lang.Class.getMethod(Class.java:2103)
        at java.lang.Class.getMethod(Class.java:1724)
        at com.genymobile.scrcpy.wrappers.ClipboardManager.getAddPrimaryClipChangedListener(ClipboardManager.java:103)
        at com.genymobile.scrcpy.wrappers.ClipboardManager.addPrimaryClipChangedListener(ClipboardManager.java:111)
        at com.genymobile.scrcpy.Device.<init>(Device.java:103)
        at com.genymobile.scrcpy.Server.scrcpy(Server.java:65)
        at com.genymobile.scrcpy.Server.main(Server.java:335)
        at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
        at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:355)
INFO: Renderer: direct3d
INFO: Initial texture: 1080x2400
[server] WARN: Unknown event type: 56
...
[server] WARN: Unknown event type: 56
@rom1v
Copy link
Collaborator

rom1v commented Dec 20, 2022

Oh, I mistakenly wrote the patch on dev branch, which is incompatible with the 1.24 client.

I edited the server binary in the comment: #3497 (comment)

  • scrcpy-server SHA-256: f5e633584164bbd1105e58dedfd7bb1262e6a8a75553ec674737b8e7315dd2b2

Please confirm that you don't have "Unknown event type" warnings anymore.

@feuerdrachenatem
Copy link
Author

Wow, that was fast. Apologies for my slow response.

Downloaded the proper server binary, can confirm that there are no more warnings. Thank you!

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