Genymobile / Genymobile/scrcpy

Scrcpy not starting

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

Description

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

**Environment**
- OS: Fedora 38
- scrcpy version: 2.1
- installation method: copr repo
- device model: redmi note 8, xiaomi mi 9, samsung s9+
- Android version: 11, 11, 10

**Describe the bug**
A clear and concise description of what the bug is.

On errors, please provide the output of the console (and `adb logcat` if relevant).

```
[n1lby73@localhost ~]$ scrcpy
scrcpy 2.1
xkbcommon: ERROR: couldn't find a Compose file for locale "en_NG.UTF-8" (mapped to "en_NG.UTF-8")
/usr/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 675.6 MB/s (56955 bytes in 0.000s)
[server] INFO: Device: [Xiaomi] xiaomi Redmi Note 8 (Android 11)
INFO: Renderer: opengl
INFO: OpenGL version: 4.6 (Compatibility Profile) Mesa 23.1.3
INFO: Trilinear filtering enabled
WARN: [FFmpeg] libopenh264.so.7: cannot open shared object file: No such file or directory: libopenh264.so.7 is missing, openh264 support will be disabled
ERROR: Demuxer 'video': could not open codec
ERROR: Demuxer error
ERROR: Demuxer 'audio': stream disabled due to connection error
warning: queue 0x565043a36da0 destroyed while proxies still attached:
wl_callback@41 still attached
wl_surface@39 still attached
WARN: Killing the server...
[n1lby73@localhost ~]$

```

Please do not post screenshots of your terminal, just post the content as text instead.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the `scrcpy` command on Fedora 38 with the COPR installation and check the reported `libopenh264.so.7` warning and codec errors. Inspect the package dependencies and the console output; done means scrcpy starts successfully and mirrors the listed Android devices without the demuxer failure.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.