scrcpy icon indicating copy to clipboard operation
scrcpy copied to clipboard

Scrcpy laggy as hell (Fedora - 39 / USB Connection)

Open batuhantrkgl opened this issue 2 years ago • 5 comments

Can't say anthing, just installed it and tried to use and uhh, its like 3 frames per minute.. any help?

batuhantrkgl avatar Dec 23 '23 12:12 batuhantrkgl

Is your physical screen broken (or disconnected)?

If so, use scrcpy --turn-screen-off.

rom1v avatar Dec 23 '23 14:12 rom1v

Is your physical screen broken (or disconnected)?

If so, use scrcpy --turn-screen-off.

It worked! thanks..

batuhantrkgl avatar Dec 24 '23 07:12 batuhantrkgl

Weird, it won't work now …

batuhantrkgl avatar Feb 16 '24 23:02 batuhantrkgl

What's the output in the console?

rom1v avatar Feb 17 '24 06:02 rom1v

What's the output in the console? image

Microsoft Windows [Version 10.0.22631.2361]
(c) Microsoft Corporation. All rights reserved.

C:\Users\Batuhantrkgl\Downloads\scrcpy-win64-v2.3.1>scrcpy.exe --turn-screen-off --no-audio
scrcpy 2.3.1 <https://github.com/Genymobile/scrcpy>
* daemon not running; starting now at tcp:5037
* daemon started successfully
INFO: ADB device found:
INFO:     -->   (usb)      5200922c5a8b1597            device  SM_J730F
C:\Users\Batuhantrkgl\Downloads\scrcpy-win64-v2.3.1\scrcpy... file pushed, 0 skipped. 42.6 MB/s (66007 bytes in 0.001s)
[server] INFO: Device: [samsung] samsung SM-J730F (Android 10)
INFO: Renderer: direct3d
INFO: Texture: 1080x1920
[server] INFO: Device screen turned off

batuhantrkgl avatar Feb 17 '24 08:02 batuhantrkgl

yo @rom1v, it's the same problem again. --record=file.mp4 is same as what i see.

https://github.com/user-attachments/assets/a5ad8afe-08eb-4a8c-9e43-000052e1149b

batuhantrkgl avatar Jul 25 '24 19:07 batuhantrkgl

So the problem is on the capture side (on the device).

If your device screen is broken/disconnected, turning the screen off can help but not necessarily.

You could try with another encoder but if the system does not produce new frames it probably won't help anyway. https://github.com/Genymobile/scrcpy/blob/master/doc/video.md#encoder

rom1v avatar Jul 25 '24 21:07 rom1v