Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
111.62k stars 10.69k forks source link

scrcpy on Asus TF101 running Android 6.0.1 #1248

Open marcelo-queiroz opened 4 years ago

marcelo-queiroz commented 4 years ago

Hi there!

I am trying to get my old Asus EeePC (TF101) to work with scrcpy on Ubuntu 18.04. The tablet is currently running KatKiss Marshmallow 6.0.1 ROM with USB Debugging on: $ adb devices List of devices attached 037001494120f517 device

When I run scrcpy I get: $ scrcpy INFO: scrcpy 1.12 https://github.com/Genymobile/scrcpy /usr/local/share/scrcpy/scrcpy-server: 1 file pushed. 1.1 MB/s (26196 bytes in 0.022s) INFO: Initial texture: 1280x800 but no windows open. My scrcpy installation is working perfectly with my Samsung S9, so I guess the problem is elsewhere. The output of "adb logcat -d" (attached logcat.txt) has some weird outputs related to the Nvidia.h264.encoder: 03-28 15:17:40.792 3848 3865 I OMXClient: Using client-side OMX mux. 03-28 15:17:40.797 111 1270 E OMXNodeInstance: setParameter(2b:Nvidia.h264.encoder, OMX.google.android.index.storeMetaDataInBuffers(0x7fc00007): Output:1 en=0 type=1) ERROR: BadParameter(0x80001005) 03-28 15:17:40.797 3848 3865 E ACodec : [OMX.Nvidia.h264.encoder] storeMetaDataInBuffers (output) failed w/ err -2147483648 03-28 15:17:40.798 3848 3865 W ACodec : do not know color format 0x7f000789 = 2130708361 03-28 15:17:40.799 3848 3865 I ACodec : setupVideoEncoder succeeded 03-28 15:17:40.799 111 1270 E OMXNodeInstance: setParameter(2b:Nvidia.h264.encoder, OMX.google.android.index.enableAndroidNativeBuffers(0x7fc00004): Output:1 en=0) ERROR: BadParameter(0x80001005) 03-28 15:17:40.800 3848 3865 W ACodec : do not know color format 0x7f000789 = 2130708361 03-28 15:17:40.801 111 2380 E OMXNodeInstance: getParameter(2b:Nvidia.h264.encoder, ParamConsumerUsageBits(0x6f800004)) ERROR: NotImplemented(0x80001006)

Any ideas on how to circumvent this?

Thanks in advance,

Marcelo

Faffu commented 4 years ago

Hi, I have the same problem and I think it is a problem with the Nvidia Codec as you are saying because I tried installing different version of the Os but I still don't have any output window