Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
112.2k stars 10.73k forks source link

Framerate drops after a few seconds #3017

Open lologannus opened 2 years ago

lologannus commented 2 years ago

Environment

The framerate drops to ~5fps after a few seconds or a few minutes after starting scrcpy. It was not happening before. I tried to reinstalled scrcpy and sndcpy because i first thought sncpy could be the issue, it did nothing, i had to hard reset my phone (because the developper options turned it into a brick after trying some things) and it changed nothing too. I still have the issue and i've tried everything I could and I have not find how to fix it. It may be coming from my pc but I have no idea what it can be.

rom1v commented 2 years ago

If you record:

scrcpy --record file.mp4

Is the recorded file also at 5fps?

If yes, it's the device.

lologannus commented 2 years ago

I find out it was streamlabs that was making scrcpy lagging while trying to record the mirroring, i deleted the window capture source and the framerate stopped lagging. Its still working fine now even if i add scrcpy again in streamlabs. I don't know what happened.