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

Arch w/ Wayland scrcpy 1.17 Android 12 Developer Preview NO VIDEO OUTPUT #2132

Closed
randodude123 opened this issue Feb 19, 2021 · 1 comment
Closed

Comments

@randodude123
Copy link

randodude123 commented Feb 19, 2021

  • [ X] I have read the FAQ.
  • [ X] I have searched in existing issues.
    Environment
  • Arch (uname -r "5.10.16-arch1-1")(graphics:NAVI14, DRM 3.40.0, 5.10.16-arch1-1, LLVM 11.0.1) w/ Gnome 3.38.4 display server: Wayland
  • 1.17
  • pacman
  • Google Pixel 4a (5G) (Android 12)

Describe the bug
scrcpy --window-width 1920
INFO: scrcpy 1.17 https://github.com/Genymobile/scrcpy
/usr/share/scrcpy/scrcpy-server: 1 fil...ed. 382.8 MB/s (34930 bytes in 0.000s)
[server] INFO: Device: Google Pixel 4a (5G) (Android 11)
INFO: Renderer: opengl
INFO: OpenGL version: 4.6 (Compatibility Profile) Mesa 20.3.4
INFO: Trilinear filtering enabled
INFO: Initial texture: 1080x2336
WARN: Device disconnected
[server] ERROR: Exception on thread Thread[main,5,main]
java.lang.AssertionError: java.lang.reflect.InvocationTargetException
at com.genymobile.scrcpy.wrappers.SurfaceControl.setDisplaySurface(SurfaceControl.java:75)
at com.genymobile.scrcpy.ScreenEncoder.setDisplaySurface(ScreenEncoder.java:243)
at com.genymobile.scrcpy.ScreenEncoder.internalStreamScreen(ScreenEncoder.java:91)
at com.genymobile.scrcpy.ScreenEncoder.streamScreen(ScreenEncoder.java:60)
at com.genymobile.scrcpy.Server.scrcpy(Server.java:80)
at com.genymobile.scrcpy.Server.main(Server.java:252)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:355)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Method.invoke(Native Method)
at com.genymobile.scrcpy.wrappers.SurfaceControl.setDisplaySurface(SurfaceControl.java:73)
... 7 more
Caused by: java.lang.IllegalArgumentException: displayToken must not be null
at android.view.SurfaceControl$Transaction.setDisplaySurface(SurfaceControl.java:3067)
at android.view.SurfaceControl.setDisplaySurface(SurfaceControl.java:2147)
... 9 more
WARN: Killing the server...

Please do not post screenshots of your terminal, just post the content as text instead.

@rom1v
Copy link
Collaborator

rom1v commented Feb 19, 2021

Thank you for your report.

This is a duplicate of #2129.

@rom1v rom1v closed this as completed Feb 19, 2021
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