scrcpy-mobile icon indicating copy to clipboard operation
scrcpy-mobile copied to clipboard

random screen frozen issue after updating to 2.3 version

Open joew8 opened this issue 11 months ago • 3 comments

Hi, after updating to version 2.3, the app occasionally fails to display the controlled screen even after a successful connection, whereas before the update, everything worked fine. Touch controls seem to work normally after connecting, but the screen remains stuck on the app's main page, preventing me from seeing the controlled screen.

I use iPhone in iOS 16.1 to control an android simulator in android 12.

Here's the log detail.

` 2024-03-06 11:23:54.578 scrcpy-ios[3512:654293] Unbalanced calls to begin/end appearance transitions for <UIViewController: 0x10260c800>. 2024-03-06 11:23:55.853 scrcpy-ios[3512:654293] -> Not supported: show-nav-buttons 2024-03-06 11:23:57.612 scrcpy-ios[3512:654297] Start ADB Server: YES 2024-03-06 11:23:57.616 scrcpy-ios[3512:654297] adb disconnect: disconnected everything 2024-03-06 11:24:04.131 scrcpy-ios[3512:654305] ADB Status Updated: xxx.xxx.xxx.xxx:5555 - offline 2024-03-06 11:24:04.147 scrcpy-ios[3512:654305] ADB Status Updated: xxx.xxx.xxx.xxx:5555 - device 2024-03-06 11:24:04.147 scrcpy-ios[3512:654305] Ignore this status update, because already changed before 2024-03-06 11:24:04.148 scrcpy-ios[3512:654297] adb connnect code: 1, message: connected to xxx.xxx.xxx.xxx:5555 2024-03-06 11:24:04.149 scrcpy-ios[3512:654297] adb get-serialno: xxx.xxx.xxx.xxx:5555 socket tcp:15037 launch_server pipe_write: 3 launch_server pipe_read: 4 launch_server_main: 4 adb connect status changed: xxx.xxx.xxx.xxx:5555 -> offline adb connect status changed: xxx.xxx.xxx.xxx:5555 -> device adb connect status changed: xxx.xxx.xxx.xxx:5555 -> device scrcpy 2.3 https://github.com/Genymobile/scrcpy

thread: pid=6721, name=ADB-6721 started. adb start-server pid=6721, success=true result:

check thread 0x0 status 0 cleaning 1/1 threads thread count after clean: 0 thread: pid=9664, name=ADB-9664 started. adb devices -l pid=9664, success=true result: List of devices attached xxx.xxx.xxx.xxx:5555 device product:z3qksx model:SM_G988N device:z3q transport_id:1

INFO: ADB device found: INFO: --> (tcpip) xxx.xxx.xxx.xxx:5555 device SM_G988N DEBUG: Device serial: xxx.xxx.xxx.xxx:5555

check thread 0x0 status 0 cleaning 1/1 threads thread count after clean: 0 thread: pid=9701, name=ADB-9701 started. adb -s xxx.xxx.xxx.xxx:5555 push scrcpy-server /data/local/tmp/scrcpy-server.jar pid=9701, success=true result: scrcpy-server: 1 file pushed, 0 skipped. 14.4 MB/s (65963 bytes in 0.004s)

wait pid=9701, result=true check thread 0x0 status 0 cleaning 1/1 threads thread count after clean: 0 thread: pid=4486, name=ADB-4486 started. adb -s xxx.xxx.xxx.xxx:5555 reverse localabstract:scrcpy_4e01c7fe tcp:27183 pid=4486, success=true result:

check thread 0x0 status 0 cleaning 1/1 threads thread count after clean: 0 thread: pid=6468, name=ADB-6468 started. adb -s xxx.xxx.xxx.xxx:5555 shell CLASSPATH=/data/local/tmp/scrcpy-server.jar app_process / com.genymobile.scrcpy.Server 2.3 scid=4e01c7fe log_level=debug video_bit_rate=4 audio=false audio_bit_rate=128000 max_fps=60 scrcpy-server app_process started check thread 0x170232788 status 1 cleaning 0/1 threads thread count after clean: 1 thread: pid=4282, name=ADB-4282 started. adb -s xxx.xxx.xxx.xxx:5555 reverse --remove localabstract:scrcpy_4e01c7fe 2024-03-06 11:24:04.600 scrcpy-ios[3512:654395] -> Send command to trigger video restart I frame 2024-03-06 11:24:04.600 scrcpy-ios[3512:654395] -> Syncing clipboard 2024-03-06 11:24:04.600 scrcpy-ios[3512:654395] CLIPBOARD EVENT: Post Success

  • daemon not running; starting now at tcp:15037 scrcpy-ios I 03-06 17:23:54 3512 654305 auth.cpp:417] adb_auth_init... scrcpy-ios I 03-06 17:23:54 3512 654305 auth.cpp:220] User key '/var/mobile/Containers/Data/Application/7038575A-651A-4FE1-8C53-8799AC0198F0/Documents/.android/adbkey' does not exist... scrcpy-ios I 03-06 17:23:54 3512 654305 auth.cpp:64] generate_key(/var/mobile/Containers/Data/Application/7038575A-651A-4FE1-8C53-8799AC0198F0/Documents/.android/adbkey)... scrcpy-ios I 03-06 17:23:54 3512 654305 auth.cpp:152] loaded new key from '/var/mobile/Containers/Data/Application/7038575A-651A-4FE1-8C53-8799AC0198F0/Documents/.android/adbkey' with fingerprint 2F94FDC6CA47760D76FDB86C731F1A3F5EB92939E49EF7CD9656816792DE289F
  • daemon started successfully scrcpy-ios I 03-06 17:24:04 3512 654393 transport.cpp:333] xxx.xxx.xxx.xxx:5555: read thread spawning scrcpy-ios I 03-06 17:24:04 3512 654394 transport.cpp:305] xxx.xxx.xxx.xxx:5555: write thread spawning scrcpy-ios I 03-06 17:24:04 3512 654305 adb.cpp:168] xxx.xxx.xxx.xxx:5555: already offline ERROR: Could not get local file path, using scrcpy-server from current directory ERROR: Could not get icon path WARN: Could not load icon ERROR: [FFmpeg] Failed setup for format videotoolbox_vld: hwaccel initialisation returned error.

pid=4282, success=true result: [server] DEBUG: Using video encoder: 'OMX.google.h264.encoder'

DEBUG: Server connected DEBUG: Starting controller thread DEBUG: Starting receiver thread INFO: Renderer: metal DEBUG: Trilinear filtering disabled (not an OpenGL renderer DEBUG: Demuxer 'video': starting thread INFO: Texture: 536x960 DEBUG: Switched to fullscreen mode INFO: FPS counter started 2024-03-06 11:24:05.636 scrcpy-ios[3512:654293] self.view.frame = {{0, 0}, {428, 926}} 2024-03-06 11:24:13.960 scrcpy-ios[3512:654293] Ignored dismiss, because of shouldAlwaysShowNavButtons has set to YES 2024-03-06 11:24:14.160 scrcpy-ios[3512:654293] Ignored dismiss, because of shouldAlwaysShowNavButtons has set to YES 2024-03-06 11:24:14.328 scrcpy-ios[3512:654293] Ignored dismiss, because of shouldAlwaysShowNavButtons has set to YES 2024-03-06 11:24:14.511 scrcpy-ios[3512:654293] Ignored dismiss, because of shouldAlwaysShowNavButtons has set to YES 2024-03-06 11:24:14.661 scrcpy-ios[3512:654293] Ignored dismiss, because of shouldAlwaysShowNavButtons has set to YES 2024-03-06 11:24:14.845 scrcpy-ios[3512:654293] Ignored dismiss, because of shouldAlwaysShowNavButtons has set to YES 2024-03-06 11:24:15.027 scrcpy-ios[3512:654293] Ignored dismiss, because of shouldAlwaysShowNavButtons has set to YES 2024-03-06 11:24:15.194 scrcpy-ios[3512:654293] Ignored dismiss, because of shouldAlwaysShowNavButtons has set to YES 2024-03-06 11:24:15.378 scrcpy-ios[3512:654293] Ignored dismiss, because of shouldAlwaysShowNavButtons has set to YES 2024-03-06 11:24:15.528 scrcpy-ios[3512:654293] Ignored dismiss, because of shouldAlwaysShowNavButtons has set to YES 2024-03-06 11:24:15.694 scrcpy-ios[3512:654293] Ignored dismiss, because of shouldAlwaysShowNavButtons has set to YES 2024-03-06 11:24:15.861 scrcpy-ios[3512:654293] Ignored dismiss, because of shouldAlwaysShowNavButtons has set to YES 2024-03-06 11:24:16.044 scrcpy-ios[3512:654293] Ignored dismiss, because of shouldAlwaysShowNavButtons has set to YES 2024-03-06 11:24:18.558 scrcpy-ios[3515:654573] Unbalanced calls to begin/end appearance transitions for <UIViewController: 0x1115094d0>. 2024-03-06 11:24:19.424 scrcpy-ios[3515:654573] Show More Menu 2024-03-06 11:24:20.948 scrcpy-ios[3515:654573] LogPath: /var/mobile/Containers/Data/Application/7038575A-651A-4FE1-8C53-8799AC0198F0/Documents/[email protected], Size: 6737 2024-03-06 11:24:20.951 scrcpy-ios[3515:654573] LogPath: /var/mobile/Containers/Data/Application/7038575A-651A-4FE1-8C53-8799AC0198F0/Documents/[email protected], Size: 6912 2024-03-06 11:24:21.553 scrcpy-ios[3515:654582] Start ADB Server: YES 2024-03-06 11:24:52.127 scrcpy-ios[3515:654573] Keyboard Rect: {{0, 625}, {428, 301}} 2024-03-06 11:24:52.127 scrcpy-ios[3515:654573] Text Rect: {{0, 0}, {0, 0}} 2024-03-06 11:24:52.127 scrcpy-ios[3515:654573] Text Offset: -625 2024-03-06 11:24:52.141 scrcpy-ios[3515:654573] Keyboard Rect: {{0, 580}, {428, 346}} 2024-03-06 11:24:52.141 scrcpy-ios[3515:654573] Text Rect: {{0, 0}, {0, 0}} 2024-03-06 11:24:52.141 scrcpy-ios[3515:654573] Text Offset: -580 2024-03-06 11:25:54.557 scrcpy-ios[3515:654573] Keyboard Rect: {{0, 580}, {428, 346}} 2024-03-06 11:25:54.557 scrcpy-ios[3515:654573] Text Rect: {{0, 0}, {0, 0}} 2024-03-06 11:25:54.557 scrcpy-ios[3515:654573] Text Offset: -580 2024-03-06 11:25:54.559 scrcpy-ios[3515:654573] Keyboard Rect: {{0, 580}, {428, 346}} 2024-03-06 11:25:54.559 scrcpy-ios[3515:654573] Text Rect: {{0, 0}, {0, 0}} 2024-03-06 11:25:54.559 scrcpy-ios[3515:654573] Text Offset: -580 2024-03-06 11:26:09.724 scrcpy-ios[3515:654573] Keyboard Rect: {{0, 580}, {428, 346}} 2024-03-06 11:26:09.724 scrcpy-ios[3515:654573] Text Rect: {{0, 0}, {0, 0}} 2024-03-06 11:26:09.724 scrcpy-ios[3515:654573] Text Offset: -580 2024-03-06 11:26:09.729 scrcpy-ios[3515:654573] Keyboard Rect: {{0, 580}, {428, 346}} 2024-03-06 11:26:09.729 scrcpy-ios[3515:654573] Text Rect: {{0, 0}, {0, 0}} 2024-03-06 11:26:09.729 scrcpy-ios[3515:654573] Text Offset: -580 2024-03-06 11:27:17.939 scrcpy-ios[3521:656109] Unbalanced calls to begin/end appearance transitions for <UIViewController: 0x105b0a970>. 2024-03-06 11:27:19.294 scrcpy-ios[3521:656109] Show More Menu 2024-03-06 11:27:20.704 scrcpy-ios[3521:656109] LogPath: /var/mobile/Containers/Data/Application/7038575A-651A-4FE1-8C53-8799AC0198F0/Documents/[email protected], Size: 8726 2024-03-06 11:27:20.707 scrcpy-ios[3521:656109] LogPath: /var/mobile/Containers/Data/Application/7038575A-651A-4FE1-8C53-8799AC0198F0/Documents/[email protected], Size: 8901 `

joew8 avatar Mar 06 '24 09:03 joew8

一样的问题,iOS 16.1.2版本 连接成功后无画面 但触摸屏幕对应安卓机器也有效果

xushuduo avatar Mar 12 '24 17:03 xushuduo

@joew8 Do you have a video or screen recording that shows the problem? In which previous version it used to work for you without this problem?

plia7 avatar Mar 17 '24 19:03 plia7

Please help to test the newest version on testflight https://testflight.apple.com/join/9ZE6xhRt

Please let me know, if still errors.

wsvn53 avatar Apr 02 '24 00:04 wsvn53