orangepi@orangepi5plus:~/redroid$ adb devices
List of devices attached
localhost:5556 device
orangepi@orangepi5plus:~/redroid$ scrcpy -s localhost:5556
INFO: scrcpy 1.12.1 https://github.com/Genymobile/scrcpy
/usr/share/scrcpy/scrcpy-server: 1 fil...shed. 8.6 MB/s (24773 bytes in 0.003s)
libGL error: failed to authenticate magic 2
libGL error: failed to load driver: rockchip
INFO: Initial texture: 720x1280
[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:178)
at com.genymobile.scrcpy.ScreenEncoder.streamScreen(ScreenEncoder.java:70)
at com.genymobile.scrcpy.Server.scrcpy(Server.java:34)
at com.genymobile.scrcpy.Server.main(Server.java:163)
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)
... 6 more
Caused by: java.lang.IllegalArgumentException: displayToken must not be null
at android.view.SurfaceControl$Transaction.setDisplaySurface(SurfaceControl.java:3145)
at android.view.SurfaceControl.setDisplaySurface(SurfaceControl.java:2214)
... 8 more
WARN: Device disconnected
orangepi@orangepi5plus:~/redroid$ cd ..
orangepi@orangepi5plus:~$ scrcpy -s localhost:5556
INFO: scrcpy 1.12.1 https://github.com/Genymobile/scrcpy
/usr/share/scrcpy/scrcpy-server: 1 fil...shed. 7.8 MB/s (24773 bytes in 0.003s)
libGL error: failed to authenticate magic 2
libGL error: failed to load driver: rockchip
INFO: Initial texture: 720x1280
[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:178)
at com.genymobile.scrcpy.ScreenEncoder.streamScreen(ScreenEncoder.java:70)
at com.genymobile.scrcpy.Server.scrcpy(Server.java:34)
at com.genymobile.scrcpy.Server.main(Server.java:163)
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
WARN: Device disconnected
at java.lang.reflect.Method.invoke(Native Method)
at com.genymobile.scrcpy.wrappers.SurfaceControl.setDisplaySurface(SurfaceControl.java:73)
... 6 more
Caused by: java.lang.IllegalArgumentException: displayToken must not be null
at android.view.SurfaceControl$Transaction.setDisplaySurface(SurfaceControl.java:3145)
at android.view.SurfaceControl.setDisplaySurface(SurfaceControl.java:2214)
... 8 more
orangepi@orangepi5plus:~/redroid$ adb devices List of devices attached localhost:5556 device
orangepi@orangepi5plus:~/redroid$ scrcpy -s localhost:5556 INFO: scrcpy 1.12.1 https://github.com/Genymobile/scrcpy /usr/share/scrcpy/scrcpy-server: 1 fil...shed. 8.6 MB/s (24773 bytes in 0.003s) libGL error: failed to authenticate magic 2 libGL error: failed to load driver: rockchip INFO: Initial texture: 720x1280 [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:178) at com.genymobile.scrcpy.ScreenEncoder.streamScreen(ScreenEncoder.java:70) at com.genymobile.scrcpy.Server.scrcpy(Server.java:34) at com.genymobile.scrcpy.Server.main(Server.java:163) 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) ... 6 more Caused by: java.lang.IllegalArgumentException: displayToken must not be null at android.view.SurfaceControl$Transaction.setDisplaySurface(SurfaceControl.java:3145) at android.view.SurfaceControl.setDisplaySurface(SurfaceControl.java:2214) ... 8 more WARN: Device disconnected orangepi@orangepi5plus:~/redroid$ cd .. orangepi@orangepi5plus:~$ scrcpy -s localhost:5556 INFO: scrcpy 1.12.1 https://github.com/Genymobile/scrcpy /usr/share/scrcpy/scrcpy-server: 1 fil...shed. 7.8 MB/s (24773 bytes in 0.003s) libGL error: failed to authenticate magic 2 libGL error: failed to load driver: rockchip INFO: Initial texture: 720x1280 [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:178) at com.genymobile.scrcpy.ScreenEncoder.streamScreen(ScreenEncoder.java:70) at com.genymobile.scrcpy.Server.scrcpy(Server.java:34) at com.genymobile.scrcpy.Server.main(Server.java:163) 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 WARN: Device disconnected at java.lang.reflect.Method.invoke(Native Method) at com.genymobile.scrcpy.wrappers.SurfaceControl.setDisplaySurface(SurfaceControl.java:73) ... 6 more Caused by: java.lang.IllegalArgumentException: displayToken must not be null at android.view.SurfaceControl$Transaction.setDisplaySurface(SurfaceControl.java:3145) at android.view.SurfaceControl.setDisplaySurface(SurfaceControl.java:2214) ... 8 more