Genymobile / Genymobile/scrcpy

Device screen doesn't show up on pc upon 2nd connection (unless reboot)

Open
#1,503 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
C
Stars
150k
Forks
13.7k
Avg merge
4d 13h
Merged PRs (30d)
2

Description

- [y ] I have read the [FAQ](https://github.com/Genymobile/scrcpy/blob/master/FAQ.md).
- [y ] I have searched in existing [issues](https://github.com/Genymobile/scrcpy/issues).

**Environment**
- OS: Debian
- scrcpy version: 1.12.1
- installation method: apt
- device model: Nouva Edge Z
- Android version: 6.0

**Describe the bug**
Hi bud,when i switch on my device for the first time and run scrcpy,everything works fine.But immediately the device disconnects,running scrcpy(2nd time) doesn't show up/retrieve the device screen unless i reboot the device.
Also,when that happens,facebook,youtube and gallery videos doesn't play when i click on them(dark screen).Unless i reboot device.

On errors, please provide the output of the console (and `adb logcat` if relevant).
```
INFO: scrcpy 1.12.1
/usr/share/scrcpy/scrcpy-server: 1 fil...shed. 3.0 MB/s (24773 bytes in 0.008s)
INFO: Initial texture: 360x640
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the second connection on Debian with scrcpy 1.12.1 and review the console output; use adb logcat if relevant. Compare the first and second launches, including the dark video behavior, and consider the issue resolved when the device screen and videos work again without rebooting the device.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, c
Domain
desktop-dev, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.