Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
113.17k stars 10.8k forks source link

scrcpy issue? #5454

Open MarioLovesCake opened 3 weeks ago

MarioLovesCake commented 3 weeks ago

Im not sure if this is the right place to write this but idk if this is a scrcpy problem or a Pokemon TCG Pocket problem. Whenever I share my phone screen to the game on scrcpy, the game has flashing and visual lagging problems. I would be playing and then the screen starts to flash back and forth a frame and I would be forced to close the game for this issue to be fixed. This problem doesn't happen when I am sharing on discord or playing the game normally.

rom1v commented 3 weeks ago

Does it happen with another encoder or a lower resolution?

MarioLovesCake commented 3 weeks ago

sorry but i don't know how to do that.

rom1v commented 3 weeks ago

Read: https://github.com/Genymobile/scrcpy/blob/master/doc/windows.md#run

Execute scrcpy -m1024 to run with a lower resolution (at most 1024).

Read this to select another encoder: https://github.com/Genymobile/scrcpy/blob/master/doc/video.md#encoder (remove the quotes in the command line on Windows: ec602a0334357982d75b374f7ac753c5bef1216a)

GalloTachito commented 2 weeks ago

Hi, this is also an issue I encounter when I mirror while playing Pokémon TCG Pocket. I've tried using lower resolutions and bitrates, but the problem persists. This doesn’t happen with other demanding games like CoD Mobile or Dragon Ball Legends.

For now, the only solution I found was to turn off the device screen using the shortcut mod+ o.

Could it be an optimization issue with the game?