Skip to content

Unable to use --no-display --turn-screen-off at the same time #2426

@mukheshpugal

Description

@mukheshpugal
  • I have read the FAQ.
  • I have searched in existing issues.

Environment

  • OS: Ubuntu 18.04
  • scrcpy version: 1.18
  • installation method: linux-brew
  • device model: ONEPLUS A6003
  • Android version: 11

Describe the bug

I'm trying to stream the video to a v4l2 loopback device. Everything seems to work fine except when using the options --no-display --turn-screen-off at the same. There is no windowed display as expected, however the phone screen does not get turned off.

On using the options one at a time everything works as expected.

I've tried it with another device (PANASONIC ELUGA Turbo (Android 5.1)). Still the same issue persists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions