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

VirtualDisplay sometimes does not refresh #5917

Open
Mr-JingShi opened this issue Mar 13, 2025 · 2 comments
Open

VirtualDisplay sometimes does not refresh #5917

Mr-JingShi opened this issue Mar 13, 2025 · 2 comments

Comments

@Mr-JingShi
Copy link

Mr-JingShi commented Mar 13, 2025

Environment

  • OS: macOS
  • Scrcpy version: 3.1
  • Installation method: brew
  • Device model: AOSP on blueline
  • Android version: 11

Describe the bug

  1. I start scrcpy when the screen is locked
scrcpy --new-display

Then I unlock the screen, the virtualdisplay screen remained unchanged

Image

  1. start scrcpy when the screen is unlocked
scrcpy --new-display --start-app=com.android.deskclock

Then I closed the deskclock app through recent activities, the virtualdisplay screen remained unchanged

Image

  1. start scrcpy when the screen is unlocked
scrcpy --new-display --start-app=com.android.deskclock

then I start the calendar app via adb

am start -n com.android.calendar/com.android.calendar.AllInOneActivity display 52

Image

VirtualDisplay can refresh in real time when closing the top application

@rom1v
Copy link
Collaborator

rom1v commented Mar 13, 2025

Yes, on some devices (maybe even AOSP), virtual displays do not work when the main screen is locked.

(It's not related to I-frames though.)

@Mr-JingShi Mr-JingShi changed the title VirtualDisplay sometimes does not refresh I-frames VirtualDisplay sometimes does not refresh Mar 13, 2025
@Mr-JingShi
Copy link
Author

Yes, on some devices (maybe even AOSP), virtual displays do not work when the main screen is locked.

(It's not related to I-frames though.)

Thank you for your reply, I revised the problem description.

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