Skip to content

-S option make input very slow and lag #5949

@eret9616

Description

@eret9616

I add -S option to scrcpy command to turn screen off, the input become very slow and unusable , its ok if im not use this option , any ideas?

I notice error messaging the mach port for IMKCFRunLoopWakeUpReliable log when i use -S option

➜  git:(master) scrcpy -KSw --window-borderless


scrcpy 3.1 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO:     -->   (usb)                 device  PGZ110
/opt/homebrew/Cellar/scrcpy/3.1/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 151.5 MB/s (90640 bytes in 0.001s)
[server] INFO: Device: [OnePlus] OnePlus PGZ110 (Android 14)
INFO: Renderer: metal
INFO: Texture: 1080x2408
[server] INFO: Device display turned off
2025-03-24 15:54:17.529 scrcpy[10191:45785228] +[IMKClient subclass]: chose IMKClient_Modern
2025-03-24 15:54:17.529 scrcpy[10191:45785228] +[IMKInputSession subclass]: chose IMKInputSession_Modern
2025-03-24 15:54:32.987 scrcpy[10191:45785228] error messaging the mach port for IMKCFRunLoopWakeUpReliable



➜  aigc-content-center git:(master) scrcpy -Kw --window-borderless


scrcpy 3.1 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO:     -->   (usb)               device  PGZ110
/opt/homebrew/Cellar/scrcpy/3.1/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 421.0 MB/s (90640 bytes in 0.000s)
[server] INFO: Device: [OnePlus] OnePlus PGZ110 (Android 14)
INFO: Renderer: metal
INFO: Texture: 1080x2408
2025-03-24 15:55:36.085 scrcpy[10817:45789969] +[IMKClient subclass]: chose IMKClient_Modern
2025-03-24 15:55:36.085 scrcpy[10817:45789969] +[IMKInputSession subclass]: chose IMKInputSession_Modern

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions