-
-
Notifications
You must be signed in to change notification settings - Fork 11k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slow Connection #3064
Comments
If you record the video (
What is the framerate in the console? (copy few lines of the output of If you reduce the resolution ( If you reduce the bitrate ( Over USB, is it better? |
Is there in fact a way to change it to pure USB instead of going through WiFi? |
By default, it's over USB. You need explicit actions to connect via wifi. https://github.com/Genymobile/scrcpy#tcpip-wireless |
Afterburner shows around 45 FPS in an idle menu. |
Issue continues, whenever I scroll the screen, the screen goes pixelized. On a USB 3.0, I expect at least a stable bitrate. |
The bitrate is independant of the connection type. Use a higher bitrate:
|
Is it normal to be laggy on USB 3.0? |
No it's not. Even over wifi it should not be laggy. Here is a demo I did 4 years ago (a very old version): https://www.youtube.com/watch?v=LLpcLB0QlJg
The problem is on the device then.
Is the recorded file laggy? |
Also, does it work better with a lower definition? ( Or with another encoder: https://github.com/Genymobile/scrcpy#encoder |
No, the device plays the game flawlessly, no lag at all. It's a quite new device and works well streaming to TV(no lag compared to SCRCPY). |
That doesn't mean that the hardware encoder on the device is able to encode at the same rate. I asked you to do some tests to locate the source of the problem, but you did not answer. |
Well, it does encode well when streaming to TV. I don't get lag on TV, compared to SCRCPY. |
That's not the tests I asked for. |
How will a screen recording help solve the problem? |
Because of how Capture resolution and encoder selection (other tests that I also asked) might also impact the issue. But if you don't want to track the cause of your problem, continue not to give more information 😕 |
I made the video . It's laggy . So I guess that's a problem with my phone's hardware , right ? |
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 |
This. I also had slow rendering with my M1 and Samsung SM-A525F (Android 13), the adb kill-server and restart worked like a charm. Thanks. :) |
The scrcpy release for Windows is shipped with the latest version of adb. Did you explicitly use another adb? |
I've been running scrcpy for a few years, so adb version |
both don't help
Environment
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.
Please do not post screenshots of your terminal, just post the content as text instead.
The text was updated successfully, but these errors were encountered: