Genymobile / Genymobile/scrcpy

WARNING: linker: libamffmpeg.so has text relocations.

Open
#3,585 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
150k
Forks
13.8k
Avg merge
4d 13h
Merged PRs (30d)
2

Description

i cant connect my tv box.

```
C:\scrcpy-win64-v1.24>adb connect 192.168.254.11:9999
* daemon not running; starting now at tcp:5037
* daemon started successfully
connected to 192.168.254.11:9999

C:\scrcpy-win64-v1.24>scrcpy.exe
scrcpy 1.24
C:\scrcpy-win64-v1.24\scrcpy-server: 1 file pushed, 0 skipped. 10.6 MB/s (41159 bytes in 0.004s)
[server] INFO: Device: MBX m8s+ (Android 5.1.1)
WARNING: linker: libamffmpeg.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
INFO: Renderer: direct3d
INFO: Initial texture: 1920x1080
```

its stuck this code if i run "scrcpy-console.bat" manually It connects to the tvbox screen, but when I press any key, the tvbox resets and gives the following error

```
C:\scrcpy-win64-v1.24>scrcpy.exe
scrcpy 1.24
C:\scrcpy-win64-v1.24\scrcpy-server: 1 file pushed, 0 skipped. 67.3 MB/s (41159 bytes in 0.001s)
[server] INFO: Device: MBX m8s+ (Android 5.1.1)
WARNING: linker: libamffmpeg.so has text relocations. This is wasting memory and prevents security hardening. Please fix.
INFO: Renderer: direct3d
INFO: Initial texture: 1920x1080
[server] ERROR: Encoding error: java.lang.IllegalStateException: null
[server] INFO: Retrying with -m1600...
WARN: Device disconnected
Aborted
```

what is the solution for this please help me.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the report using adb connect to the MBX m8s+ at Android 5.1.1, then launch scrcpy.exe or scrcpy-console.bat and observe the encoding error and device disconnect. Determine whether the failure is specific to this device's encoder; done means the cause is identified and a confirmed fix or documented limitation is available.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
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.