Skip to content
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

Frames capped at 20fps/12fps #3656

Open
sin4ch opened this issue Jan 5, 2023 · 6 comments
Open

Frames capped at 20fps/12fps #3656

sin4ch opened this issue Jan 5, 2023 · 6 comments

Comments

@sin4ch
Copy link

sin4ch commented Jan 5, 2023

Hi

I usually have this problem where, after sometime of running the program smoothly, i run into this bug where the frames either cap at 20fps or 12fps. It'll only go lower and it'll be so choppy it's freaking annoying. My phone is fast (Galaxy S20FE 5G) and my laptop used to run it smoothly. It even overshot sometimes, above 60fps causing lag which is actually quite ironic (not trying to be rude here). I really don't know what could cause this as it has been running fine and just suddenly it just caps.

Sorry for how I'm sounding. By the way this program is a lifesaver. I've literally used it on all my phones, even friends phones. My friends have asked me how I found it. It's a real game changer. Thanks a lot!

@sin4ch sin4ch changed the title Frames capped at 20fps12fps Frames capped at 20fps/12fps Jan 5, 2023
@rom1v
Copy link
Collaborator

rom1v commented Jan 5, 2023

Is the framerate reduced only in scrcpy, or does the physical phone also lag?

Maybe some overheat? Or an encoder bug, you could try with another encoder.

@sin4ch
Copy link
Author

sin4ch commented Jan 5, 2023 via email

@rom1v
Copy link
Collaborator

rom1v commented Jan 5, 2023

The thing is I've been using it with my broken screen

Oh, that's important. Try with --turn-screen-off.

See #1285 (comment)

@sin4ch
Copy link
Author

sin4ch commented Jan 5, 2023 via email

@rom1v
Copy link
Collaborator

rom1v commented Jan 5, 2023

I also wanted to cap at 60

scrcpy --max-fps=60

cause the texts look quite blurry

Could you post a screenshot? What exact parameters do you pass to scrcpy?

can I enable some kind of aliasing

If you run with OpenGL (on Linux typically), mipmapping is enabled, you can disable with:

scrcpy --no-mipmaps

@sin4ch
Copy link
Author

sin4ch commented Jan 5, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants