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

Not opening display on Firestick Gen 1 #1916

Open
assasukasse opened this issue Nov 18, 2020 · 8 comments
Open

Not opening display on Firestick Gen 1 #1916

assasukasse opened this issue Nov 18, 2020 · 8 comments

Comments

@assasukasse
Copy link

assasukasse commented Nov 18, 2020

  • scrcpy version: 1.16
  • installation method: snap on Debian 10
  • device model: Amazon Firestick Gen1
  • Android version: 5.1.1

Working fine with an Android 10 mediabox via wifi connection over VPN, not working at all on Amazon Firesticks Gen1 on the same conditions.

adb connect ip
scrcpy -w -b1M -m1024 -s ip:5555
scrcpy -b1M -sip
INFO: scrcpy 1.16 <https://github.com/Genymobile/scrcpy>
/usr/local/share/scrcpy/scrcpy-server:...shed. 0.0 MB/s (33622 bytes in 0.652s)
error: more than one device and emulator
ERROR: "adb reverse" returned with value 1
WARN: 'adb reverse' failed, fallback to 'adb forward'
[server] INFO: Device: Amazon AFTM (Android 5.1.1)
INFO: Renderer: opengl
INFO: OpenGL version: 3.0 Mesa 20.0.8
INFO: Trilinear filtering enabled
INFO: Initial texture: 1920x1080

Here it hangs indefinitely. Nothing happens.
adb shows the connected device and I can adb shell into it.

No idea what else to try..

@rom1v
Copy link
Collaborator

rom1v commented Nov 18, 2020

  1. Check the output of adb logcat when you start scrcpy.
  2. Try with another encoder (Adding new option --encoder-name #1827 (comment))

@assasukasse
Copy link
Author

Thanks for the answer,
Here is the result of adb logcat:

https://pastebin.pl/view/8855c07c

Will try the encoder in a day or two (have to build it and can't do on this machine, so will switch to a windows machine.

@assasukasse
Copy link
Author

Done
sorry for the delay:
https://pastebin.com/pZKYMFTS
https://pastebin.com/LHL7ehSb

First encoder gives an error, second one hangs and nothing happens.

@rom1v
Copy link
Collaborator

rom1v commented Nov 25, 2020

scrcpy -m800

?

@assasukasse
Copy link
Author

assasukasse commented Nov 25, 2020

Tried as well, no luck.
Same error in the first case, second case just hangs.

I mean I tried scrcpy -m800 --encoder 'encoder name' (with both encoders).
I also tried scrcpy -m800 alone (hangs)
scrcpy -m800 -b1M (hangs)
scrcpy -m800 -b1M --encoder 'xxxx' (both encoders).

@Crystal-cbm
Copy link

I'm having the same issue - am on V1.17 have tried right down to v1.10 but connecting to Firestick 1st gen just hangs - I can connect happily to all manner of other devices its just the 1st Gen Firestick (Firestick 4k is fine).

Have tried -m800 and also reducing Bitrate
Both Encoders:
scrcpy --encoder-name 'OMX.brcm.video.hw.encoder'
scrcpy --encoder-name 'OMX.google.h264.encoder'

It only ever gets to:

INFO: scrcpy 1.17 https://github.com/Genymobile/scrcpy
C:\Users\BM\Desktop\scrcpy-win64-v1.17\scrcpy-server...1 file pushed, 0 skipped. 8.4 MB/s (34930 bytes in 0.004s)
adb.exe: error: more than one device and emulator
ERROR: "adb reverse" returned with value 1
WARN: 'adb reverse' failed, fallback to 'adb forward'
27183
[server] INFO: Device: Amazon AFTM (Android 5.1.1)
INFO: Renderer: direct3d
INFO: Initial texture: 1920x1080

And then just hangs..... it needs a Ctrl-C to kill it

@ManuLinares
Copy link

scrcpy -V debug --force-adb-forward 

INFO: scrcpy 1.19 <https://github.com/Genymobile/scrcpy>
DEBUG: Using server: /usr/share/scrcpy/scrcpy-server
/usr/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 205.7 MB/s (37330 bytes in 0.000s)
27183
DEBUG: Screensaver enabled
DEBUG: Remaining connection attempts: 100
DEBUG: Remaining connection attempts: 99
DEBUG: Remaining connection attempts: 98
DEBUG: Remaining connection attempts: 97
DEBUG: Remaining connection attempts: 96
DEBUG: Remaining connection attempts: 95
DEBUG: Remaining connection attempts: 94
DEBUG: Remaining connection attempts: 93
DEBUG: Remaining connection attempts: 92
DEBUG: Remaining connection attempts: 91
[server] INFO: Device: Amazon AFTM (Android 5.1.1)
DEBUG: Remaining connection attempts: 90
DEBUG: Starting controller thread
DEBUG: Starting receiver thread
INFO: Renderer: opengl
INFO: OpenGL version: 3.0 Mesa 21.2.1
INFO: Trilinear filtering enabled
INFO: Initial texture: 1920x1080
DEBUG: Starting stream thread

It hangs for me as well. Firestick v1

@ManuLinares
Copy link

No news on this?

Is there no way to use scrcpy with Firestick v1?

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

4 participants