scrcpy icon indicating copy to clipboard operation
scrcpy copied to clipboard

disable-screensaver does not work

Open movinator opened this issue 1 year ago • 2 comments

  • [X] I have read the FAQ.
  • [X] I have searched in existing issues.

Environment

  • OS: Debian bookworm
  • scrcpy version: 2.3.1
  • installation method: manual build
  • device model: SM_G736B
  • Android version: 13

Describe the bug I run srccpy with -S --disable-screensaver --tcpip=... I use several virtual screens and scrcpy runs on one virtual screen - I work for a while on another virtual screen and when I come back to look at the phone, scrcpy shows a black window which is unresponsive. Phone is unresponsive too. So I need to terminate scrcpy, unlock the phone and restart scrcpy again.

While I was writing this note, scrcpy turned black while I'm writing at the same virtual screen. So virtual screen can't be the reason.

scrcpy 2.3.1 <https://github.com/Genymobile/scrcpy>
INFO: Connecting to 123.123.123.123:5555...
INFO: Connected to 123.123.123.123:5555
/usr/local/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 4.6 MB/s (66007 bytes in 0.014s)
[server] INFO: Device: [samsung] samsung SM-G736B (Android 13)
INFO: Renderer: opengl
INFO: OpenGL version: 4.6.0 NVIDIA 525.147.05
INFO: Trilinear filtering enabled
INFO: Texture: 1080x2408
[server] INFO: Device screen turned off

movinator avatar Jan 29 '24 18:01 movinator

disable-screensaver is for the host, not for the phone

AJolly avatar May 08 '24 23:05 AJolly