scrcpy: Slow Connection

  • [y] I have read the FAQ.
  • [y] I have searched in existing issues. both don’t help

Environment

  • OS: Windows 10
  • scrcpy version: ScrCpy 1.21
  • installation method: Windows release via zip file
  • device model: Xiaomi Redmi Note 7
  • Android version: Android 10 / MIUI 12

Describe the bug Getting slow connection to my phone. Sometimes it goes to 41Mbps, then slows down to a crawl. Other times, I get 0.6/0.7Mbps and doesn’t speed up. Read in these forums that it’s because of WiFi. If it’s because of WiFi, why the f*** do we need the cable for other than keep it connected? I don’t get frameskips in the console, but it’s clear the viewer is skipping frames. Also, I’m running it at max resolution my phone supports. I know the speed problem isn’t PC performance since SCRCPY barely puts a dent on performance. CPU use with it is barely 11%. Also, I have a very powerful router with 5Ghz capacity and the phone is close to it. Console logs follows below. Despite the “reported” speed, it’s pretty slow.

scrcpy 1.21 <https://github.com/Genymobile/scrcpy>
C:\Apps\SCRCPY\scrcpy-server: 1 file pushed, 0 skipped. 41.8 MB/s (40067 bytes in 0.001s)
[server] INFO: Device: Xiaomi Redmi Note 7 (Android 10)
INFO: Renderer: direct3d
INFO: Initial texture: 1080x2336

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

About this issue

Most upvoted comments

just in case anyone else stumbles across this post as I did, I was having very similar problems until I killed the adb server and restarted with an updated version of adb

If you record the video (scrcpy --record file.mp4), then play the file, is it laggy?

I don’t get frameskips in the console, but it’s clear the viewer is skipping frames

What is the framerate in the console? (copy few lines of the output of scrcpy --print-fps)

If you reduce the resolution (scrcpy -m1024), is it better?

If you reduce the bitrate (scrcpy -b2M), is it better?

Over USB, is it better?