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

PC screen skipping FPS but fps monitor in cmd shows 58-60 fps consistent #5091

Open
spideyyy01 opened this issue Jul 15, 2024 · 6 comments
Open

Comments

@spideyyy01
Copy link

spideyyy01 commented Jul 15, 2024

Environment

OS: [Windows10]
scrcpy version: [2.5]
installation method: [e.g. manual build]
device model: Poco F6/Redmi Turbo 3
Android version: [14]

Describe the bug
Hi. Just bought a new phone, the Poco F6/ Redmi Turbo 3, which has SD 8s Gen 3. I tried casting my games using scrcpy 2.5 but experienced frame skipping in my PC screen. Before buying this phone, I use Samsung A52s which runs smoothly with scrcpy 2.0. I tried everything, even lowering bitrate and resolution but still, output is not as smooth as my Samsung A52s which is kind of odd because SD 8s Gen 3's supposed to be more capable than my previous phone.

Is this due to the chipset being new or poco/redmi phones are not capable of smooth casting in scrcpy? Or maybe I'm doing something wrong with my settings.

Please help. Thanks

@rom1v
Copy link
Collaborator

rom1v commented Jul 15, 2024

If you record (scrcpy --record=file.mp4), is the resulting file "smooth"?

@spideyyy01
Copy link
Author

I tried recording and it's smoother than what I see on scrcpy screencast, finally!!!! I'm having hopes again now :') If you don't mind, what could be the problem and solution for this?

@rom1v
Copy link
Collaborator

rom1v commented Jul 15, 2024

Is it smoother if you add buffering (at the cost of latency)?

scrcpy --display-buffer=50

https://github.com/Genymobile/scrcpy/blob/master/doc/video.md#buffering

@spideyyy01
Copy link
Author

I tried adding display and audio buffer by 75ms and it's buttery smooth now! I also tried applying v4l2 buffer but it seems to not run (I'm also not familiar what is this for). Thank you so much!!

@rom1v
Copy link
Collaborator

rom1v commented Jul 15, 2024

I tried adding display and audio buffer by 75ms and it's buttery smooth now!

Ok, so the source of the non-smoothness was encoder/network/decoder jitter. Do you use scrcpy over USB or wifi?

@spideyyy01
Copy link
Author

was using it through USB

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